The course is split into two broad areas; computer science, and software engineering
For each session we'll split the room into two groups, one half will do a computer science session, the other a software engineering one
Hi! I'm William Mayor, call me Billy
I'm a Software Engineer, I mostly build websites
I'm running the software engineering side of the course
Software engineering is the discipline and art of creating software
I'm going to take you through the things that I think make for good software engineering
We are also joined by Kyata Chibalabala, and John Aspden
Kyata will be here this evening, he's going to be covering some bioinformatics topics.
John is here today and Sunday, he's going to be talking about the wonderful world of Scheme.
There's a project element to this course, something that you will be working on throughout the week as individuals and in teams
A big part of a Software Engineer's CV is a record of work
Employers really like it if they can see evidence that you know what you're doing
A popular way to provide this evidence is through a blog
Developers write about lots of things:
The communication skills you learn by writing a blog are also really good things to have on your CV
Being to communicate complicated topics well is a fantastic ability that employers will absolutely love
It's not just about employment though, writing a blog makes you part of a huge community of technical people who share ideas and learn new things
The challenge this week is to build your own blog and to start to write posts about computer science and software engineering
Each session that we do this week should teach you something new
After the session you should distil the things you've learned into a blog post
You might want to write posts that explain the topic you've just learned to others
You might want to write a memo to yourself so you can come back in the future
You might want to disagree with the contents of the session
You might write up a scathing review
It's up to you
The goal is that you start this pattern of learning something and writing about it
In order to make things interesting we're going to get into 6 groups
Each group will take a programming language and a web framework that they'll use to create their individual blogs
You'll work as a team to learn and explore your language and framework
You'll work individuall writing up blog posts on your own blog
At the end of the week, you'll present back to the room the things you've learned
The whole room is then going to vote for the language and framework that they think looks the best
If you guys already know one of the programming languages that we've picked you might want to be in that group
Or you might want to branch out and learn something new
It's up to you.
Here are the teams:


They're cookies made into the shape of a salmon, and actually made with salmon, and yes, it's intentional
Year's ago our founder Pat was out on the Market asking people what they wanted on a crisp autumn day. At the market, Pat decided to test out a new idea and it was truly a hit. Everything you could need in salmon and a cookie, a salmon shaped cookie made of salmon.
We are a local farm to table business, why farm our salmon? It leads to healthier salmon and so that it doesn't hurt the wild native salmon population. Part of our proceeds goes towards salmon habitat restoration. You can see more about us and our efforts to promote preservation at Issaquah's very own Salmon Days Festival.
At Salmon Cookies you are a member of our family. As we are a family owned and operated business we take pride in bringing the community together around a warm plate of salmon cookies.
Check out our amazing Merchandise more coming in all the time!


When developing for the web with node.js, python, ruby etc. most of the time our application uses many services (e.g. web server, socket server, REST api...), everytime we are starting to develop we need to initialize each service separately, if we updates one service, we need to restart it, if we want to change the ENV, we need to restart it, if we want it to run forever and run again just after it’s crash, we need to do it manually,
not mentioning the logging overview of our services.. a task which can be very frustrated.
Swamp to the rescue! with Swamp you can do all of the above and lots of more automatically and in a very convenient way! you can still use your favorite services like Grunt and Bower without any problem.


WITNESS LIST Health & Human Services Committee March 18, 2003 -11:00A SB 144 FOR: Gonzales, David Director of Public Affairs (Texas Pharmacy Association), Austin, TX Headrick, Kelly VP for Governmental Relations (American Cancer Society), Austin, TX Registering, but not testifying: For: Barton, Yvonne Associate Director, Legislative Affairs (Texas Medical Association), Austin, TX SB 803 FOR: Hotze, Steven Medical Doctor; Owner, Premier Pharmacy (Self), Katy, TX Luedecke, Monica Exec. VP, Hotze Health & Wellness Center (Premier Pharmacy Inc.), Katy, TX ON: Dodson, Gay Executive Director (Texas State Board of Pharmacy), Austin, TX Gonzales, David Director of Public Affairs (Texas Pharmacy Association), Austin, TX Registering, but not testifying: For: Miller, Lisa Legislative Consultant (Plum Creek Parmaceuticals, Inc.), Amarillo, TX SB 939 FOR: Hotze, Steven Medical Doctor; Owner, Premier Pharmacy (Self), Katy, TX Luedecke, Monica Exec. VP, Hotze Health & Wellness Center (Permier Pharmacy, Inc.), Katy, TX ON: Brimbery, Michael Pharmacist (Self), Austin, TX Gonzales, David Director of Public Affairs (Texas Pharmacy Association), Austin, TX Registering, but not testifying: On: Dodson, Gay Executive Director (Texas State Board of Pharmacy), Austin, TX


This html uses alertUpgrade in plain JS
Use this plugin to show simple alerts in JS with upgraded design
Just include alertUpgrade.js and alertUpgrade.css in your html and use class="alertU" in the element you want to trigger the alert. Also define data-text in the same html element to specify alert text
Click me


Functions
The following functions are available globally.
-
Check for them being identical
Declaration
Swift
public func == (lhs: CoordinateSystem, rhs: CoordinateSystem) -> Bool
Docs (86% documented)
The following functions are available globally.
Check for them being identical
Swift
public func == (lhs: CoordinateSystem, rhs: CoordinateSystem) -> Bool


| 类 | 说明 |
|---|---|
| AggregatorsTestVertex |
Vertex which uses aggrergators.
|
| AggregatorsTestVertex.AggregatorsTestMasterCompute |
Master compute which uses aggregators.
|
| ConnectedComponentsVertex |
Implementation of the HCC algorithm that identifies connected components and
assigns each vertex its "component identifier" (the smallest vertex id
in the component)
The idea behind the algorithm is very simple: propagate the smallest
vertex id along the edges to all vertices of a connected component.
|
| GeneratedVertexReader<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> |
Used by GeneratedVertexInputFormat to read some generated data
|
| IdentityVertex<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> |
User applications can subclass IdentityVertex, which
simply prints the results that have been read for testing IO related
jobs under any inputformat
|
| LongDoubleDoubleTextInputFormat |
Simple text-based
VertexInputFormat for
unweighted graphs with long ids. |
| LongDoubleNullTextInputFormat |
Input format for unweighted graphs with long ids and double vertex values
|
| NormalizingLongDoubleDoubleTextInputFormat |
Simple text-based
VertexInputFormat for
unweighted graphs with long ids. |
| PageRankVertex |
The PageRank algorithm, with uniform transition probabilities on the edges
http://en.wikipedia.org/wiki/PageRank
|
| PartitionContextTestVertex |
Vertex to test the functionality of PartitionContext
|
| PartitionContextTestVertex.TestPartitionContextPartitionContext |
PartitionContext for TestPartitionContext
|
| PartitionContextTestVertex.TestPartitionContextWorkerContext |
WorkerContext for TestPartitionContext
|
| RandomWalkVertex<E extends org.apache.hadoop.io.Writable> |
Base class for executing a random walk on a graph
|
| RandomWalkVertexMasterCompute |
Master compute associated with
RandomWalkVertex . |
| RandomWalkWithRestartVertex |
Executes "RandomWalkWithRestart", a random walk on the graph which is biased
towards a source vertex.
|
| RandomWalkWorkerContext |
Worker context for random walks.
|
| SimpleAggregatorWriter |
This is a simple example for an aggregator writer.
|
| SimpleCheckpointVertex |
An example that simply uses its id, value, and edges to compute new data
every iteration to verify that checkpoint restarting works.
|
| SimpleCheckpointVertex.SimpleCheckpointComputation |
Actual computation.
|
| SimpleCheckpointVertex.SimpleCheckpointVertexMasterCompute |
Master compute associated with
SimpleCheckpointVertex . |
| SimpleCheckpointVertex.SimpleCheckpointVertexWorkerContext |
Worker context associated with
SimpleCheckpointVertex . |
| SimpleCombinerVertex |
Test whether messages can go through a combiner.
|
| SimpleFailVertex |
Vertex to allow unit testing of failure detection
|
| SimpleInDegreeCountVertex |
Simple function to return the out degree for each vertex.
|
| SimpleLongDoubleDoubleDoubleIdentityVertex |
A simple use of the Identity Vertex for taking care of Long, Double,
Double, Double type Inputformat Good for use with
io.LongDoubleDoubleAdjacencyListVertexInputFormat
|
| SimpleMasterComputeVertex |
Demonstrates a computation with a centralized part implemented via a
MasterCompute.
|
| SimpleMasterComputeVertex.SimpleMasterCompute |
MasterCompute used with
SimpleMasterComputeVertex . |
| SimpleMasterComputeVertex.SimpleMasterComputeWorkerContext |
Worker context used with
SimpleMasterComputeVertex . |
| SimpleMsgVertex |
Test whether messages can be sent and received by vertices.
|
| SimpleMutateGraphVertex |
Vertex to allow unit testing of graph mutations.
|
| SimpleMutateGraphVertex.SimpleMutateGraphVertexWorkerContext |
Worker context used with
SimpleMutateGraphVertex . |
| SimpleOutDegreeCountVertex |
Simple function to return the out degree for each vertex.
|
| SimplePageRankVertex |
Demonstrates the basic Pregel PageRank implementation.
|
| SimplePageRankVertex.SimplePageRankVertexInputFormat |
Simple VertexInputFormat that supports
SimplePageRankVertex |
| SimplePageRankVertex.SimplePageRankVertexMasterCompute |
Master compute associated with
SimplePageRankVertex . |
| SimplePageRankVertex.SimplePageRankVertexOutputFormat |
Simple VertexOutputFormat that supports
SimplePageRankVertex |
| SimplePageRankVertex.SimplePageRankVertexReader |
Simple VertexReader that supports
SimplePageRankVertex |
| SimplePageRankVertex.SimplePageRankVertexWorkerContext |
Worker context used with
SimplePageRankVertex . |
| SimpleShortestPathsVertex |
Demonstrates the basic Pregel shortest paths implementation.
|
| SimpleSuperstepVertex |
Just a simple Vertex compute implementation that executes 3 supersteps, then
finishes.
|
| SimpleSuperstepVertex.SimpleSuperstepVertexInputFormat |
Simple VertexInputFormat that supports
SimpleSuperstepVertex |
| SimpleSuperstepVertex.SimpleSuperstepVertexOutputFormat |
Simple VertexOutputFormat that supports
SimpleSuperstepVertex |
| SimpleSuperstepVertex.SimpleSuperstepVertexReader |
Simple VertexReader that supports
SimpleSuperstepVertex |
| SimpleTextVertexOutputFormat |
Simple text based vertex output format example.
|
| SimpleTriangleClosingVertex |
Demonstrates triangle closing in simple,
unweighted graphs for Giraph.
|
| SimpleTriangleClosingVertex.IntArrayListWritable |
Utility class for delivering the array of vertices THIS vertex
should connect with to close triangles with neighbors
|
| SimpleTriangleClosingVertex.Pair |
Quick, immutable K,V storage for sorting in tree set
|
| SimpleVertexWithWorkerContext |
Fully runnable example of how to
emit worker data to HDFS during a graph
computation.
|
| SimpleVertexWithWorkerContext.EmitterWorkerContext |
Example worker context to emit data as part of a superstep.
|
| SimpleVertexWithWorkerContext.SimpleVertex |
Actual vetex implementation
|
| VerifyMessage |
An example that simply uses its id, value, and edges to compute new data
every iteration to verify that messages are sent and received at the
appropriate location and superstep.
|
| VerifyMessage.VerifiableMessage |
Message that will be sent in
VerifyMessage.VerifyMessageVertex . |
| VerifyMessage.VerifyMessageMasterCompute |
Master compute associated with
VerifyMessage.VerifyMessageVertex . |
| VerifyMessage.VerifyMessageVertex |
Send and verify messages.
|
| VerifyMessage.VerifyMessageVertex.VerifyMessageVertexWorkerContext |
Worker context used with
VerifyMessage.VerifyMessageVertex . |
| VertexWithDoubleValueDoubleEdgeTextOutputFormat |
Simple vertex output format for weighted graphs.
|
| VertexWithDoubleValueNullEdgeTextOutputFormat |
Output format for vertices with a long as id, a double as value and
null edges
|
| 注释类型 | 说明 |
|---|---|
| Algorithm |
This annotation should be used to annotate built-in algorithms.
|
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.


Tools for storing and managing competition results. Competition is understood as a set of games in which players gain some abstract scores. There are two ways for storing results: in long (one row per game-player) and wide (one row per game with fixed amount of players) formats. This package provides functions for creation and conversion between them. Also there are functions for computing their summary and Head-to-Head values for players. They leverage grammar of data manipulation from 'dplyr'.
| Version: | 0.2.1 |
| Depends: | R (≥ 3.4.0) |
| Imports: | dplyr (≥ 0.7.0), magrittr, rlang (≥ 0.1.2), tibble, tidyr (≥ 0.7.0) |
| Suggests: | covr, knitr, rmarkdown, testthat |
| Published: | 2018-10-12 |
| Author: | Evgeni Chasnovski [aut, cre] |
| Maintainer: | Evgeni Chasnovski <evgeni.chasnovski at gmail.com> |
| BugReports: | https://github.com/echasnovski/comperes/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/echasnovski/comperes |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | comperes results |
| Reference manual: | comperes.pdf |
| Vignettes: |
Formats of Competition Results Manipulate Competition Results |
| Package source: | comperes_0.2.1.tar.gz |
| Windows binaries: | r-devel: comperes_0.2.1.zip, r-release: comperes_0.2.1.zip, r-oldrel: comperes_0.2.1.zip |
| OS X binaries: | r-release: comperes_0.2.1.tgz, r-oldrel: comperes_0.2.1.tgz |
| Old sources: | comperes archive |
| Reverse depends: | comperank |
Please use the canonical form https://CRAN.R-project.org/package=comperes to link to this page.


Samsung Galaxy A51 to come with a 5MP macro camera
by RoWhile last year's quad-camera Galaxy A-series devices featured a standard one, an ultrawide, a telephoto and a depth sensor, this time around Samsung is looking to change things a little. For instance, the rumored Galaxy A51 will replace the telephoto unit with a macro one.
According to an inside source, the company has equipped the Galaxy A51 with a 48MP main camera, 12MP ultrawide shooter, a 5MP dedicated macro. It all makes sense as the Galaxy A51 is one of the more affordable in the lineup so equipping it with a cheaper macro lens is pretty plausible.
Additionally, the ultrawide angle camera will get an upgrade jumping from the 8MP sensor commonly found on low-end to mid-range models to the 12MP snapper. We suspect the same configuration - including the macro lens - will be on the Galaxy A71's board too.


Places you've been
Enter the place you have been:
Location
Landmarks
Time of Year
Notes
Add
List of places you've been:
Landmarks:
Time of Year
Notes:


{{ head }}
Here you can find the documentation of Double use the side menu to explore all components
To get started add the following style to your page
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/double@[[ version ]]/dist/double.min.css" />
To get started you can use the following template. Font Awesome is optional: if you
don't want to use icons you can ignore the link
in the head
.
Don't forget to add tags for the title, metadata and icons to improve the user
experience
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/double@[[ version ]]/dist/double.min.css" />
</head>
<body>
<!--Your HTML code here-->
</body>
</html>
Double allow you to implement the dark mode in you site just by adding
the class dark-mode
in the main container of a page, just like the following example
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./assets/double.min.css" />
</head>
<body>
<div class="dark-mode">
<!--Your HTML code here-->
</div>
</body>
</html>


We examine networks!
- redefine interactive systems
- recontextualize mission-critical experiences
- evolve one-to-one portals
- transform killer e-business
- incubate user-centric infomediaries
- disintermediate impactful web-readiness
- extend out-of-the-box web services
- orchestrate plug-and-play markets
- repurpose turn-key web services
- leverage bricks-and-clicks infomediaries
- mesh global systems
- leverage world-class partnerships


Before Change
// created.
// TODO(sang): This with statement should be removed after atomic creation
// is implemented. It will be done in the next PR.
with pytest.raises(ray.exceptions.RayActorError):
ray.get(pg_actor.ping.remote(), timeout=3.0)
After Change
]
// This all should scheduled on each bundle.
check_with_pg = [
resource_check.options(
placement_group=pg, placement_group_bundle_index=i).remote()
for i in range(bundle_per_node * num_nodes)
]
// Make sure these are hanging.
ready, unready = ray.wait(check_without_pg, timeout=0)
assert len(ready) == 0


Unknown location
Sample.Api.Tests.CustomStartupConfigurationsTests+<>c.<GetException_WhenDeveloperPageIsConfigured_ShouldBeInternalServerError>b__0_2(HttpContext context, Func<Task> next) in CustomStartupConfigurationsTests.cs
, line 26
System.Exception: Exactly!
CustomStartupConfigurationsTests.cs
System.Exception: Wow! ---> System.Exception: Exactly! --- End of inner exception stack trace --- at Sample.Api.Tests.CustomStartupConfigurationsTests.<>c.<GetException_WhenDeveloperPageIsConfigured_ShouldBeInternalServerError>b__0_2(HttpContext context, Func`1 next) in E:\projects\mine\FluentAssertions.Web\samples\Sample.Api.Net22.Tests\CustomStartupConfigurationsTests.cs:line 26 at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
No QueryString data.
| Variable | Value |
|---|---|
| Host | localhost |


Kabanero, Adiós.
The kabanero project was created in 2019 to complement the Appsody project. It adds continuous integration and continuous delivery using Tekton pipelines. Now that the development effort in Appsody has ceased, it is time for Kabanero to follow.
The ideas behind Appsody and the development efforts have been combined with odo into odo 2.0. For odo based continuous integration and continuous delivery experience, use Openshift Gitops, which is based on ArgoCD and kam, a command line interface to set up gitops pipelines.


|
SocketStreams
v1.1
|
Base input/output socket buffer. More...
#include <BaseIOSocketBuffer.h>
Public Member Functions | |
| BaseIOSocketBuffer ()=default | |
| BaseIOSocketBuffer (const BaseIOSocketBuffer &)=delete | |
| Deleted copy contructor. More... | |
| BaseIOSocketBuffer (BaseIOSocketBuffer &&other) noexcept | |
| Move constructor. More... | |
| BaseIOSocketBuffer (SOCKET clientSocket) | |
| Server side constructor. More... | |
| BaseIOSocketBuffer (SOCKET clientSocket, size_t bufferSize) | |
| Server side constructor. More... | |
| template<typename HostStringT , typename PortStringT > | |
| BaseIOSocketBuffer (const HostStringT &ip, const PortStringT &port, DWORD timeout=30 '000, web::Network::receiveMode mode=web::Network::receiveMode::allowResize) | |
| Client side constructor. More... | |
| template<typename HostStringT , typename PortStringT > | |
| BaseIOSocketBuffer (const HostStringT &ip, const PortStringT &port, size_t bufferSize, DWORD timeout=30 '000, web::Network::receiveMode mode=web::Network::receiveMode::allowResize) | |
| Client side constructor. More... | |
| BaseIOSocketBuffer (std::unique_ptr< web::BaseNetwork< ContainerT >> &&networkSubclass) | |
| BaseIOSocketBuffer (std::unique_ptr< web::BaseNetwork< ContainerT >> &&networkSubclass, size_t bufferSize) | |
| BaseIOSocketBuffer & | operator= (const BaseIOSocketBuffer &)=delete |
| Deleted copy assignment operator. More... | |
| BaseIOSocketBuffer & | operator= (BaseIOSocketBuffer &&other) noexcept |
| Move assignment operator. More... | |
| virtual void | setInputType () final |
| virtual void | setOutputType () final |
| virtual const std::unique_ptr< web::BaseNetwork< ContainerT > > & | getNetwork () const final |
| virtual std::unique_ptr< web::BaseNetwork< ContainerT > > & | getNetwork () final |
| virtual int | getLastPacketSize () |
| virtual | ~BaseIOSocketBuffer ()=default |
Protected Types | |
| enum class | IOType { input , output } |
Protected Member Functions | |
| void | setPointers () |
| int_type | overflow (int_type ch) override |
| int_type | underflow () override |
| std::streamsize | xsputn (const char_type *s, std::streamsize count) override |
| std::streamsize | xsgetn (char_type *s, std::streamsize count) override |
| int | sync () override |
| ContainerT | dataPart () noexcept |
Protected Attributes | |
| ContainerT | outBuffer |
| ContainerT | inBuffer |
| std::unique_ptr< web::BaseNetwork< ContainerT > > | network |
| int | lastPacketSize |
| IOType | type |
Base input/output socket buffer.
| ContainerT |
|
strongprotected |
|
default |
|
delete |
Deleted copy contructor.
|
noexcept |
Move constructor.
| other |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | SOCKET | clientSocket | ) |
Server side constructor.
| clientSocket |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | SOCKET | clientSocket, |
| size_t | bufferSize | ||
| ) |
Server side constructor.
| clientSocket | |
| bufferSize | Fixed buffer size |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | const HostStringT & | ip, |
| const PortStringT & | port, | ||
| DWORD | timeout = 30'000 , |
||
| web::Network::receiveMode | mode = web::Network::receiveMode::allowResize |
||
| ) |
Client side constructor.
| HostStringT | |
| PortStringT |
| ip | Remote address to connect to |
| port | Remote port to connect to |
| timeout | Timeout for receive and send calls in milliseconds |
| mode | Receive mode |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | const HostStringT & | ip, |
| const PortStringT & | port, | ||
| size_t | bufferSize, | ||
| DWORD | timeout = 30'000 , |
||
| web::Network::receiveMode | mode = web::Network::receiveMode::allowResize |
||
| ) |
Client side constructor.
| HostStringT | |
| PortStringT |
| ip | Remote address to connect to |
| port | Remote port to connect to |
| bufferSize | |
| timeout | Timeout for receive and send calls in milliseconds |
| mode | Receive mode |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | std::unique_ptr< web::BaseNetwork< ContainerT >> && | networkSubclass | ) |
| buffers::BaseIOSocketBuffer< ContainerT >::BaseIOSocketBuffer | ( | std::unique_ptr< web::BaseNetwork< ContainerT >> && | networkSubclass, |
| size_t | bufferSize | ||
| ) |
|
virtualdefault |
|
protectednoexcept |
|
virtual |
|
finalvirtual |
|
finalvirtual |
|
noexcept |
Move assignment operator.
| other |
|
delete |
Deleted copy assignment operator.
| <br> |
|
overrideprotected |
|
finalvirtual |
|
finalvirtual |
|
protected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |


Logo
Navbar Link
Navbar Link
menu
Parallax Template
A modern responsive front-end framework based on Material Design
Get Started
Suggestion Form
account_circle
Choose your Color of Hand
Red
Pink
White
Blue
Yellowish
Black
Choose your Color of Hand
Choose your Color of Hand
Red
Pink
White
Blue
Yellowish
Black
Choose your Color of Hand
account_circle
Name
email
Email
Choose your Color of Hand
Red
Pink
White
Blue
Yellowish
Black
Choose your Color of Hand
Choose your Color of Hand
Red
Pink
White
Blue
Yellowish
Black
Choose your Color of Hand
Head Line
Heart Line
Life Line
Fate Line
Marriage Line
Children Line
Money Line
Health Line
Sun Line
Submit
send
A modern responsive front-end framework based on Material Design


| Class | Rails::Generator::Commands::Create |
| In: |
vendor/rails/railties/lib/rails_generator/commands.rb
|
| Parent: | Base |
Create is the premier generator command. It copies files, creates directories, renders templates, and more.
| SYNONYM_LOOKUP_URI | = | "http://wordnet.princeton.edu/perl/webwn?s=%s" |
Check whether the given class names are already taken by Ruby or Rails. In the future, expand to check other namespaces such as the rest of the user‘s app.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 157 157: def class_collisions(*class_names) 158: 159: # Initialize some check varibles 160: last_class = Object 161: current_class = nil 162: name = nil 163: 164: class_names.flatten.each do |class_name| 165: # Convert to string to allow symbol arguments. 166: class_name = class_name.to_s 167: 168: # Skip empty strings. 169: class_name.strip.empty? ? next : current_class = class_name 170: 171: # Split the class from its module nesting. 172: nesting = class_name.split('::') 173: name = nesting.pop 174: 175: # Extract the last Module in the nesting. 176: last = nesting.inject(last_class) { |last, nest| 177: break unless last_class.const_defined?(nest) 178: last_class = last_class.const_get(nest) 179: } 180: 181: end 182: # If the last Module exists, check whether the given 183: # class exists and raise a collision if so. 184: 185: if last_class and last_class.const_defined?(name.camelize) 186: raise_class_collision(current_class) 187: end 188: end
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 296 296: def complex_template(relative_source, relative_destination, template_options = {}) 297: options = template_options.dup 298: options[:assigns] ||= {} 299: options[:assigns]['template_for_inclusion'] = render_template_part(template_options) 300: template(relative_source, relative_destination, options) 301: end
Create a directory including any missing parent directories. Always skips directories which exist.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 305 305: def directory(relative_path) 306: path = destination_path(relative_path) 307: if File.exist?(path) 308: logger.exists relative_path 309: else 310: logger.create relative_path 311: unless options[:pretend] 312: FileUtils.mkdir_p(path) 313: # git doesn't require adding the paths, adding the files later will 314: # automatically do a path add. 315: 316: # Subversion doesn't do path adds, so we need to add 317: # each directory individually. 318: # So stack up the directory tree and add the paths to 319: # subversion in order without recursion. 320: if options[:svn] 321: stack = [relative_path] 322: until File.dirname(stack.last) == stack.last # dirname('.') == '.' 323: stack.push File.dirname(stack.last) 324: end 325: stack.reverse_each do |rel_path| 326: svn_path = destination_path(rel_path) 327: system("svn add -N #{svn_path}") unless File.directory?(File.join(svn_path, '.svn')) 328: end 329: end 330: end 331: end 332: end
Copy a file from source to destination with collision checking.
The file_options hash accepts :chmod and :shebang and :collision options. :chmod sets the permissions of the destination file:
file 'config/empty.log', 'log/test.log', :chmod => 0664
:shebang sets the #!/usr/bin/ruby line for scripts
file 'bin/generate.rb', 'script/generate', :chmod => 0755, :shebang => '/usr/bin/env ruby'
:collision sets the collision option only for the destination file:
file 'settings/server.yml', 'config/server.yml', :collision => :skip
Collisions are handled by checking whether the destination file exists and either skipping the file, forcing overwrite, or asking the user what to do.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 203 203: def file(relative_source, relative_destination, file_options = {}, &block) 204: # Determine full paths for source and destination files. 205: source = source_path(relative_source) 206: destination = destination_path(relative_destination) 207: destination_exists = File.exist?(destination) 208: 209: # If source and destination are identical then we're done. 210: if destination_exists and identical?(source, destination, &block) 211: return logger.identical(relative_destination) 212: end 213: 214: # Check for and resolve file collisions. 215: if destination_exists 216: 217: # Make a choice whether to overwrite the file. :force and 218: # :skip already have their mind made up, but give :ask a shot. 219: choice = case (file_options[:collision] || options[:collision]).to_sym #|| :ask 220: when :ask then force_file_collision?(relative_destination, source, destination, file_options, &block) 221: when :force then :force 222: when :skip then :skip 223: else raise "Invalid collision option: #{options[:collision].inspect}" 224: end 225: 226: # Take action based on our choice. Bail out if we chose to 227: # skip the file; otherwise, log our transgression and continue. 228: case choice 229: when :force then logger.force(relative_destination) 230: when :skip then return(logger.skip(relative_destination)) 231: else raise "Invalid collision choice: #{choice}.inspect" 232: end 233: 234: # File doesn't exist so log its unbesmirched creation. 235: else 236: logger.create relative_destination 237: end 238: 239: # If we're pretending, back off now. 240: return if options[:pretend] 241: 242: # Write destination file with optional shebang. Yield for content 243: # if block given so templaters may render the source file. If a 244: # shebang is requested, replace the existing shebang or insert a 245: # new one. 246: File.open(destination, 'wb') do |dest| 247: dest.write render_file(source, file_options, &block) 248: end 249: 250: # Optionally change permissions. 251: if file_options[:chmod] 252: FileUtils.chmod(file_options[:chmod], destination) 253: end 254: 255: # Optionally add file to subversion or git 256: system("svn add #{destination}") if options[:svn] 257: system("git add -v #{relative_destination}") if options[:git] 258: end
Checks if the source and the destination file are identical. If passed a block then the source file is a template that needs to first be evaluated before being compared to the destination.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 263 263: def identical?(source, destination, &block) 264: return false if File.directory? destination 265: source = block_given? ? File.open(source) {|sf| yield(sf)} : IO.read(source) 266: destination = IO.read(destination) 267: source == destination 268: end
When creating a migration, it knows to find the first available file in db/migrate and use the migration.rb template.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 343 343: def migration_template(relative_source, relative_destination, template_options = {}) 344: migration_directory relative_destination 345: migration_file_name = template_options[:migration_file_name] || file_name 346: raise "Another migration is already named #{migration_file_name}: #{existing_migrations(migration_file_name).first}" if migration_exists?(migration_file_name) 347: template(relative_source, "#{relative_destination}/#{next_migration_string}_#{migration_file_name}.rb", template_options) 348: end
Display a README.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 335 335: def readme(*relative_sources) 336: relative_sources.flatten.each do |relative_source| 337: logger.readme relative_source 338: puts File.read(source_path(relative_source)) unless options[:pretend] 339: end 340: end
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 350 350: def route_resources(*resources) 351: resource_list = resources.map { |r| r.to_sym.inspect }.join(', ') 352: sentinel = 'ActionController::Routing::Routes.draw do |map|' 353: 354: logger.route "map.resources #{resource_list}" 355: unless options[:pretend] 356: gsub_file 'config/routes.rb', /(#{Regexp.escape(sentinel)})/mi do |match| 357: "#{match}\n map.resources #{resource_list}\n" 358: end 359: end 360: end
Generate a file for a Rails application using an ERuby template. Looks up and evaluates a template by name and writes the result.
The ERB template uses explicit trim mode to best control the proliferation of whitespace in generated code. <%- trims leading whitespace; -%> trims trailing whitespace including one newline.
A hash of template options may be passed as the last argument. The options accepted by the file are accepted as well as :assigns, a hash of variable bindings. Example:
template 'foo', 'bar', :assigns => { :action => 'view' }
Template is implemented in terms of file. It calls file with a block which takes a file handle and returns its rendered contents.
# File vendor/rails/railties/lib/rails_generator/commands.rb, line 284 284: def template(relative_source, relative_destination, template_options = {}) 285: file(relative_source, relative_destination, template_options) do |file| 286: # Evaluate any assignments in a temporary, throwaway binding. 287: vars = template_options[:assigns] || {} 288: b = binding 289: vars.each { |k,v| eval "#{k} = vars[:#{k}] || vars['#{k}']", b } 290: 291: # Render the source file with the temporary binding. 292: ERB.new(file.read, nil, '-').result(b) 293: end 294: end


Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members


How to add an item?
To add an item, click on the Upload button.
You will get a choice of
- Upload from computer
- Share a webpage
select option (1) if you want to upload images from your computer.
select option (2) if you want to share images from a webpage. This option
will pull images from the webpage directly so you are saved the hassle of
first downloading and then uploading the images.


Support
Getting Started:
If you need help or would like to volunteer, please review existing posts. If you find a post that matches a service you need or one that you would like to offer, please email the poster directly.
If you do NOT see a post that matches your request or offer, click Post a New Request for one of the following types of services:
- Transportation
- Shopping
- In-House Help
- Pet Sitting/Care
Please note that this site should not be used to request coverage of a hospital shift or to arrange for child care. If you need child care support, please click here.
This Site Can Also Help You
- Search the “Post” field for key words or phrases to help you find exactly what you are looking for
- Sort search results
- Update an existing post, to either "Resolved" or "I don't need help anymore"
Tips:
- If you mark a post "Resolved" or "I don’t need help anymore" you will not be able to retrieve it.
- Use the map to look for people nearby who can help/need help.
- Click on an icon to see more detail.
- Hit refresh to see your request appear on the map
- If you choose to help vs receive help, your icon shows up as a red heart.
- If posts and or icons aren't showing up, try hitting 'ctrl+shift+r' or doing a hard refresh.


| Reporter | ${ticket.reporter} | |
|---|---|---|
| Keywords | ${ticket.keywords} | none |
| Type | ${ticket.type} | |
| Status | ${ticket.status} | |
| Priority | ${ticket.priority} | |
| Product | ${ticket.product} | |
| Milestone | ${ticket.milestone} | none |
| Component | ${ticket.component} | none |
| Version | ${ticket.version} | none |
| Severity | ${ticket.severity} | none |
| Number of comments | ${comm_num} | 0 |
| Number of attachments | ${attachment_num} | 0 |


{% extends "templates.jinja/base.page-with-navbar.html" %} {% block title %} Hesperian - Pregnancy & Birth{% endblock %} {% block id %}Bleeding_during_pregnancy{% endblock %} {% block content %}
Healthy signs:
Warning signs: There is a lot of blood. Where is the woman in her pregnancy?
{% endblock %}


I'm just starting to learn Web Development, so I understand that it's going to take a while to be able to create any projects of substantial size, complexity, and meaning.
Anyway, I'm going to build my list here, as it is today:
These projects are in no particular order. Also, as I mentioned earlier, not inclusive as I know there will be more added to this list later.


Welcome to the big leagues boys.  GLHF


Sunday, 29. March 2020 12:16am
This Project is a Mini project I'm asked to do at my Programming module in the university of Ibn-Zohr AGADIR, the
main goal of this is to create a terminal application that can Do car rental management.
MIT License
Copyright (c) 2020 MOHAMED ZABOUB
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of
the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.


Isar735.github.io
BUY DEEPBURNER PRO: Order DeepBurner Pro now and receive the full featured version of the software and the priority customer support service. Order DB Pro Personal.
The Purdue University Online Writing Lab serves writers from around the world and the Purdue University Writing Lab helps writers on Purdue's campus. EPILOGUE: Lt. Edmond DiGiannantonio passed away on February 19, 2000, after a long battle with prostate cancer, and was buried with full honors at Arlington National. DOS Drivers For Reading, Copying, And Writing To NTFS Drives. I've assembled Two Methods for you to see and work with NTFS drives while in DOS or by booting Best Cassette to CD transfer service in Manhattan
DeepBurner - Powerful CD and DVD Burning Package. WinWay Resume Deluxe - The Leader in Resume Software. Download or CD. Resume Examples, Cover Letters, Job Interview Simulation, Salary Negotiation Itsenäisyydenkatu 12-14 33500 Tampere avoinna ma-pe klo 11-17.00 la klo 10-14. TILAUKSET<EMAIL_ADDRESS>TAI: p. 0400 834 838. Ostamme. CD-levyt. CD-R (Compact Disc-Recordable) is a digital optical disc storage format. A CD-R disc is a compact disc that can be written once and read arbitrarily many times. WinWay Resume Deluxe - the Leader in Resume Software. Reading and Writing the Lakota Language
Amazon.com: Writing for the TOEFL Amazon.com: Writing for the TOEFL iBT: With MP3 CD, 6th Edition (Barron's Writing for the Toefl)<PHONE_NUMBER>987): Lin Lougheed Ph.D.: Books. Free sheet music GUITAR - Download СКАН - система мониторинга СМИ от Интерфакса.
Best Cassette to CD and MP3 transfer in Manhattan, New York, NY. Micro cassette to CD, DAT tape to CD. Index. Cassette CD-levyt - aikakone, antikvariaatti. Find Freelance Jobs Freelancers - iFreelance.com. The Chuck Miller Creative Writing Service: V-Discs. No.1 Laptop Service Chennai Apple Dell HP Lenovo.
Whether it is a simple routine service, or complex repair work for your valuable laptops, Ram Infotech is the right solution center. We service laptops СКАН – это система мониторинга СМИ от Интерфакса, созданная для pr-менеджеров. "For 18 years we provide a free and legal service for free sheet music. If you use and like Free-scores.com, thank you to consider support donation. Akai MPC Service, Akai Service, Akai MPC Repair, We have maintained the fastest and friendliest service for producers, engineers, artists and song writers since. Find your next freelance job at ifreelance.com. The most effective and affordable way for talented freelance professionals and businesses to connect. From artists.
Reading and Writing the Lakota Language Book on CD Albert White Hat Sr on Amazon.com. FREE shipping on qualifying offers. A set of spoken-language instructional.
Powerful CD and DVD Burning Package DeepBurner is the advanced and powerful CD and DVD burning package. It removes the hassle of making autoruns, creating. Partners: Try the Point101 giclee print service. Upload your art and photography and get gallery quality prints from £6. Artchive is proudly supported by Ranking.


---
layout: post
title: First Post
date: '2011-04-01T17:15:00.000-04:00'
author: ricleal
tags:
- Perso
excerpt: 'Just finished my post-doc!'
comments: true
---
Just finished my post-doc!
I'm "
living on the doll" with some free time (still finishing a few articles though!) and decided that it's
time to create a blog!
My job applications are leaning towards object design and IT architectures in the context of science. It would
just be a waste for me to give up science after a PhD in Physics and a PostDoc in Bio-Physics.
I will be mainly writting about what I'm discovering and learning. I bet things have changed a lot in lasst 7
years. Last time I was involved in a serious IT project Struts and CMP 2.0 were hard-core technology!
I hope I can share my journey towards the new world of IT.


Choose your favorite song
Nothing else matters
November Rain
Bohemian Rhapsody
The Final Countdown
Smells Like Teen Spirit
Stairway to Heaven
Smoke on the water
Here I Go Again
Rock you like a Hurricane
Walk This Way
Another brick in the wall
Choose your favorite song
Nothing else matters
November Rain
Bohemian Rhapsody
The Final Countdown
Smells Like Teen Spirit
Stairway to Heaven
Smoke on the water
Here I Go Again
Rock you like a Hurricane
Walk This Way
Another brick in the wall
Choose your favorite song
Nothing else matters
November Rain
Bohemian Rhapsody
The Final Countdown
Smells Like Teen Spirit
Stairway to Heaven
Smoke on the water
Here I Go Again
Rock you like a Hurricane
Walk This Way
Another brick in the wall
Example label
Modal title
×


No Data Found
Customer Id
{{row.CustomerId}}
Product
{{row.Product}}
Quantity
{{row.Quantity}}
Rates
{{row.Rates}}
Shipping
{{row.Shipping}}
Total Invoice Value
{{row.Total_Invoice_Value}}
Sales Invoice Number
{{row.Sales_Invoice_Number}}
Link
{{row.Link}}
Edit
Delete


--- layout: post title: "My Time at KSU" date: 2012-02-03 04:24:58 +0000 permalink: /2012/02/03/my-time-at-ksu/ category: Work tags: - Work - KSU - Lessons Learned redirect_from: - /blog/my-time-at-ksu/ ---
As you might have seen, I'm leaving my position at Kennesaw State University to take a position as a Site Reliability Engineer at Google. This is something I'm very excited about, but I thought I'd take a look back at my time at KSU as I approach the end. It's worth mentioning that I'm not leaving KSU because of KSU, but because this is an opportunity I just could not turn down. For the most part, I like my position at KSU, and I really like most of the people that I work with. There's a particular group that's become three of my closest friends and one treasured acquaintance.
As much for my own memories as for the readers of this blog, I'm going to take a look back at some of the projects I've enjoyed most over the three years I've been at KSU. I've been fortunate enough to have taken on many of these projects of my own accord, and they've become successful and play varying roles in our department's operations. I'm also fortunate that, though I may have spent (many) more than 40 hours a week working on some of these, I like what I do enough that I can't find the line where work ends and personal time begins.
So here's the look back at my time in Advanced Computing Services (formerly Online Development Group, formerly Online Learning Services).
Centralized Authentication for Departmental Resources
When I first started at KSU, every server run by the department used local users for logins, and different applications had local login systems. Now, all shell accounts go back to an LDAP server, home directories are mounted via NFS, and many web-based applications point to the same LDAP directory. This has reduced the number of passwords to remember and simplified system administration.
High Availability for Production Webservices
Using Linux-HA, MySQL replication, and shared storage, our production Drupal web environment has high availability built in to reduce the risk of downtime. Since implementation, we've achieved greater than 99.9% uptime, even through power generator replacements, network upgrades, and even the occasional configuration glitch. (And yeah, that last one was me.) Of course, I'm sure I've jinxed myself now, but it's been a good run of uptime.
KSU Video
In about December 2009, we were approached with something a little bit outside our normal comfort zone: develop a system to record IP-based cameras used for mock sales competitions in our College of Business. The system needed to be web-based, precisely time recordings, make the finished recordings available on a website, control recording lights in the practice area, and also live-stream the footage to rooms full of judges. Oh, and its inaugural run would be a competition with dozens of schools from several countries the following March. Despite numerous mis-estimations and "surprises" along the way, we met the deadline and the competition was a success. We're in the process of upgrading the system to be flexible for other uses on campus, including situations like nursing clinical training and professional speaking.
VMWare Implementation
I had the pleasure of deploying a VMWare cluster that now hosts a few dozen virtual machines, allowing us to quickly spin up new development environments to test applications and provide redundancy for low-utilization services.
Puppet
This is the one that got away -- I was working on deploying Puppet for configuration management on all of our servers. Unfortunately, this may or may not ever get deployed, but I do believe that configuration management is key to any significant production environment.
Most Importantly
My biggest accomplishments have been the friends I've made and the things I've learned. Short of Alzheimer's or a traumatic brain injury, I will never forget many of my days -- even if there are a few I wish I could forget.


The checksum test is a quality control test used with all multiplicity electronics except the AMSR. The sum of the counts in the accidental multiplicity distribution must equal the total neutron count. Also, the first moment of the (R+A) multiplicity distribution must equal the (R+A) coincidence counts and the first moment of the (A) distribution must equal the (A) coincidence counts. If any of these conditions are not met and the checksum test is enabled, a checksum error is generated and the measurement data from the cycle are not further processed. The multiplicity electronics can measure multiplicities from 0 to 255, but only multiplicities from 0 to 127 are used by the software; this is because the deadtime correction procedure hasnít been developed for larger multiplicities. If the measured distribution produces multiplicities larger than 127 and the checksum test is enabled, a checksum error will occur. If the test fails, another cycle is made to replace the failed cycle. However, if n consecutive cycles (default: 10) fail, the measurement is aborted. Failure of the checksum test indicates a hardware problem unless the largest multiplicity is greater than 127. If the checksum test is enabled, it is performed even if the quality control (QC) tests are turned off.


Convert ascii text to a binary image using pre-computed templates. Input strings can only contain standard characters (ascii character 32-126). First time char2img() is ever called with a given height h, txt2img() is used to create a template for each ascii character. All subsequent calls to to char2img() with the given height are very fast as the pre-computed templates are used and no display/screen capture is needed. USAGE masks = char2img( strings, h, [pad] ) INPUTS strings - {1xn} text string or cell array of text strings to convert h - font height in pixels pad - [0] amount of extra padding between chars OUTPUTS masks - {1xn} binary image masks of height h for each string EXAMPLE mask=char2img('hello world',50); im(mask{1}) mask=char2img(num2str(pi),35); im(mask{1}) See also TXT2IMG Piotr's Computer Vision Matlab Toolbox Version 2.65 Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com] Licensed under the Simplified BSD License [see external/bsd.txt]


Software Engineer with several years of professional working experience in several software industries. Skilled in Java, Python, MySQL, Spring Boot, Javascript, Angular 2+, HTML, CSS, Git, Tomcat, Weblogic. Also, have deep learning knowledge, a section of Machine Learning. Strong engineering professional with a degree in Bachelor of Science focused in Computer Science And Engineering from Shahjalal University of Science and Technology, Bangladesh. Currently doing M.Sc. in Computational Modeling and Simulation in Technical University of Dresden, Germany.
Berlin, Germany
Dhaka, Bangladesh
Dhaka, Bangladesh
Dhaka, Bangladesh
Computational Modeling and Simulation
Computer Science and Engineering
Dhaka, Bangladesh
Dhaka, Bangladesh


The King And I? Paul? Haven't we been here before?
Well, yes, but I had been wanting to join Larbert AOS - it had a great reputation for dance, and I was really keen on giving it another try.
And learning the lines wasn't too hard!
Most of these photos were taken with the Pro1 on the dress rehearsal, when the lighting plot wasn't complete. I hadn't yet learned about the joys of RAW, or how much better photos could be if you didn't use flash. But it wasn't going to be long now...


module Concurrent::Promises::FactoryMethods
Container of all {Future}, {Event} factory methods. They are never constructed directly with new.
Public Instance Methods
@!macro promises.shortcut.on @return [Future]
# File lib/concurrent/promises.rb, line 317 def any_event(*futures_and_or_events) any_event_on default_executor, *futures_and_or_events end
Creates new event which becomes resolved after first of the futures_and_or_events resolves. @!macro promises.any-touch
@!macro promises.param.default_executor @param [AbstractEventFuture] futures_and_or_events @return [Event]
# File lib/concurrent/promises.rb, line 327 def any_event_on(default_executor, *futures_and_or_events) AnyResolvedEventPromise.new_blocked_by(futures_and_or_events, default_executor).event end
@!macro promises.shortcut.on @return [Future]
# File lib/concurrent/promises.rb, line 298 def any_fulfilled_future(*futures_and_or_events) any_fulfilled_future_on default_executor, *futures_and_or_events end
Creates new future which is resolved after first of futures_and_or_events is fulfilled. Its result equals result of the first resolved future or if all futures_and_or_events reject, it has reason of the last resolved future. @!macro promises.any-touch @!macro promises.event-conversion
@!macro promises.param.default_executor @param [AbstractEventFuture] futures_and_or_events @return [Future]
# File lib/concurrent/promises.rb, line 311 def any_fulfilled_future_on(default_executor, *futures_and_or_events) AnyFulfilledFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future end
@!macro promises.shortcut.on @return [Future]
# File lib/concurrent/promises.rb, line 276 def any_resolved_future(*futures_and_or_events) any_resolved_future_on default_executor, *futures_and_or_events end
Creates new future which is resolved after first futures_and_or_events is resolved. Its result equals result of the first resolved future. @!macro promises.any-touch
If resolved it does not propagate {Concurrent::AbstractEventFuture#touch}, leaving delayed futures un-executed if they are not required any more.
@!macro promises.event-conversion
@!macro promises.param.default_executor @param [AbstractEventFuture] futures_and_or_events @return [Future]
# File lib/concurrent/promises.rb, line 292 def any_resolved_future_on(default_executor, *futures_and_or_events) AnyResolvedFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future end
@!macro promises.shortcut.on @return [Future, Event]
# File lib/concurrent/promises.rb, line 188 def delay(*args, &task) delay_on default_executor, *args, &task end
Creates new event or future which is resolved only after it is touched, see {Concurrent::AbstractEventFuture#touch}.
@!macro promises.param.default_executor @overload delay_on
(default_executor, *args, &task)
If task is provided it returns a {Future} representing the result of the task. @!macro promises.param.args @yield [*args] to the task. @!macro promise.param.task-future @return [Future]
@overload delay_on
(default_executor)
If no task is provided, it returns an {Event} @return [Event]
# File lib/concurrent/promises.rb, line 205 def delay_on(default_executor, *args, &task) event = DelayPromise.new(default_executor).event task ? event.chain(*args, &task) : event end
Creates resolved future with will be fulfilled with the given value.
@!macro promises.param.default_executor @param [Object] value @return [Future]
# File lib/concurrent/promises.rb, line 125 def fulfilled_future(value, default_executor = self.default_executor) resolved_future true, value, nil, default_executor end
@!macro promises.shortcut.on @return [Future]
# File lib/concurrent/promises.rb, line 92 def future(*args, &task) future_on(default_executor, *args, &task) end
Constructs new Future
which will be resolved after block is evaluated on default executor. Evaluation begins immediately.
@!macro promises.param.default_executor @!macro promises.param.args @yield [*args] to the task. @!macro promise.param.task-future @return [Future]
# File lib/concurrent/promises.rb, line 104 def future_on(default_executor, *args, &task) ImmediateEventPromise.new(default_executor).future.then(*args, &task) end
General constructor. Behaves differently based on the argument's type. It's provided for convenience but it's better to be explicit.
@see rejected_future
, resolved_event
, fulfilled_future
@!macro promises.param.default_executor @return [Event, Future]
@overload make_future
(nil, default_executor = self.default_executor)
@param [nil] nil @return [Event] resolved event.
@overload make_future
(a_future, default_executor = self.default_executor)
@param [Future] a_future @return [Future] a future which will be resolved when a_future is.
@overload make_future
(an_event, default_executor = self.default_executor)
@param [Event] an_event @return [Event] an event which will be resolved when an_event is.
@overload make_future
(exception, default_executor = self.default_executor)
@param [Exception] exception @return [Future] a rejected future with the exception as its reason.
@overload make_future
(value, default_executor = self.default_executor)
@param [Object] value when none of the above overloads fits @return [Future] a fulfilled future with the value.
# File lib/concurrent/promises.rb, line 172 def make_future(argument = nil, default_executor = self.default_executor) case argument when AbstractEventFuture # returning wrapper would change nothing argument when Exception rejected_future argument, default_executor when nil resolved_event default_executor else fulfilled_future argument, default_executor end end
Creates resolved future with will be rejected with the given reason.
@!macro promises.param.default_executor @param [Object] reason @return [Future]
# File lib/concurrent/promises.rb, line 134 def rejected_future(reason, default_executor = self.default_executor) resolved_future false, nil, reason, default_executor end
@!macro promises.shortcut.on @return [ResolvableEvent]
# File lib/concurrent/promises.rb, line 61 def resolvable_event resolvable_event_on default_executor end
Created resolvable event, user is responsible for resolving the event once by {Promises::ResolvableEvent#resolve}.
@!macro promises.param.default_executor @return [ResolvableEvent]
# File lib/concurrent/promises.rb, line 70 def resolvable_event_on(default_executor = self.default_executor) ResolvableEventPromise.new(default_executor).future end
@!macro promises.shortcut.on @return [ResolvableFuture]
# File lib/concurrent/promises.rb, line 76 def resolvable_future resolvable_future_on default_executor end
Creates resolvable future, user is responsible for resolving the future once by {Promises::ResolvableFuture#resolve}, {Promises::ResolvableFuture#fulfill}, or {Promises::ResolvableFuture#reject}
@!macro promises.param.default_executor @return [ResolvableFuture]
# File lib/concurrent/promises.rb, line 86 def resolvable_future_on(default_executor = self.default_executor) ResolvableFuturePromise.new(default_executor).future end
Creates resolved event.
@!macro promises.param.default_executor @return [Event]
# File lib/concurrent/promises.rb, line 142 def resolved_event(default_executor = self.default_executor) ImmediateEventPromise.new(default_executor).event end
Creates resolved future with will be either fulfilled with the given value or rejection with the given reason.
@param [true, false] fulfilled @param [Object] value @param [Object] reason @!macro promises.param.default_executor @return [Future]
# File lib/concurrent/promises.rb, line 116 def resolved_future(fulfilled, value, reason, default_executor = self.default_executor) ImmediateFuturePromise.new(default_executor, fulfilled, value, reason).future end
@!macro promises.shortcut.on @return [Future, Event]
# File lib/concurrent/promises.rb, line 212 def schedule(intended_time, *args, &task) schedule_on default_executor, intended_time, *args, &task end
Creates new event or future which is resolved in intended_time.
@!macro promises.param.default_executor @!macro promises.param.intended_time
@param [Numeric, Time] intended_time `Numeric` means to run in `intended_time` seconds. `Time` means to run on `intended_time`.
@overload schedule_on
(default_executor, intended_time, *args, &task)
If task is provided it returns a {Future} representing the result of the task. @!macro promises.param.args @yield [*args] to the task. @!macro promise.param.task-future @return [Future]
@overload schedule_on
(default_executor, intended_time)
If no task is provided, it returns an {Event} @return [Event]
# File lib/concurrent/promises.rb, line 231 def schedule_on(default_executor, intended_time, *args, &task) event = ScheduledPromise.new(default_executor, intended_time).event task ? event.chain(*args, &task) : event end
@!macro promises.shortcut.on @return [Event]
# File lib/concurrent/promises.rb, line 260 def zip_events(*futures_and_or_events) zip_events_on default_executor, *futures_and_or_events end
Creates new event which is resolved after all futures_and_or_events are resolved. (Future is resolved when fulfilled or rejected.)
@!macro promises.param.default_executor @param [AbstractEventFuture] futures_and_or_events @return [Event]
# File lib/concurrent/promises.rb, line 270 def zip_events_on(default_executor, *futures_and_or_events) ZipEventsPromise.new_blocked_by(futures_and_or_events, default_executor).event end
@!macro promises.shortcut.on @return [Future]
# File lib/concurrent/promises.rb, line 238 def zip_futures(*futures_and_or_events) zip_futures_on default_executor, *futures_and_or_events end
Creates new future which is resolved after all futures_and_or_events are resolved. Its value is array of zipped future values. Its reason is array of reasons for rejection. If there is an error it rejects. @!macro promises.event-conversion
If event is supplied, which does not have value and can be only resolved, it's represented as `:fulfilled` with value `nil`.
@!macro promises.param.default_executor @param [AbstractEventFuture] futures_and_or_events @return [Future]
# File lib/concurrent/promises.rb, line 252 def zip_futures_on(default_executor, *futures_and_or_events) ZipFuturesPromise.new_blocked_by(futures_and_or_events, default_executor).future end


| Path: | lib/rconfig/properties_file_parser.rb |
| Last Update: | Fri Feb 12 16:23:34 -0600 2010 |
Copyright (c) 2009 Rahmal Conda<EMAIL_ADDRESS>This class parses key/value based properties files used for configuration. It is used by rconfig to import configuration files of the aforementioned format. Unlike yaml, and xml files it can only support three levels. First, it can have root level properties:
server_url=host.domain.com server_port=8080
Secondly, it can have properties grouped into catagories. The group names must be specified within brackets like [ … ]
[server] url=host.domain.com port=8080
Finally, groups can also be qualified with namespaces, similar to git config files. Group names are same as before, but with namespace in within the brackets like [ <group> "<name>" ]
[host "dev"] domain=dev.server.com [host "prod"] domain=www.server.com
These can be retrieved using dot-notation or variable to do it dynamically.
RConfig.props.host.dev.domain - or - RConfig.props.host[env].domain (where env is 'dev' or 'prod')


Josh Duggar's place of employment raided by Homeland Security after family denies previous report
by Tyler McCarthyHomeland Security agents paid a visit to the car dealership in Arkansas where former reality star Josh Duggar works as part of an ongoing federal investigation, according to reports.
The family denied a report earlier this week that the family home had been raided. However, it seems that the Duggars are in federal agents’ sights after all, as TMZ reports that investigators visited the Springdale, Ark., car dealership on Wednesday.
The outlet notes that the raid was in connection with a federal probe, but it’s unclear at this time exactly what is being investigated or what the Duggar family’s involvement may be.
WILL ANNA DUGGAR STAND BY CHEATING HUSBAND JOSH DUGGAR?
Homeland Security did not immediately respond to Fox News’ request for comment.
Following a report from KNWA that the Duggar residence was raided by government officials, the family – best known for their popular television shows “19 Kids and Counting” and “Counting On” – offered a statement of their own.
“We were shocked to see a news report today state that our home was raided by federal law enforcement agencies,” the Duggars told People on Tuesday. “This is not true.”
“To the best of our knowledge, it’s also not true that any member of our family is the target of any investigation of any kind,” the statement continued.
However, a Homeland Security spokesperson told KNWA on Tuesday: “[I do not dispute the information that] HSI was present there [Duggar home] pursuant to an ongoing federal criminal investigation.”
The Duggar family went on to describe allegations that their residence was raided as “fake news.”
“Living a life in the public’s eye has taught us that it is best not to reply to every rumor and piece of ‘fake news’ that is circulated online.”
CLICK HERE TO GET THE FOX NEWS APP
“It would be a full-time job if we attempted to do so. However, because of tonight’s media coverage we thought it is important to address this rumor with you. Thank you for the love and support that we can always count on in you our fans and friends,” the statement concluded.
Fox News' Andy Sahadeo contributed to this report.


- Krizia Zehr
- Jake Hartman
- Saish Dabholkar
- Haris Jagannathan
- TJ Horner
I currently use this framwork a lot for JavaScript and I really enjoy using it.
I am a major user of HTML which i use for making my website along with CSS & JavaScript
I have very strong knowlage with CSS. I have been working with CSS for about 2 years.
I currently work a lot with iOS Front & Backend development. I have been working around iOS development for about a year.
I currently use PHP & mySQL to create Web Based things on the server side of my APIs
I recently learned Java in mid October 2013. I use Java a lot for Multi-Platform Operating system applications and for Android Development


More than a million migrants and refugees crossed into Europe in 2015, sparking a crisis as countries struggle to cope with the influx, and creating division in the EU over how best to deal with resettling people. The symbolic milestone was passed on 21 December, the International Organisation for Migration (IOM) said, with the total for land and sea reaching more than 1,006,000. The figure covers entries via six European Union nations - Greece, Bulgaria, Italy, Spain, Malta and Cyprus. The vast majority arrived by sea but about 34,000 made their way over land via Turkey. Winter has not stemmed the flow of people - with 54,518 people reaching Europe by sea since the start of 2016.


Issue changeset submit / discard chart
Updated: 13 Oct 2016
Year:
all
2010
2011
2012
2013
2014
2015
2016
Month:
all
January
February
March
April
May
June
July
August
September
October
November
December
Type:
all
submit
discard
autosubmit
autodiscard
Y axis:
Linear
Logarithmic
Y axis max:
Unlimited
100
1000
3000


Metadata that describes the samples.
sampleData(object, ...) sampleData(object, ...) <- value # S4 method for SummarizedExperiment sampleData( object, clean = TRUE, ignoreCols = c("^description$", "^genomeBuild$", "^qualityFormat$", "^samRef$") ) # S4 method for SingleCellExperiment sampleData( object, clean = TRUE, ignoreCols = c("^description$", "^genomeBuild$", "^qualityFormat$", "^samRef$"), blacklistCols = c("^ident$", "^g2mScore$", "^sScore$", "^phase$", "^oldIdent$", "^origIdent$", "^res[0-9]+") ) # S4 method for SummarizedExperiment,DataFrame sampleData(object) <- value # S4 method for SingleCellExperiment,DataFrame sampleData(object) <- value # S4 method for SummarizedExperiment sampleNames(object)
| object | Object. |
|---|---|
| clean |
|
| ignoreCols |
|
| blacklistCols |
|
| value | Value to assign. |
| ... | Additional arguments. |
DataFrame
.
This is a complement to the standard
colData()
function, but improves support
for accessing sample metadata for datasets where multiple items in the
columns map to a single sample (e.g. cells for a single-cell RNA-seq
experiment).
Updated 2019-08-16.
Illegal colData
:
interestingGroups
: Generated automatically, based on the criteria
slotted into the object using interestingGroups()
. The function will
error intentionally if this column is manually defined in colData()
.
Recommended colData
:
sampleName
: Human readable sample names used by basejump plotting
functions in favor of object column names, which should be syntactically
valid (but not always very readable). See
make.names()
for more information on syntactically
valid names. Note that if this column is not defined in the object,
it will be returned automatically by sampleData()
.
Required colData
:
None.
Illegal colData
:
sampleID
: Redundant; already defined in the object column names.
Recommended colData
:
sampleID
: factor
defining cell-to-sample mappings. These mappings
should use syntactically valid names. Note that this is not currently
required as we're supporting SingleCellExperiment
objects from 1 sample,
but it's required for working with multiple samples in a single object.
data( RangedSummarizedExperiment, SingleCellExperiment, package = "acidtest" ) rse <- RangedSummarizedExperiment sce <- SingleCellExperiment ## SummarizedExperiment ==== x <- rse sampleData(x)#> DataFrame with 12 rows and 3 columns #> condition sampleName interestingGroups #> <factor> <factor> <factor> #> sample01 A sample01 A #> sample02 A sample02 A #> sample03 A sample03 A #> sample04 A sample04 A #> sample05 A sample05 A #> ... ... ... ... #> sample08 B sample08 B #> sample09 B sample09 B #> sample10 B sample10 B #> sample11 B sample11 B #> sample12 B sample12 B## Assignment support sampleData(x)[["batch"]] <- 1L ## `batch` column should be now defined. sampleData(x)#> DataFrame with 12 rows and 3 columns #> condition sampleName interestingGroups #> <factor> <factor> <factor> #> sample01 A sample01 A #> sample02 A sample02 A #> sample03 A sample03 A #> sample04 A sample04 A #> sample05 A sample05 A #> ... ... ... ... #> sample08 B sample08 B #> sample09 B sample09 B #> sample10 B sample10 B #> sample11 B sample11 B #> sample12 B sample12 B## SingleCellExperiment ==== x <- sce sampleData(x)#> DataFrame with 2 rows and 2 columns #> sampleName interestingGroups #> <factor> <factor> #> sample1 sample1 sample1 #> sample2 sample2 sample2## Assignment support. sampleData(x)[["batch"]] <- 1L ## `batch` column should be now defined. sampleData(x)#> DataFrame with 2 rows and 2 columns #> sampleName interestingGroups #> <factor> <factor> #> sample1 sample1 sample1 #> sample2 sample2 sample2


We Serve the Best PIZZA... You Are welcome to place an order
Neapolitan is the original pizza. This delicious pie dates all the way back to 18th century in Naples, Italy. During this time, the poorer citizens of this seaside city frequently purchased food that was cheap and could be eaten quickly. Luckily for them, Neapolitan pizza was affordable and readily available through numerous street vendors.
Chicago pizza, also commonly referred to as deep-dish pizza, gets its name from the city it was invented in. During the early 1900’s, Italian immigrants in the windy city were searching for something similar to the Neapolitan pizza that they knew and loved. Instead of imitating the notoriously thin pie, Ike Sewell had something else in mind. He created a pizza with a thick crust that had raised edges, similar to a pie, and ingredients in reverse, with slices of mozzarella lining the dough followed by meat, vegetables, and then topped with a can of crushed tomatoes. This original creation led Sewell to create the now famous chain restaurant, Pizzeria Uno.
With its characteristic large, foldable slices and crispy outer crust, New York-style pizza is one of America’s most famous regional pizza types. Originally a variation of Neapolitan-style pizza, the New York slice has taken on a fame all its own, with some saying its unique flavor has to do with the minerals present in New York’s tap water supply.
Sicilian pizza, also known as "sfincione," provides a thick cut of pizza with pillowy dough, a crunchy crust, and robust tomato sauce. This square-cut pizza is served with or without cheese, and often with the cheese underneath the sauce to prevent the pie from becoming soggy. Sicilian pizza was brought to America in the 19th century by Sicilian immigrants and became popular in the United States after the Second World War.
California pizza, or gourmet pizza, is known for its unusual ingredients. This pizza got its start back in the late 1970’s when Chef Ed LaDou began experimenting with pizza recipes in the classic Italian restaurant, Prego. He created a pizza with mustard, ricotta, pate, and red pepper, and by chance, served it to Wolfgang Puck. Impressed with LaDou’s innovative pie, Puck invited him to be a head pizza chef at his restaurant. It was here that LaDou came up with over 250 unique pizza recipes that eventually formed the menu of the chain restaurant California Pizza Kitchen.
Thin crust pizzas are slimmer in the center where the sauce, cheese, and ingredients are placed, but lead up to a crunchy, yet doughy edge. In order to get thinner dough, the key is to gently stretch out the dough to form the edges. Pizzas with thin crusts, like Neapolitan and New York, often don't have many toppings because they can’t handle the weight. If you want to add more toppings to your pie, you can still utilize a thin crust. To do so, simply make the center of the pie a bit thicker


As you might know I've grown up in a series of drugs experiences. My life is to be fraught with a progression of addictions.  Addictions - either narcotic, sensual or merely psychological that breath from my ego and scream deep within my appetite. I believe that perhaps that many of my problems lie within my lack of reason, alas, be that as it may this is a tale of morphine addiction.
I have much experience with Iv drug use yata yata yata.. Done opiates previous to this occasion... yata yata... No real addiction before. This is my first *s*.
So a friend, a known 'junkie', stops by with a couple 100 mg tablets of morphine.  So after a lot of convincing he convinces me and my wife (who has never shot anything before) to do some morphine with him. So we all do a hit; my brother is present also. I did about 65mg on that occasion. 65 glorious mg of one of mans finest creations. Why I wonder does anyone do heroin? This stuff is damn fine and there can never be a problem of purity. I felt a bit nauseous and intimidated because it floored me. I spent the night lying on my bed.
I felt fantastic. I was really really really opiated. I loved it. I had been taking E's every few days for a couple weeks previous to this defiling of self so the night spent in a 'nod' was quite a change from the senseless business of an ecstasy binge. I couldn't see a habit forming though because. I mean I couldn't really get up for about 8 hours after the injection. I can't live like that.
So I decided that morphine is great but just not really something I have time for. I like to paint, and write, and walk, and live.. who has time for that? So I didn't do any more for about a month. Then my main supplier of chemical recreations procured a large supply of 30mg morphine pills. So of course being the lover of narcotics that I am, I bought the majority of his stash. Needless to say. I didn't want to do nearly as much as I did that first night so... it's 11 in the morning and I'm just itching. I mean with those pills in the sight and a rig just around the corning.
So I think, maybe do a third of a pill or so first. try that out. So I go about my way. juice up about 10 mg and blam. Paradise. I was greeted with such a pleasant rush of warmth and love that only a junkie can know. The rush seemed to last as long as that first one but it was much more pleasant. Not as intense. I liked it. And when the euphoria faded away it left a nice weightlessness almost to my body. I coasted through the day with a high like no other. Beauty.
So now it's about 8pm. My wife wants to do a hit so I give her 20 mg and take another 20 or so for myself. Fire. The rush hit me harder and faster. Almost nauseating but definately sedating. After the rush I was too high to really wanna go to far so I just chilled in my chair, smoked a bit of pot through-out the remainder of the evening but nothing spectacular. I liked it but learned that doses add up quickly. Good lesson to learn early.
So through-out the next week or so I did at least 30mg a day, no more then 2 hits, but no less then 30mg, some days I did 2 30's... no problem I thought... Then something came I never expected. Something terrible happened in reality that left me feeling empty and hollow. I was upset my wife found me wondering the streets sobbing and hollering about justice. I felt barred and beaten she produced some marijuana but I had stronger things in mind. At that moment I knew I was starring addiction in the eye.
I had already about 40mg crushed up ready to go. My hands were shaking, my eyes swollen and raw as I geared up and signed my pact with my heroin. I don't know why but I seemed surprised that immediately I stopped crying and felt as if somehow, it could be alright, somehow. this whole thing will just blow over and I'll be left standing.
And that was true... I was left standing. Leaning hard on a cane of opiates and valium. I think know I can stop but I hear voices softly whispering such words as 'sickness' and 'relapse'.... I get itchy... but I don't need it. I can go without it... but I know I want it. I can feel it calling. and I know that she can make it all go away... I just pray that I never have that need.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Test the Linked Open Data requests
Request by extension
Request by format parameters
Request by accept headers
An assortment of failures
Request data
Request URL is No URL
Accept header is
Response data
Response code is 000
MIME type is No type
Text is:


--- layout: default nav: attributes > ic-remove-after ---
ic-remove-after
- The Remove After AttributeThe ic-remove-after
attribute tells Intercooler to remove the element it is on after a given
interval.
The value of the attribute should a valid integer, followed by the string "s" (for seconds) or "ms" (for milliseconds). (e.g. ic-remove-after="1500ms" indicates that the element should be removed after 1500 milliseconds.)
ic-remove-after
has no dependency implications.
Here is a simple example of a span removal:
Click Me!


NSFileManager
Written by Mattt Thompson on
NSFileManager
is Foundation's high-level
API for working with file systems. It abstracts Unix
and Finder internals, providing a convenient way to
create, read, move, copy, and delete files &
directories on local or networked drives, as well as
iCloud ubiquitous containers.
File systems are a complex topic, with decades of history, vestigial complexities, and idiosyncrasies, and is well outside the scope of a single article. And since most applications don't often interact with the file system much beyond simple file operations, one can get away with only knowing the basics.
What follows are some code samples for your copy-pasting pleasure. Use them as a foundation for understanding how to adjust parameters to your particular use case:
Common Tasks
Throughout the code samples is the magical incantation
NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)
. This may be tied with KVO as one of the worst APIs in Cocoa. Just know that this returns an array containing the user documents directory as the first object. Thank goodness for the inclusion ofNSArray -firstObject
.
Determining If A File Exists
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSString *filePath = [documentsPath<EMAIL_ADDRESS>BOOL fileExists = [fileManager fileExistsAtPath:filePath];
Listing All Files In A Directory
NSFileManager *fileManager = [NSFileManager defaultManager];
NSURL *bundleURL = [[NSBundle mainBundle] bundleURL];
NSArray *contents = [fileManager contentsOfDirectoryAtURL:bundleURL
includingPropertiesForKeys:@[]
options:NSDirectoryEnumerationSkipsHiddenFiles
error:nil];
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"pathExtension == 'png'"];
for (NSURL *fileURL in [contents filteredArrayUsingPredicate:predicate]) {
// Enumerate each .png file in directory
}
Recursively Enumerating Files In A Directory
NSFileManager *fileManager = [NSFileManager defaultManager];
NSURL *bundleURL = [[NSBundle mainBundle] bundleURL];
NSDirectoryEnumerator *enumerator = [fileManager enumeratorAtURL:bundleURL
includingPropertiesForKeys:@[NSURLNameKey, NSURLIsDirectoryKey]
options:NSDirectoryEnumerationSkipsHiddenFiles
errorHandler:^BOOL(NSURL *url, NSError *error)
{
NSLog(@"[Error] %@ (%@)", error, url);
}];
NSMutableArray *mutableFileURLs = [NSMutableArray array];
for (NSURL *fileURL in enumerator) {
NSString *filename;
[fileURL getResourceValue:&filename forKey:NSURLNameKey error:nil];
NSNumber *isDirectory;
[fileURL getResourceValue:&isDirectory forKey:NSURLIsDirectoryKey error:nil];
// Skip directories with '_' prefix, for example
if ([filename hasPrefix:@"_"] && [isDirectory boolValue]) {
[enumerator skipDescendants];
continue;
}
if (![isDirectory boolValue]) {
[mutableFileURLs addObject:fileURL];
}
}
Creating a Directory
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSString *imagesPath = [documentsPath stringByAppendingPathComponent:@"images"];
if (![fileManager fileExistsAtPath:imagesPath]) {
[fileManager createDirectoryAtPath:imagesPath withIntermediateDirectories:NO attributes:nil error:nil];
}
Deleting a File
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSString *filePath = [documentsPath<EMAIL_ADDRESS>NSError *error = nil;
if (![fileManager removeItemAtPath:filePath error:&error]) {
NSLog(@"[Error] %@ (%@)", error, filePath);
}
Determining the Creation Date of a File
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSString *filePath = [documentsPath<EMAIL_ADDRESS>NSDate *creationDate = nil;
if ([fileManager fileExistsAtPath:filePath]) {
NSDictionary *attributes = [fileManager attributesOfItemAtPath:filePath error:nil];
creationDate = attributes[NSFileCreationDate];
}
There are a number of file attributes that are made
accessible through NSFileManager
, which
can be fetched with
-attributesOfItemAtPath:error:
, and
other methods:
File Attribute Keys
NSFileAppendOnly
: The key in a file attribute dictionary whose value indicates whether the file is read-only.NSFileBusy
: The key in a file attribute dictionary whose value indicates whether the file is busy.NSFileCreationDate
: The key in a file attribute dictionary whose value indicates the file's creation date.NSFileOwnerAccountName
: The key in a file attribute dictionary whose value indicates the name of the file's owner.NSFileGroupOwnerAccountName
: The key in a file attribute dictionary whose value indicates the group name of the file's owner.NSFileDeviceIdentifier
: The key in a file attribute dictionary whose value indicates the identifier for the device on which the file resides.NSFileExtensionHidden
: The key in a file attribute dictionary whose value indicates whether the file's extension is hidden.NSFileGroupOwnerAccountID
: The key in a file attribute dictionary whose value indicates the file's group ID.NSFileHFSCreatorCode
: The key in a file attribute dictionary whose value indicates the file's HFS creator code.NSFileHFSTypeCode
: The key in a file attribute dictionary whose value indicates the file's HFS type code.NSFileImmutable
: The key in a file attribute dictionary whose value indicates whether the file is mutable.NSFileModificationDate
: The key in a file attribute dictionary whose value indicates the file's last modified date.NSFileOwnerAccountID
: The key in a file attribute dictionary whose value indicates the file's owner's account ID.NSFilePosixPermissions
: The key in a file attribute dictionary whose value indicates the file's Posix permissions.NSFileReferenceCount
: The key in a file attribute dictionary whose value indicates the file's reference count.NSFileSize
: The key in a file attribute dictionary whose value indicates the file's size in bytes.NSFileSystemFileNumber
: The key in a file attribute dictionary whose value indicates the file's filesystem file number.
NSFileType
: The key in a file attribute dictionary whose value indicates the file's type.
NSDirectoryEnumerationSkipsSubdirectoryDescendants
: Perform a shallow enumeration; do not descend into directories.
NSDirectoryEnumerationSkipsPackageDescendants
: Do not descend into packages.
NSDirectoryEnumerationSkipsHiddenFiles
: Do not enumerate hidden files.
NSFileManagerDelegate
NSFileManager
may optionally set a
delegate to verify that it should perform a
particular file operation. This allows the business
logic of, for instance, which files to protect from
deletion, to be factored out of the controller.
There are four kinds of methods in the
<NSFileManagerDelegate>
protocol,
each with a variation for working with paths, as well
as methods for error handling:
-
-fileManager:shouldMoveItemAtURL:toURL:
-
-fileManager:shouldCopyItemAtURL:toURL:
-
-fileManager:shouldRemoveItemAtURL:
-
-fileManager:shouldLinkItemAtURL:toURL:
If you were wondering when you might alloc
init
your own NSFileManager
rather than using the shared instance, this is it. As
per the documentation:
If you use a delegate to receive notifications about the status of move, copy, remove, and link operations, you should create a unique instance of the file manager object, assign your delegate to that object, and use that file manager to initiate your operations.
NSFileManager *fileManager = [[NSFileManager alloc] init];
fileManager.delegate = delegate;
NSURL *bundleURL = [[NSBundle mainBundle] bundleURL];
NSArray *contents = [fileManager contentsOfDirectoryAtURL:bundleURL
includingPropertiesForKeys:@[]
options:NSDirectoryEnumerationSkipsHiddenFiles
error:nil];
for (NSString *filePath in contents) {
[fileManager removeItemAtPath:filePath error:nil];
}
CustomFileManagerDelegate.m
#pragma mark - NSFileManagerDelegate
- (BOOL)fileManager:(NSFileManager *)fileManager
shouldRemoveItemAtURL:(NSURL *)URL
{
return ![[[URL lastPathComponent] pathExtension] isEqualToString:@"pdf"];
}
Ubiquitous Storage
Documents can also be moved to iCloud. If you guessed that this would be anything but straight forward, you'd be 100% correct.
This is another occasion when you'd alloc
init
your own NSFileManager
rather than using the shared instance. Because
URLForUbiquityContainerIdentifier:
and
setUbiquitous:itemAtURL:destinationURL:error:
are blocking calls, this entire operation needs to be
dispatched to a background queue.
Moving an Item to Ubiquitous Storage
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
NSFileManager *fileManager = [[NSFileManager alloc] init];
NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
NSURL *fileURL = [NSURL fileURLWithPath:[documentsPath<EMAIL_ADDRESS>// Defaults to first listed in entitlements when `nil`; should replace with real identifier
NSString *identifier = nil;
NSURL *ubiquitousContainerURL = [fileManager URLForUbiquityContainerIdentifier:identifier];
NSURL *ubiquitousFileURL = [ubiquitousContainerURL<EMAIL_ADDRESS>NSError *error = nil;
BOOL success = [fileManager setUbiquitous:YES
itemAtURL:fileURL
destinationURL:ubiquitousFileURL
error:&error];
if (!success) {
NSLog(@"[Error] %@ (%@) (%@)", error, fileURL, ubiquitousFileURL);
}
});
You can find more information about ubiquitous document storage in Apple's "iCloud File Management" document.
There's a lot to know about file systems, but as an
app developer, it's mostly an academic exercise. Now
don't get me wrong—academic exercises are great! But
they don't ship code. NSFileManager
allows you to ignore most of the subtlety of all of
this and get things done.


About Me:
Pouria received his PhD in Mechanical Engineering with an emphasis in Computational Science and Engineering (CSE) from University of California Santa Barbara in 2020, and his MS degree in Physics with an emphasis in computational astrophysics from University of California Riverside in 2014. Prior to that, he received two B.S. degrees in Aerospace Engineering and Physics from Sharif University of Technology in Iran in 2013. Pouria did his postdoctoral studies at Merck Research Lab, where he developed computational models for high concentration biotherapeutic formulations.
Pouria’s research interest is focused on computational modeling and simulation of multiscale phenomena. In his career he has applied advanced numerical techniques to develop computational models and HPC simulation softwares for several complex physical systems including galaxy clusters, cell aggregates, atomic islands, instabilities of high concentration protein formulations, parametrization of molecular dynamics force fields, and using AI for accelerating molecular dynamics simulations.
In his personal time, he enjoys reading books, listening to podcasts and music, stargazing, and going for long walks.
Education:
- PhD in Mechanical Engineering, UC Santa Barbara, 2016-2020
- Graduate research in computational astrophysics, UC Riverside, 2014-2016
- MS in Physics, UC Riverside, 2013-2014
- BS in Physics, Sharif University of Technology, 2009-2013
- BS in Aerospace Engineering, Sharif University of Technology, 2008-2013
Honors & Awards:
- 2021: Awarded $75,000 seed grant to develop an HPC simulation platform for protein aggregation (I was Co-PI), Merck Research Laboratories, USA
- 2020: Graduate Division Dissertation Fellowship Award, University of California, Santa Barbara, USA
- 2019: Travel award for SIAM conference on computational science and engineering, Spokane, Washington, USA,
- 2017: Finalist for the 3rd edition of the IEEE Entrepreneurship Forum and Startup Contest, IEEE Robotics and Automation Society (IEEE RAS), USA,
- 2016: Awarded 740,082 SUs computing allocation time on Stampede supercomputer for the project “Dwarf Galaxies as Cosmological Laboratories of Galaxy Formation”, XSEDE grant number AST160006 (I was Co-PI), USA,
- 2015: Recipient of FIELDS Fellowship on Big Data and Visualization, FIELDS NASA MIRO program, USA,
- 2015: Michael Devirian Award for Outstanding Research by a 2nd Year Graduate Student, University of California Riverside, USA,
- 2013: Winner of Dean's Distinguished Fellowship Award, UC Riverside, USA,
- 2013: Merit-based Admission Offer to the M.Sc. program, Aerospace Engineering Department, Sharif University of Technology , Iran,
- 2008: 4 year “National Elite Foundation Undergraduate Fellowship Award”, Ministry of Education, Iran,
- 2008: Top 0.1% (ranked 258) among 300,000 high school students for National University Entrance Exam, Iran,
- 2007: Elected as a member of the "Iranian National Elite Foundation",
- 2007: Silver Medal in the 3rd National Olympiad on Astronomy, Ministry of Education, Iran,


Welcome to Utopia
Your link will open in 3 seconds,
if this did not happen, click the button:
open
Does not open? You may not have installed Utopia yet
Let's do it, it won't take long.
-
1. Click on your operating system icon:
- 2. Install the app
- 3. Create your account, log in
Done! You are awesome!


R.Sumathi
.Ms.R.Sumathi has received the ISTE BEST STUDENT AWARD for the year 2016N.Rajalakshmi
Ms.N.Rajalakshmi and Ms.S.Srivarshini has presented paper "FULE EFFECTIVE PHOTONIC PROPULSION" in International Conference on Advance Technologies in Design, Mechanical and Aeronautical engineering, 12th-14th of July- 2017,Singapore.S.Srivarshini
Mr.R.Krishnakumar
Mr.R.Krishnakumar, Mr.M.Navaneeth, Mr.R.SachinSibi has presented paper " LANDING DISTANCE MINIMIZATION TO PREVENT OVERRUN ACCIDENTS USING FIELD THEORY AND STABILIZING AIR TRAFFIC" in international conference on advance Technologies in design, mechanical and Aeronautical engineering, 12th to 14th of July 2017, SingaporeM.Navaneeth
Mr.R.Krishnakumar, Mr.M.Navaneeth, Mr.R.SachinSibi has presented paper " LANDING DISTANCE MINIMIZATION TO PREVENT OVERRUN ACCIDENTS USING FIELD THEORY AND STABILIZING AIR TRAFFIC" in international conference on advance Technologies in design, mechanical and Aeronautical engineering, 12th to 14th of July 2017, Singapore
R.SachinSibi
Mr.R.Krishnakumar, Mr.M.Navaneeth, Mr.R.SachinSibi has presented paper " LANDING DISTANCE MINIMIZATION TO PREVENT OVERRUN ACCIDENTS USING FIELD THEORY AND STABILIZING AIR TRAFFIC" in international conference on advance Technologies in design, mechanical and Aeronautical engineering, 12th to 14th of July 2017, Singapore
Mr.Ashutosh Dixit
Mr.Ashutosh Dixit has secured a place to study in cornerstone school of advanced skills at Australia in a competition "Gillette vetri nichayam" powered by THE HINDU
M.Venkayesh and team
Mr.M.Venkayesh, Mr.S.Akash, Mr.S.M.Harish, Mr.S.Dravudkumar, Ms.B.Manasa, Mr.M.Navaneeth, Ms.K.M.Pragati, Ms.V.Sriranjini have participated in all- terian vehicle- National level competition conducted by SAE INDIA EBAJA 2017 at Indore, madhya pradesh. The team won a cash prize of 1,00,000 awarded by the Management
Mr.Aakashraj and team
Mr.Aakashraj K, Mr.G.Raghul and Mr.K.Prabakaran has won second prize with a cash award of RS.3000 in AIMBIGATHON( 24 hours hackathon) on 26.09.2019 & 27.09.2019 at Sri Sairam institute of technology..
Mr.Joahnes Mathew saji and team
Mr.Joahnes Mathew saji, Mr.dhinakaran M S and Mr.S.Vijay has won second prize in project EXPO on 26.09.2019 at University college of engineering.
ETWDC competition
Students from EEE department have participated in ETWDC - electric two wheeler design competition 2019 from 27.09.2019 to 29.09.2019 at bannari Amman institute of technology, sathyamangalam organized by SAEINDIA southern section. Our team has successfully cleared the technical inspection round by passing brake test, vehicle range test, gradeability test, maneuverability test, acceleration and bump test
Students from EEE department have participated in ETWDC - electric two wheeler design competition 2019 from 27.09.2019 to 29.09.2019 at bannari Amman institute of technology, sathyamangalam organized by SAEINDIA southern section. Our team has successfully cleared the technical inspection round by passing brake test, vehicle range test, gradeability test, maneuverability test, acceleration and bump test
D.Jayakumar
Our department student got the special award under the category smart education with a prize worth of Rs. 10000. The prize was given by honorable vice Chancellor Anna University Dr. Surrapa and honorable Minister for fisheries, entrepreneurs and human welfare Mr.D.Jayakumar. out of 939 registered teams with 189 product exibits our student product got special award.


| Properties' Details |
IsVisible
boolean IsVisible;
- Description
- specifies if the sheet is visible.
|
|
PageStyle
string PageStyle;
- Description
- specifies the page style of the sheet.
|
|
TableLayout
short TableLayout;
- Usage Restrictions
- optional
- Description
- specifies the direction of the columns in the spreadsheet.
Possible values are com::sun::star::text::WritingMode2::LR_TB to
order the columns from left to right, and
com::sun::star::text::WritingMode2::RL_TB to order the columns from
right to left.
- See also
- ::com::sun::star::text::WritingMode2
|
|
AutomaticPrintArea
boolean AutomaticPrintArea;
- Usage Restrictions
- optional
- Description
- specifies whether the sheet has an automatic print area.
The automatic print area is used to print a sheet without
explicit print areas, also if other sheets have print areas.
If the property is true, and there are print areas on other sheets,
the used area of this sheet is also printed.
If the property is false, and there are print areas on other sheets,
only these specified print areas are printed.
If there are no print areas on the other sheets it does not matter
whether property is true or false.
This property can only be true, if there are no print areas given
on this sheet. If the property is set to true the print areas of
this sheet will be removed.
- See also
- XPrintAreas
|
|
TabColor
::com::sun::star::util::Color TabColor;
- Usage Restrictions
- optional
- Description
- specifies the color of the sheet tab, if any.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


There are two kinds of measurement control, normalization and precision. To use this feature, select Acquire | Precision. You can use the precision test to verify that the scatter in the doubles rate in a series of cycles is the result of counting statistics only rather than counting statistics plus detector instability or electronic instability. The precision test compares the observed scatter to the theoretical scatter (the sample standard deviation to the theoretical standard deviation) using a chi-square test. The chi-square test value is the square of the ratio of sample to theoretical standard deviations. If the test ratio falls outside these limits, you will get a "Fail" message. Because there is a 1% chance of failing the test with a properly operating system, you should repeat the test if you get a failure. If you get consistent failures, the system needs repair.
Note, however, that the theoretical standard deviation is calculated from an approximate error model. You can force the precision test to fail by using a large number of cycles such that the error of the sample standard deviation is smaller than the error in the statistical error model. A reasonable range for the number of cycles is 15 to 30.