Getting Started With Puppet on OS X (Part 4)
05 Mar 2013We’ve made quite a bit of progress with our Puppet install. We’ve already made Puppet do something useful with setting up an admin user, but let’s get back to being lazy - let’s get someone else to write the code.
Before reading this post, you really need to read part 1, part 2 and part 3 of the series.
Modules are little pre-built bits of Puppet code. They’re a good example of Puppet’s philosophy of convention over configuration - Puppet will assume your modules follow a set pattern. We’ll be using two of the available folders in modules today: files and manifests. Files are static files that Puppet will copy over to our client machine, and manifests will contain the Puppet code we’ve previously been putting into /etc/puppet/manifests/site.pp
- whilst it’s been easy to put code into this file, it can become unwieldy when you have a few nodes to manage.
There are also loads of pre-built modules on the Puppet Forge - it’s one of these modules we’ll be using today.
Assuming you’re still using the Vagrant-based Puppet Master from part 3, cd into the directory you’ve cloned the repository to, issue a vagrant up
command. Once you’ve booted the VM, we need to SSH into it.
vagrant ssh
Puppet provides a handy tool to manage modules - puppet module
. To install the mac_profiles_handler by Ryan Coleman, tap in:
sudo puppet module install rcoleman/mac_profiles_handler
Pretty straightforward syntax there - the person who wrote the module comes before the slash, and the name of the module after it. You’ll see some bumph about Puppet downloading the module, and if the author has specified any dependency on other modules, they’ll be downloaded as well.
If you switch back to your Mac and look in the folder you cloned the vagrant-puppetmaster git repository into (mine is at ~/src/Mine/blog-post
), you’ll see the module you just installed in the puppet/modules
directory.
Feel free to have a nose around to get the general structure for what a Puppet module can look like. It’s ok, I’ll wait.
Time for us to make our own module. In puppet/modules
create a folder called my_super_module
. Within that, make files
and manifests
directories.
Next, grab this simple configuration profile I made. It configures a VPN connection - it’s unsigned, so you can see what you’re installing on your test Mac if you’d like. Place this .mobileconfig file in puppet/modules/my_super_module/files
. Or, if you’d rather, you can make your own for something else - configuring WiFi is pretty handy - I made this one in two minutes using iPhone Configuration Utility, but you can also make them with Profile Manager (I would recommend making them unsigned though, but that’s outside the scope of this article).
For the actual meat of our module, we need some Puppet code. In your favourite text editor (please remember, not TextEdit!), create puppet/modules/my_super_module/init.pp
, and make it look like the following:
There are a few bits we’ve not seen before here:
ensure => present,
We’re simply telling puppet that we want to make sure this profile is always installed. If it’s missing, re-install it. If we set this to ensure => absent
, we’d be telling Puppet to remove the profile. If we wanted to simply update the profile, we’d just replace the mobileconfig file (this module will be aware of the change and update the installed profile).
file_source => 'puppet:///modules/my_super_module/com.grahamgilbert.vpn.mobileconfig',
This is referring to the file in our module. The important bit is puppet:///
with three slashes. That point to the server we’re currently running on (and also makes our module portable to other servers). We don’t need to do any other configuration to get Puppet serving this file now, as it expects to serve static files out of the files
directory.
As we are using the built in web server for our Puppet Master, we need to restart the puppetmaster service to let it know about our new module. When you’re on the Mac side, it’s easiest just to reload the whole server:
cd ~/src/wherever/your/code/is
vagrant reload
Time to test it. Fire up your test Mac or your VM (if you need to configure it, please look at the last post, I’m assuming it’s still set up), and perform a Puppet run:
sudo puppet agent --test
Wait! Nothing happened. That’s because we’ve not told the Puppet Master to apply this particular module to our client Mac.
Make your puppet/manifests/site.pp
look like this:
All we’re doing here is telling Puppet to include our module with the default settings (as we didn’t make any settings that can be changed - once again, outside the scope of this post). Splitting your code into modules not only allows you to share them with others if you wish, but also means you only need to change your code once and have it affect all of your applicable nodes.
Anyway, save your site.pp
and perform another run on your client:
sudo puppet agent --test
And now you’ll see something along the lines of:
And if you look in System Preferences, you’ll see the Profiles icon has appeared, and that your profile has been installed.
And in the Network pane, your VPN connection has been configured:
Next time, we’ll look at using Facter to make our code a little more intelligent. As ever, comments, corrections and general abuse is welcome.
(Not the abuse, that’s not nice.)


Watch: Here’s An Insane Look At Telsa’s Futuristic-Looking New Cybertruck
by Team SOHHThe car game is getting high-tech with 2020 on deck. Tesla CEO Elon Musk has unveiled the first look at his new company’s new Cybertruck. Watch and comment below!
The car game is getting high-tech with 2020 on deck. Tesla CEO Elon Musk has unveiled the first look at his new company’s new Cybertruck. Watch and comment below!


Added lots of self-> to avoid an Xcode warning: “Block implicitly retains ‘self’; explicitly mention ‘self’ to indicate this is intended behaviour”.
Remarked out the -splitViewController:shouldHideViewController:inOrientation: method as it’s now deprecated.
The -live method of SCTableViewModel was causing an assert in iOS 13: “Attempted to access the table view’s visibleCells while they were in the process of being updated, which is not allowed”. So STV is no longer trying to count the visibleCells there, which might make it slightly less efficient, but there’s no assert!
The -cellAtIndexPath: method of SCTableViewModel was also causing an assert in iOS 13: “Attempted to call -cellForRowAtIndexPath: on the table view while it was in the process of updating its visible cells, which is not allowed”. This was introduced by the change in -live. So STV is no longer calling -cellForRowAtIndexPath here, which again is going to make it less efficient, but now there’s no assert.
The -tableView:shouldIndentWhileEditingRowAtIndexPath: method of SCTableViewModel was also causing an assert in iOS 13: “Attempted to call -cellForRowAtIndexPath: on the table view while it was in the process of updating its visible cells, which is not allowed.” A bit of a kludge, but the method now just returns the default value, YES, here.


Sumo Logic Content Parser:
- Import Data
- Field Summaries
- Query Fields
- Message Check
- Help
- Reload Page
Experienced Users
- Click this button:
New Users
▼ Export the JSON content for your Sumo Logic item to a file
- Login to the Sumo Logic app
- Locate your desired item in either the Library or your Personal folder
- The Library can be found as an item in menu on the left or in a tab at the top of the window
- Your Personal folder can be found as an item in menu on the left or in the Library itself
- The item can either be a saved search, dashboard, or folder (including its subfolders
- Click the details icon for that item and then click Export to open the Export Item dialog
- In the Export Item dialog, click Download to download the JSON content to a file
- You can alternatively click Copy to copy the JSON content to the clipboard, but then you will have to paste that content into a file and save it
▼ Import your JSON content file into this app
- Click this button:
- Select your file and click Open
- All information is locally processed in the browser
▼ Explore the configuration of your Sumo Logic item
-
Click on the Field Summaries button at the top of the window to see the hierarchical summaries of the JSON fields extracted from the item
- An HTML or JSON Output Format can be selected
- For the HTML Output only:
- The items can be filtered by type by selecting or deselecting the Output Filter checkboxes
- The fields displayed item can be shown or hidden using the Expand All Items and Collapse All Items buttons, respectively
-
Click on the Query Fields button at the top of the window to see the hierarchy of the item along with its query and extracted JSON fields
- An HTML or JSON Output Format can be selected
- For the HTML Output only:
- The query displayed item can be shown or hidden using the Expand All Items and Collapse All Items buttons, respectively
▼ Check Log Message data against your Sumo Logic item
- In the Message section:
- Click the Add Message button
- Paste a copy of a JSON log message into the text box
- The border of the text box will be red if the log message fails a JSON syntax check
- If desired, repeat the previous 2 steps to add additional sample log messages
- Select a log message by clicking its radio button
- A log message's radio button will be disabled until it passes a JSON syntax check, which is indicated by a black text box border
- In the Items section:
- The items can be filtered by type by selecting or deselecting the Filter checkboxes
- In the Comparison section:
- The field comparison rows can be filtered by type by selecting or deselecting the Filter checkboxes


MASSES FOR THE DEAD
Celebrant
Let us in faith call upon God
the almighty Father, who raised Christ his Son from the dead, as we pray for
the salvation of the living and the dead.
Intentions
1 V. That God may establish the Christian people in
faith and unity, let us pray to the Lord.
2 V. That he may rescue the
entire world from all the evils of war, let us pray to
the Lord.
3 V. That he may be pleased to
show himself a father to our brothers and sisters who lack work, food or
housing, let us pray to the Lord.
4a V. That he may be pleased to
admit for ever to the company of the Saints his deceased servant N., who once through Baptism received the seed of
eternal life, let us pray to the Lord.
4b V. That on the last day he may
raise up N., who fed on the Body of Christ, the
Bread of eternal life, let us pray to the Lord.
(or for a
priest):
V.
That he may grant N. a share in the heavenly
liturgy, for he exercised the priestly office in the Church, let us pray to the
Lord.
4c V.
That he may grant to the souls of our brothers and sisters, friends and
benefactors the reward of their labours, let us pray to the Lord.
4d V. That he may welcome into the
light of his face all who have fallen asleep in the hope of the resurrection,
let us pray to the Lord.
4e V. That he may
graciously help and comfort our brothers and sisters
who are suffering afliction, let us pray to the Lord.
4f V. That he may be
pleased to gather into his glorious Kingdom all who have gathered here in faith
and devotion, let us pray to the Lord.
Celebrant
May the prayer of those who
cry to you benefit the souls of your servants, O Lord: free them, we pray, from
all their sins and make them sharers in your redemption.
Through Christ our Lord.
R. Amen.


Menus in AsciiDoc : README
by Tom Swan
Menu creation text: Menu Include Source
Stylesheet: Menu Stylesheet
How to Use This Demo
These files demonstrate a simple but effective way to add menu bars (like the one above) to AsciiDoc documents with no HTML skills or add-ons required. All you need is Asciidoctor and a text editor. Follow these steps to run the demonstration:
-
Download or clone the mia-dev GitHub repository
-
Point a browser to mia-dev/index.html
-
Select menu items and use links to view source files
Building the Demonstration
After editing the files, call on make to rebuild the demonstration and try out your ideas:
$ make
That runs the system make utility on Makefile in the current directory. Refresh your browser to reload the test. To erase generated HTML and backup files, enter:
$ make clean
Enter make
again to regenerate.
Asciidoctor
Building the demonstration requires Asciidoctor to be installed. Install the software if necessary by typing:
$ sudo gem install asciidoctor
Return to Home


bsub_opt.Rd
Parameters for bsub
bsub_opt(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE)
| ... | Arguments for the parameters, see "details" section |
|---|---|
| RESET | reset to default values |
| READ.ONLY | please ignore |
| LOCAL | please ignore |
| ADD | please ignore |
There are following parameters:
packages
A character vector with package names that will be loaded before running the script.
image
A character vector of RData/rda files that will be loaded before running the script.
temp_dir
Path of temporary folder where the temporary R/bash scripts will be put.
output_dir
Path of output folder where the output/flag files will be put.
enforce
If a flag file for the job is found, whether to enforce to rerun the job.
R_version
The version of R.
working_dir
The working directory.
ignore
Whether ignore bsub_chunk
, bsub_script
and bsub_cmd
.
local
Run job locally (not submitting to the LSF cluster)?
call_Rscript
How to call Rscript
by specifying an R version number.
submission_node
A list of node names for submitting jobs.
login_node
This value basically is the same as submission_node
unless the login nodes are different from submission nodes.
sh_head
Commands that are written as head of the sh script.
user
Username on the submission node.
group
The user group
ssh_envir
The commands for setting bash environment for successfully running bjobs, bsub, ...
bsub_template
Template for constructing bsub
command.
parse_time
A function that parses time string from the LSF bjobs
command to a POSIXct
object.
verbose
Whether to print more messages.
ssh_envir
should be properly set so that LSF binaries such as bsub
or bjobs
can be properly found.
There are some environment variables initialized when logging in the bash terminal while they are not initialized with the
ssh connection. Thus, some environment variables should be manually set.
An example for ssh_envir
is as follows. The LSF_ENVDIR
and LSF_SERVERDIR
should be defined and exported.
c("source /etc/profile", "export LSF_ENVDIR=/opt/lsf/conf", "export LSF_SERVERDIR=/opt/lsf/10.1/linux3.10-glibc2.17-x86_64/etc")
The values of these two variables can be obtained by entering following commands in your bash terminal (on the submission node):
echo $LSF_ENVDIR echo $LSF_SERVERDIR
The time strings by LSF bjobs
command might be different for different configurations. The **bsub**
package needs to convert the time strings to POSIXlt
objects for calculating the time difference. Thus, if
the default time string parsing fails, users need to provide a user-defined function and set with parse_time
option in bsub_opt
. The function accepts a vector of time strings and returns a POSIXlt
object. For example,
if the time string returned from bjobs
command is in a form of Dec 1 18:00:00 2019
, the parsing function
can be defined as:
bsub_opt$parse_time = function(x) { as.POSIXlt(x, format = "\<!-- %b \\%d \\%H:\\%M:\\%S \\%Y") --> }
The corresponding option values.


equals()
, hashCode()
, compareTo
or
Comparator.compare()
method.
Besides constructor invocations, new objects can also be created by autoboxing or iterator creation inside a foreach statement.
This can cause performance problems for example when objects are added to a Set
or Map
,
where these methods will be called often.
This inspection will not warn when the objects are created in a throw
or assert
statement.
Example:
class Person {
private String name;
private int age;
public boolean equals(Object o) {
return Arrays.equals(new Object[] {name, age}, new Object[] {((Foo)o).name, ((Foo)o).age});
}
public int hashCode() {
return (name + age).hashCode();
}
}
Here 2 additional arrays are created inside equals
method, usages of age
field require boxing,
and name + age
implicitly creates a new string.
New in 2016.2


China paper says Hong Kong curfew tweet withdrawn due to insufficient information
BEIJING, Nov 14 — An influential state-backed Chinese newspaper today withdrew a tweet saying the Hong Kong government was expected to announce a weekend curfew, after its editor said there was “not sufficient” information to back up the report.
China’s Global Times, citing unidentified sources, had put the news out on its English-language Twitter feed, but the post was later deleted.
“I just checked how the information was obtained. My conclusion is that the information is not sufficient to support this exclusive news. I have demanded to delete the tweet,” Global Times editor Hu Xijin tweeted in English.
The Hong Kong government did not immediately respond to a request for comment.
Hong Kong pro-democracy protesters paralysed parts of the Chinese-ruled city for a fourth day today, forcing schools to close and blocking highways as students built barricades and stockpiled makeshift weapons, setting the stage for campus showdowns.
The Global Times is a widely read tabloid run by the ruling Communist Party’s official People’s Daily.
Twitter is blocked in China, but state media are generally given special dispensation to run their own Twitter accounts as the government seeks a wider international audience for its publications. — Reuters


Local Universe Builder
A UI for building a DC/OS local universe. Select your DC/OS version, followed by the packages
and build.
Search for a package by typing the first few letters of its name, the box will update automatically.
Use your up and down arrows to select the right package, then hit enter to confirm.
Amend selections using the backspace key, or click on a package then delete.
Build time will vary based on the number of packages and resources allocated by Docker.
This is a DC/OS Community project and is not supported or warrantied by Mesosphere.
Please refer to https://github.com/aggress/mesosphere-dcos-universe-builder for further information.


[viewBag] [builderList achievments] modelClass = "Cubecamp\Uxda\Models\OurTeamAchievment" scope = "scopeActive" scopeValue = "{{ :scope }}" displayColumn = "*" noRecordsMessage = "No records found" detailsPage = "-" detailsUrlParameter = "id" pageNumber = "{{ :page }}" sortColumn = "sort_order" ==


|
| static void | Subscribe (Enum evt, Handler h, object owner=null) |
| | Subscribe to the event specified by evt. Pass in a delegate to be called back when the even occurs. More...
|
| |
| static void | Subscribe (string id, Enum evt, Handler h, object owner=null) |
| | Subscribe to the event specified by evt filtered by the specified id. Pass in a delegate to be called back when the even occurs. More...
|
| |
| static void | Subscribe (string id, string evt, Handler h, object owner=null) |
| | Subscribe to the event specified by evt. Pass in a delegate to be called back when the even occurs. More...
|
| |
| static void | Subscribe (string evt, Handler h, object owner=null) |
| | Subscribe to the event specified by evt. Pass in a delegate to be called back when the even occurs. More...
|
| |
| static void | Unsubscribe (string id, Enum evt, Handler h) |
| | Unsubscribe the specified delegate from the event. More...
|
| |
| static void | Unsubscribe (Enum evt, Handler h) |
| | Unsubscribe the specified delegate from the event. More...
|
| |
| static void | Unsubscribe (string evt, Handler h) |
| | Unsubscribe the specified delegate from the event. More...
|
| |
| static void | Unsubscribe (string id, string evt, Handler h) |
| | Unsubscribe the specified delegate from the event. More...
|
| |
| static void | Unsubscribe (object owner) |
| | Unsubscribe to all events that were subscribed to by a specific owner object. More...
|
| |
| static void | Publish (string id, string evt, params object[] data) |
| | Publish the specified event with extra data. More...
|
| |
| static void | Publish (string evt, params object[] data) |
| | Publish the specified event with extra data. More...
|
| |
| static void | Publish (string id, Enum evt, params object[] data) |
| | Publish the specified event with extra data. More...
|
| |
| static void | Publish (Enum evt, params object[] data) |
| | Publish the specified event with extra data. More...
|
| |
|
static void | Queue (string id, string evt, params object[] data) |
| |
|
static void | Queue (string evt, params object[] data) |
| |
|
static void | Queue (string id, Enum evt, params object[] data) |
| |
|
static void | Queue (Enum evt, params object[] data) |
| |
| static void | Clear () |
| | Clear all event subscribers, used primarily when switching or resetting a level. More...
|
| |
Class for broadcasting messages to subscribers. Clients of the EventRouter register themselves by calling Subscribe and passing in the even they are interested in along with a delegate to be called back when the event is received. Events are published via the Publish method which allows arbitrary data to be passed along with the event to be interpreted by the event receiver. Events do not have to be pre-defined.
Publish and Subscribe methods also have an optional id parameter which will filter the events
sent to just those that match the provided id. Subscribing to an event with no id will result
in receiving all events of the specified type.
Example of a simple publish and subscribe class, not using any id filtering.
Sender.cs
public enum SenderEvent { Test }
public class Sender { public void Send() { EventRouter.Publish(SenderEvent.Test, "Hello World"); } }
Receiver.cs
public class Receiver { public Receiver() { EventRouter.Subscribe(SenderEvent.Test, OnSenderEvent); }
void OnSenderEvent(EventRouter.Event evt) { if(evt.HasData) { Console.WriteLine("Received event: " + evt.Type + " with data: " + evt.GetData<string>(0)); } else { Console.WriteLine("Received event: " + evt.Type + " with no data"); } } }
Example of a publish and subscribe using id's to filter specific messages.
Sender.cs
public enum SenderEvent { Test }
public class Sender { public void SendA() { EventRouter.Publish("A", SenderEvent.Test); }
public void SendB() { EventRouter.Publish("B", SenderEvent.Test); } }
Receiver.cs
public class Receiver { public Receiver() { EventRouter.Subscribe("A", SenderEvent.Test, OnSenderEventA); EventRouter.Subscribe("B", SenderEvent.Test, OnSenderEventB); }
void OnSenderEventA(EventRouter.Event evt) { Console.WriteLine("Received SenderEvent.Test with id 'A'"); }
void OnSenderEventB(EventRouter.Event evt) { Console.WriteLine("Received SenderEvent.Test with id 'B'"); } }


Oleg Gutsenko
freelance web developer
Toggle navigation
Business Casual
Home
About
Work
Contact
Contact
Email:
<EMAIL_ADDRESS>Address:
Ukraine, Lviv


truffle-ts-percel-box
This box is sample that use Web3 1.0.0-beta and TypeScript 2.8, percel, metacoin box. I'm happy if this sample is useful for learning etheruem.
For the metacoin contract, box page is helpful. Also, please refer to official page for web3.


Example Page
Navigation
One
Two
Three
Description
This is an example page used for testing purposes.


You already have all the information you need.
It's time to make your final recommendations.
Vitaly Vedenin
Information Acquisition


Summary
The main purpose of this release is to provide a baseline set of boot files for building from the GitHub repository. It also includes the bug fixes from legacy version 110.99.3 and a new implementation of the pattern-match compiler.
GitHub Migration
With this release, we have migrated the bug tracking infrastructure to a system using GitHub issues. We have prepopulated the issues for the legacy repository with the entries from the old bug database.
Since issues are associated with a repository, we now have separate trackers for the legacy and main development versions. While most bugs that are present in one version will also be present in the other version, it is not necessary to create two issues when reporting a bug.
Details
Basis Library
Added support for the following proposed Basis Library extensions:
SML/NJ Library
-
Added the
findAndRemove
function toORD_MAP
interface. -
Generalized comparisons on ordered maps; added
equiv
andextends
functions toORD_MAP
interface and made type ofcollate
more polymorphic. -
The SExp library now uses Scheme syntax for string values.
-
The SExp parser accepts empty files as valid input (producing an empty list of S-Expressions).
Installation
The config/install.sh
script continues to work as before. We have added a -dev
command-line option to enable cross compilation (i.e., it compiles LLVM
for all of the supported target architectures).
Closed Issues
Here is a list of the issues that are fixed (or closed) with this release. We include the original bug numbers for bugs that were reported using the old bug tracker.
| Issue No. | Description | Gforge Bug |
|---|---|---|
26 |
65 |
|
51 |
makeml and installml scripts do not like locations with spaces |
90 |
141 |
Pretty printing of Absyn in error message does not respect fixity |
141 |
205 |
270 |
|
219 |
284 |
|
223 |
290 |
|
224 |
291 |
|
239 |
Word8VectorSlice: mapping a subslice produces wrong result or crashes SML/NJ |
306 |
240 |
307 |
|
241 |
308 |
|
242 |
SExp: parsing the output of the printer produces a different SExp |
309 |
243 |
Error when REPL tries to print value of type |
310 |
244 |
311 |
|
245 |
|
312 |
247 |
314 |
|
248 |
315 |
|
249 |
316 |
|
250 |
Conversion from string to real does not accept non-finite values |
317 |
251 |
318 |
|
252 |
319 |
The following unnumbered bug was also fixed:
-
Performance bug in the compilation of deeply-nested modules.
The following bugs were reported for the legacy version, but do not affect the new versions.
| Issue No. | Description | Gforge Bug |
|---|---|---|
246 |
313 |
Supported systems
We believe that SML/NJ will build and run on the following systems, but have only tested some of them:
| Architecture | Operating System | Status |
|---|---|---|
AMD64 |
||
macOS 11 (Big Sur) |
Tested |
|
macOS 12 (Monterey) |
Tested |
|
macOS 13 (Vecntura) |


Steiner admits he should've listened to the drivers more after Barcelona upgrade
by Joseph TyrrellIt has been a frustrating season for the Haas F1 team with the constructor sitting second bottom of the Constructors' Championship. If there was one thing Guenther Steiner would do differently this season, it would be to listen to his drivers more after the Spain upgrade.
Having been one of the standout teams in 2018, Haas were expected to challenge for the best of the rest this season, and were many people's favourites to do so. However, they have languished near the bottom of the standings, with their race pace failing to match that of their qualifying.
Steiner admits that after the Spanish Grand Prix, where both drivers scored points, he should've listened to them more.
“One thing I would do is to just do something different after we introduced the upgrade in Barcelona. I would listen a little bit more to the drivers and be a little bit more self-critical," Steiner said in Haas' Abu Dhabi preview.
Despite a tough season, the Haas boss is looking to the future and starting a new fresh in 2020.
“It was obviously a tough year for us in our fourth season. You learn and, overall, we’re pretty strong anyway," he added.
"We had to learn some lessons to get better. Next year will be a new book and, hopefully, we go back to the kind of performances we had in 2018.”


nips nips2001 nips2001-32 nips2001-32-reference knowledge-graph by maker-knowledge-mining
Source: pdf
Author: Michael L. Littman, Michael J. Kearns, Satinder P. Singh
Abstract: We describe a new algorithm for computing a Nash equilibrium in graphical games, a compact representation for multi-agent systems that we introduced in previous work. The algorithm is the first to compute equilibria both efficiently and exactly for a non-trivial class of graphical games. 1
Michael Kearns, Michael L. Littman, and Satinder Singh. Graphical models for game theory. In Proceedings of the 17th Conference on Uncertainty in Artificial Int elligence (UAI), pages 253- 260, 200l. Daphne Koller and Brian Milch. Multi-agent influence diagrams for representing and solving games. Submitted, 2001. Pierfrancesco La Mura. Game networks. In Proceedings of the 16th Conference on Uncertainty in Artificial Intelligence (UAI), pages 335- 342, 2000. J . F. Nash. Non-cooperative games. Annals of Math ematics, 54:286- 295, 1951.


Name attribute is used whenever provided. If not provided, a default name is built based on the form-control id.
However when used inside forms the name attribute will follow angular api:
{{standaloneCode}}
{{templateDrivenCode}}
{{reactiveCode}}
Provided names will always be ignored


close_to — Check two floating-point values are close within a chosen tolerance.
// In header: <boost/svg_plot/detail/fp_compare.hpp> template<typename FPT = double> class close_to { public: // construct/copy/destruct close_to(); template<typename T> explicit close_to(T, floating_point_comparison_type = FPC_STRONG); // public member functions bool operator()(FPT, FPT) const; FPT size(); floating_point_comparison_type strength(); };
close_to
public
construct/copy/destructclose_to();
Default constructor is strong comparison to twice numeric_limits<double>::epsilon().
template<typename T> explicit close_to(T tolerance, floating_point_comparison_type fpc_type = FPC_STRONG);
Constructor for fraction tolerance and strength of comparison. Checks that tolerance isn't negative - which does not make sense, and can be assumed to be a programmer error?
close_to
public member functionsbool operator()(FPT left, FPT right) const;
Compare two floating point values
Returns: |
true if they are effectively equal (approximately) within tolerance & comparison strength. |
FPT size();
Returns: |
fraction tolerance. |
floating_point_comparison_type strength();
Returns: |
floating_point comparison type strength, FPC_STRONG or FPC_WEAK |


| Home | Trees | Indices | Help |
|
|---|
|
|
??-30 --+ | AuthS3
Extended version of Auth from gluon/tools.py - override login() & register() - add shn_register() callback - language
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
to be called unless tables are defined manually usages: # defines all needed tables and table files # UUID+'_auth_user.table', ... auth.define_tables() # defines all needed tables and table files # 'myprefix_auth_user.table', ... auth.define_tables(migrate='myprefix_') # defines all needed tables without migration/table files auth.define_tables(migrate=False) |
Overrides Web2Py's login() to use custom flash styles & utcnow returns a login form .. method:: Auth.login([next=DEFAULT [, onvalidation=DEFAULT [, onaccept=DEFAULT [, log=DEFAULT]]]]) |
Overrides Web2Py's register() to add new functionality: * Checks whether registration is permitted * Custom Flash styles * utcnow returns a registration form .. method:: Auth.register([next=DEFAULT [, onvalidation=DEFAULT [, onaccept=DEFAULT [, log=DEFAULT]]]]) |
S3 framework function Designed to be used as an onaccept callback for register() Whenever someone registers, it: * adds them to the 'Authenticated' role * adds their name to the Person Registry |
decorator that prevents access to action if not logged in or if user logged in is not a member of group_id. If role is provided instead of group_id then the group_id is calculated. Overrides Web2Py's requires_membership() to add new functionality: * Custom Flash style |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun May 30 23:29:56 2010 | http://epydoc.sourceforge.net |


been set.
return self._state.get(id)
def set_state(self, state):
Sets the state dictionary for all widgets
been set.
wstate = self._state.get(id, None)
if wstate is None:
return None
value_type = wstate.WhichOneof("value")
if value_type is None:
return None


Publish / Subscribe is another model in which a message (or publication, as it is commonly called) is sent to multiple consumers (or subscribers) through a topic. The topic is the link between the publisher and subscriber. Publications will be received by all subscribers. Any new subscribers to the same topic will not receive the post.
In this scenario, we have two distinct applications (App1 and App2) that simulate two different purpose APIs that "listen" to the same topic (Chat).
Each of the apps has its own consumer group (g1 and g2), so each message produced is sent to both apps at the same time.
Below are some reference links for this model:
Steps to simulate:


Voxo | PennApps Winter 2015 | © Ruiqi Mao 2015
Pressing Unmute on Life
Unfortunately, somebody else is using Voxo right now. Come back and try again later!
CALL
+1<PHONE_NUMBER>
SEND
1
2
3
4
5
6
7
8
9
*
0
#
END CALL


Toggle navigation
Vuu.se
Signed in as
-
Logout
New region
New card
View walls
×
VUU.SE wall list
Select a wall to view:
×
CREATE WALL:
Name
×
EDIT WALL:
Name
Transform
×
CREATE VIEW:
Name
×
EDIT VIEW:
Name
Current Transforms
Add Transform
×
CREATE REGION:
Label
Value
Color
×
EDIT REGION:
Label
Value
Color
×
CREATE CARD:
Title
×
EDIT CARD:
Title


This Accelerator showcases Watson powered automation for email actions and responses. It leverages Watson Conversation Service to identify the intent of the email, then uses a Watson Knowledge Studio custom annotation model through Natural Language Understanding to extract key information for automating requests. The Accelerator demonstrates two email automation scenarios; the first is automating the addition of drivers to insurance policies and the second is automating tickets for workstation management departments. You can switch between the two scenarios with the menu dropdown at the top right of the nav bar.
NEW! Send in custom emails to<EMAIL_ADDRESS>for Insurance scenarioYou can send in your own email to the Insurance scenario in this email. Please ensure you format any emails sent in correctly with the appropriate entities, otherwise the trained WKS model will not be able to properly identify the email. You should also remove any signature in your email. Click refresh in the emails view after you send and the email will show up in the list of emails. All emails sent in will be removed within 20 minutes. |
Identify the type (intent) of emails
Custom ML model to identify email entities
WKS model deployed through NLU API
Routes incoming emails to application
Stores emails on the cloud
You can find more Accelerators here: Watson Accelerator Portal


A full stack app using the Goodreads OAUTH and API to make and track reading goals.
A site for the DevMountain community to aggregate and browse learning resources from around the web, including reward incentives for participating in the aggregation. Currently being integrated into the main DevMountain page.
Portfolio site for David Blake, CEO of Degreed.com.


Test notie with these buttons:
Success
Warning
Error
Information
Confirm
Input
Official page:
https://jaredreich.com/projects/notie


YouTube Progressive Enhancement
This feature loads a YouTube video as a progressive enhancement feature. The video will only appear when the video successfully loads.
Cat Watching a Horror Video!
Check out this cat watching the horror classic Psycho. The end will surprise you!
YouTube Fallback
This feature loads a YouTube video with fallback content. It will hold space in the layout until the video loads or fails by using loading content.
The difference between dogs and cats...
Loading
Sorry. No YouTube for you... :-(
Check out the difference between dogs and cats in this crazy video. The end will shock you!


1st Birthday Invitations | First Birthday Invitations | 1st Birthday Party ...
Items 1 - 24 of 128 . Make your baby's first birthday milestone special with a whimsical 1st . that we also offer digital photo first birthday party invitations, which are .
http://www.invitationbox.com/1st-birthday-invitations.html
Treatment for Herniated or Bulging Discs
Photo Invitations, Photo Birthday Invitations | Simply to Impress
Plus, we make it so easy! So whether you need photo birthday invitations for a first birthday or a fifth, a christening or a Christmas event, one-of-a-kind party .
http://www.simplytoimpress.com/photo-invitations
Photo Birthday Invitations, First Birthday Party Cards, Collage 1st ...
Photo birthday invitations, 1st birthday photo invitations & children's first birthday invitations! . We love to create your child's personalized birthday invitations!
http://lilduckduck.com/Catalog/product-list.php?Photo_Birthday_Invitations-pg1-cid40.html
create a photo 1st birthday invite Herniated or Bulging Discs
Mickey's 1st Birthday Party Supplies | Mickey Mouse Invitations ...
Depending on your style and what kinds of pictures you want to create at this special event, you have several choices to create picture perfect 1st Birthday .
http://www.partypail.com/mickeys-first-birthday.html
First Birthday Invitations, 106400+ First Birthday Announcements ...
Customizable full color first birthday invitations, announcements .
http://www.zazzle.com/first+birthday+invitations
Baby's First Birthday Invitations: 1st Birthday Party Invitations ...
Choose Shutterfly and celebrate your little one's big day with custom first birthday invitations. Shutterfly can help you create birthday party invitations that are .
http://www.shutterfly.com/cards-stationery/baby-birthday-invitations
Official Impairment Listing for Spinal Disorders
1st Birthday Invitations | First Birthday Party Invitations | PaperStyle
Plan the perfect 1st birthday party invitations with these ideas for party food, favors, and gifts. Make It a Day to Remember! How to Choose Your Photo for an .
http://www.paperstyle.com/is-bin/1st-Birthday-Invitations.html
- find roots of x2 4x 2 (narrowing of the spine)
First Birthday Invitations by Tiny Prints
Our 1st birthday invitations are easily customizable for your little one's special day. . Birth Announcements - Photo Birth Announcements for Boys & Girls .
http://www.tinyprints.com/shop/first_birthday_invitations.htmBirthday Cards | Happy Birthday Photo Cards | Snapfish
Create photo cards, greeting cards, note cards, postcards at .
http://www.snapfish.com/snapfish/fe/photo-cards/birthday-cards
Personalized 1st Birthday Invitations | Photo, Baby Boy & Girl Designs
Baby Boy & Baby Girl First Birthday Invitationspersonalized with your baby's pictures, favorite colors & party details. Shop single & multi-photo designs!
http://www.magnetstreet.com/first-birthday-invitations
First Birthday Invitations : 1st Birthday Photo Invitations for Boys and ...
First Birthday Invitations : Buy trendy and modern 1st birthday invitations for . Create a DVD slide show of photographs from your baby's first year and play it .
http://www.lilsweetprince.com/invitations-1/1st-birthday.html
Medical-Vocational Allowance for Herniated Disc
Birthday Party Invitations, Cards & Birthday Party Announcements
LookLoveSend has designed birthday invitation cards for you to personlize and purchase in bulk. . Birthday Party Invitation with photo - first birthday wishes . Create a theme and let LookLoveSend print a birthday invitation card guaranteed .
http://www.looklovesend.com/shop/birthday-party-invitations.cfm
Baby Birthday Party Invitations and 1st Birthday ... - Stork Avenue
That's why we've created an adorable line of first birthday invitations. Here are our top six best . Buy/Customize. Photo Number 1 Boy Plaid Birthday Invitation .
http://www.storkavenue.com/invitations/baby_birthdayinvitations.html
Appealing a Denial of Benefits
Birthday Invitations & Birthday Party Invites | Shutterfly
Shutterfly offers birthday invitations in many different colors and designs. Create personalized birthday party invitations with your photos and message. . Baby Boy's 1st Birthday Invitations. . Baby Girl's 1st Birthday Invitations. . Boy Birthday .
http://www.shutterfly.com/cards-stationery/birthday-invitations
home.


Hey,
Browsing Roy Osherove’s blog I saw a short kata tasks designed to test in practice TDD approach to software development. The purpose of this kata was to create a simple calculator using TDD. I thought it would be a nice idea to create and describe the solutions of this Kata by FSCheck, xUnit and C#/F#. Why I think it might be fun? As a rule, such solutions can be found in C# with usage of NUnit or xUnit and here we will try an entirely different approach to writing unit test. at any rate unit.
The aim of this Kata will be to create a “calculator”. Let’s start with the steps that should be implemented:
- Create a class Calculator, which will include the Add method. The method should accept a single parameter of type string.
- We start from the fact that passing an empty string to a method should return 0.
- For single argument should return numeric value of this exact parameter, otherwise it should return 0.
- Function (add) should be converted in such a way that it can accept multiple arguments that the input string will be separated by a space.
- Our method should also be able to separate the input arguments with the newline character ‘\ n’.
- We need to modify our method so that it will accept another argument. This argument will tell our function how the input delimiter looks like. Delimiter should be of type string.
- The next step is to modify the method so that it threw an exception when input argument will contain any negative numbers.
- The last task is that, the numbers greater than 1000 should be skipped during summation.
If you want to do this kata on Your own, here is an empty project with a list of tests to implement.
Here is my resolution :) Well, since we have written in paragraphs what we should do, let’s start with the realization of the first point. To do this, we start by writing a test that will check whether the method add for an empty input string returns 0. In this case, I write the normal xUnit specs. This tests are as follows:
C#: F#:
Since we have a tests, we can run them, of course, the tests should be ‘red’.
Due to the fact that the implementation of add method is empty, let’s implement it. For now, for any input parameter it should return 0.
We run the tests again, and as we can see they are green.
So let’s go to the point 1.2, this time if an input argument has a numeric value it should be return. Otherwise, we should return 0. To do this, I wrote FsCheck test. Why? It will allow us to test the method on a number of input data, and not just a single “input”. As I mentioned earlier FsCheck test run test for various inputs 100 times (this is the default value, which can be changed in the custom configuration, about which I say more in point 4). The tests are below (as we can see, to run/annotate FsCheck test we use an xUnit (annotation on the method [Fact])):
C#: F#:
Before we get to the results of the test, we need to clarify some issues. We’ll start with the code in C#. Prop.ForAll means that test run for all data submitted in 1 argument (which could be read “for all properties do something”), for which we do the check referred to in the second argument. Worth noting here is also a way of generating input data, which looks as follows:
We can see that we generate any numeric value int and then convert it to a string to fit the input function.
The Arbitrary type means an instance that wraps the test data generator and shrinker (which is responsible for matching the data that don’t meet the condition of our check, and ‘shrinks’ it to the ‘smallest’ one which is not passing the test).
In contrast, Arb.Generate
But if we have more complex models generic version of Prop.All would not works. In F# we define parameters to a function with a valid types and FsCheck do all for us.
Now we proceed to implement the Add method. For each of the input, method should return its numeric value. Please note that the input argument to the method is a string, so we have to check if the parameter is correct. Implementation of the Add method in this stage looks like this:
The next step will be to adapt the add method in that way it could be able to accept many numbers separated by a space as an argument. For this purpose, we modified/create new one test methods to accept a list of numbers, which then are combined to a string and pass to the method. The tests are as follows:
C#: F#:
We can see that in F# case I used several functions that were not used previously. So their and other utils functions implementations are shown below:
Modified Add method looks as follows:
So far, the number could be separated only by a space, we introduce a modification that numbers could be also splitted by a new line character.
Tests looks like this:
C#: F#:
The modified code of an Add method:
Another point is to change the function so that it is able to accept an additional argument, so we could call a function with any delimiter. In C# case, you must write a custom data generator. So that each test was passed object with a list of numbers and a custom delimiter, which is in the form of a single string. Such generator looks like this:
The modified tests is as follows:
C#: F#:
Modified add method looks like this:
We find, however, that the test is not green, why is this happening? Delimiter can be any string of characters, and thus the number. In the case when it is a number, and exactly the same number(s) exists in the input data array. The result of a method is incorrect. So what we have to do? We must bear in mind that the delimiter may not be a number, in this case, we modify our F# test and C# generator as follows:
C# generator: F# test:
As mentioned at point 2. I wanted to mention here how to modify the test run configuration. We catch an error just because test run on various data a few times. What to do to avoid this? You can specify a modified configuration. It looks as follows:
Parameters StartSize and EndSize define the granularity at which data generator generates data. Generators in FsCheck increase their value in small steps, eg. 1, 2, 4, 10 … etc. An important aspect is also the fact that the launch of the test with their own setup is a little different, instead Check.Quick(test) or Check.QuickThrowOnFailure(test) we call Check.One(config, test).
Penultimate thing to do is to throw an exception if we pass a negative numbers to a add method. So here are the tests:
C#: F#:
Modified Add method looks like this:
The last point to achieve is to skip adding up numbers that are greater than 1000, so that eg. An attempt to call the Add method with two values 1001 and 1 should return 1. Test code looks like this:
C#: F#:
Add method:
In summary due FsCheck we have the opportunity to test the reaction of the data for a large range input. What we would not be able to fully check via normal unit testing eg. In NUnit or xUnit (which by the way have attributes to fire tests with specific parameters TestCase for NUnit and Inline for xUnit). With random testing we could draw a conclusion about delimiters that they can not be a number what could be impossible to achieve with conventional unit tests. The mere use of FsCheck with such a problem may seem like rifle shooting to the fly, but it has to show us the basic features and capabilities of property-based testingu and random testing using FsCheck, which has the intention to set/check properties of arguments/properties.
Thanks for reading. All source could be found on github:


Compared with the V-12-powered car that launched the all-new DB11 range last year, the 2018 Aston Martin DB11 V8 has four fewer cylinders, develops 97 hp less, and its torque output falls short by 18 lb-ft. And it’s the better car for it. The DB11 V8 looks virtually identical to its gorgeous V12 powered sibling. But under that thrusting hood is one of our favorite engines—the thundering 4.0-liter twin-turbo V-8 developed by AMG, whose parent company, Daimler, owns a 5 percent stake in Aston Martin.
Read More →The BMW 2 Series family in the U.S. consists of a coupe and convertible model, but starting in 2020, it will gain a new family member. The 2 Series Gran Coupe has been rumored for years now and according to our sources, the four-door entry-level coupe will arrive on this side of the pond. Earlier today, first spy shots of the 2er Gran Coupe surfaced on the interwebs, in a way a confirmation to the numerous rumors.
Read More →The Honda Accord is by no means a younger sibling, operating as the senior member of American Honda’s fleet. More specifically, the 2018 Honda Accord will never be viewed as the little brother in the American Honda family, not with these substantial dimensions and MSRPs that reach deep into the $30Ks.But the 10th-generation Accord is still a Honda. Just a Honda. Merely a Honda. Only a Honda. And while you might expect Honda to enjoy technological hand-me-downs from the automaker’s upmarket Acura brand, that’s not the way it works. Not when it comes to the Accord. As a result, we’ll wait and see which hand-me-ups appear on the next all-new Acura, the third-generation 2019 Acura RDX.
Read More →


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Acl
Interface representing an Access Control List (ACL). An Access Control List is a data structure used to guard access to resources.
An ACL can be thought of as a data structure with multiple ACL entries. Each ACL entry, of interface type AclEntry, contains a set of permissions associated with a particular principal. (A principal represents an entity such as an individual user or a group). Additionally, each ACL entry is specified as being either positive or negative. If positive, the permissions are to be granted to the associated principal. If negative, the permissions are to be denied.
The ACL Entries in each ACL observe the following rules:
java.security.acl
package provides the
interfaces to the ACL and related data structures (ACL entries,
groups, permissions, etc.), and the sun.security.acl
classes provide a default implementation of the interfaces. For
example, java.security.acl.Acl
provides the
interface to an ACL and the sun.security.acl.AclImpl
class provides the default implementation of the interface.
The java.security.acl.Acl
interface extends the
java.security.acl.Owner
interface. The Owner
interface is used to maintain a list of owners for each ACL. Only
owners are allowed to modify an ACL. For example, only an owner can
call the ACL's addEntry
method to add a new ACL entry
to the ACL.
AclEntry
,
Owner
,
getPermissions(java.security.Principal)
| Method Summary | |
|---|---|
boolean |
addEntry(Principal caller,
AclEntry entry)
Adds an ACL entry to this ACL. |
boolean |
checkPermission(Principal principal,
Permission permission)
Checks whether or not the specified principal has the specified permission. |
Enumeration<AclEntry> |
entries()
Returns an enumeration of the entries in this ACL. |
String |
getName()
Returns the name of this ACL. |
Enumeration<Permission> |
getPermissions(Principal user)
Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group). |
boolean |
removeEntry(Principal caller,
AclEntry entry)
Removes an ACL entry from this ACL. |
void |
setName(Principal caller,
String name)
Sets the name of this ACL. |
String |
toString()
Returns a string representation of the ACL contents. |
| Methods inherited from interface java.security.acl.Owner |
|---|
addOwner, deleteOwner, isOwner |
| Method Detail |
|---|
void setName(Principal caller, String name) throws NotOwnerException
caller
- the principal invoking this method. It must be an
owner of this ACL.name
- the name to be given to this ACL.
NotOwnerException
- if the caller principal
is not an owner of this ACL.getName()
String getName()
setName(java.security.Principal, java.lang.String)
boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException
caller
- the principal invoking this method. It must be an
owner of this ACL.entry
- the ACL entry to be added to this ACL.
NotOwnerException
- if the caller principal
is not an owner of this ACL.boolean removeEntry(Principal caller, AclEntry entry) throws NotOwnerException
caller
- the principal invoking this method. It must be an
owner of this ACL.entry
- the ACL entry to be removed from this ACL.
NotOwnerException
- if the caller principal is not
an owner of this Acl.Enumeration<Permission> getPermissions(Principal user)
The individual positive and negative permission sets are also determined. The positive permission set contains the permissions specified in the positive ACL entry (if any) for the principal. Similarly, the negative permission set contains the permissions specified in the negative ACL entry (if any) for the principal. The individual positive (or negative) permission set is considered to be null if there is not a positive (negative) ACL entry for the principal in this ACL.
The set of permissions granted to the principal is then calculated using the simple rule that individual permissions always override the group permissions. That is, the principal's individual negative permission set (specific denial of permissions) overrides the group positive permission set, and the principal's individual positive permission set overrides the group negative permission set.
user
- the principal whose permission set is to be returned.
Enumeration<AclEntry> entries()
boolean checkPermission(Principal principal, Permission permission)
getPermissions
method.
principal
- the principal, assumed to be a valid authenticated
Principal.permission
- the permission to be checked for.
getPermissions(java.security.Principal)
String toString()
toString
in class Object
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Previous | Contents | Index | Next
open
command: start a sessionquit
command: end your sessionclose
command: close your connectionhelp
command: get quick online helpcd
and pwd
commands: changing the remote working directorylcd
and lpwd
commands: changing the local working directoryget
command: fetch a file from the serverput
command: send a file to the servermget
and mput
commands: fetch or send multiple filesreget
and reput
commands: resuming file transfersdir
command: list remote fileschmod
command: change permissions on remote filesdel
command: delete remote filesmkdir
command: create remote directoriesrmdir
command: remove remote directoriesmv
command: move and rename remote files!
command: run a local Windows commandPSFTP, the PuTTY SFTP client, is a tool for transferring files securely between computers using an SSH connection.
PSFTP differs from PSCP in the following ways:
ftp
program. You can list the contents of directories, browse around the file system, issue multiple get
and put
commands, and eventually log out. By contrast, PSCP is designed to do a single file transfer operation and immediately terminate.
The usual way to start PSFTP is from a command prompt, much like PSCP. To do this, it will need either to be on your PATH
or in your current directory. To add the directory containing PSFTP to your PATH
environment variable, type into the console window:
set PATH=C:\path\to\putty\directory;%PATH%
Unlike PSCP, however, PSFTP has no complex command-line syntax; you just specify a host name and perhaps a user name:
psftp server.example.com
or perhaps
psftp<EMAIL_ADDRESS>Alternatively, if you just type psftp
on its own (or double-click the PSFTP icon in the Windows GUI), you will see the PSFTP prompt, and a message telling you PSFTP has not connected to any server:
C:\>psftp
psftp: no hostname specified; use "open host.name" to connect
psftp>
At this point you can type open server.example.com
or open<EMAIL_ADDRESS>to start a session.
PSFTP accepts all the general command line options supported by the PuTTY tools, except the ones which make no sense in a file transfer utility. See section 3.11.3 for a description of these options. (The ones not supported by PSFTP are clearly marked.)
PSFTP also supports some of its own options. The following sections describe PSFTP's specific command-line options.
-b
: specify a file containing batch commandsIn normal operation, PSFTP is an interactive program which displays a command line and accepts commands from the keyboard.
If you need to do automated tasks with PSFTP, you would probably prefer to specify a set of commands in advance and have them executed automatically. The -b
option allows you to do this. You use it with a file name containing batch commands. For example, you might create a file called myscript.scr
containing lines like this:
cd /home/ftp/users/jeff
del jam-old.tar.gz
ren jam.tar.gz jam-old.tar.gz
put jam.tar.gz
chmod a+r jam.tar.gz
and then you could run the script by typing
psftp user@hostname -b myscript.scr
When you run a batch script in this way, PSFTP will abort the script if any command fails to complete successfully. To change this behaviour, you can add the -be
option (section 6.1.3).
PSFTP will terminate after it finishes executing the batch script.
-bc
: display batch commands as they are run
The -bc
option alters what PSFTP displays while processing a batch script specified with -b
. With the -bc
option, PSFTP will display prompts and commands just as if the commands had been typed at the keyboard. So instead of seeing this:
C:\>psftp fred@hostname -b batchfile
Sent username "fred"
Remote working directory is /home/fred
Listing directory /home/fred/lib
drwxrwsr-x 4 fred fred 1024 Sep 6 10:42 .
drwxr-sr-x 25 fred fred 2048 Dec 14 09:36 ..
drwxrwsr-x 3 fred fred 1024 Apr 17 2000 jed
lrwxrwxrwx 1 fred fred 24 Apr 17 2000 timber
drwxrwsr-x 2 fred fred 1024 Mar 13 2000 trn
you might see this:
C:\>psftp fred@hostname -bc -b batchfile
Sent username "fred"
Remote working directory is /home/fred
psftp> dir lib
Listing directory /home/fred/lib
drwxrwsr-x 4 fred fred 1024 Sep 6 10:42 .
drwxr-sr-x 25 fred fred 2048 Dec 14 09:36 ..
drwxrwsr-x 3 fred fred 1024 Apr 17 2000 jed
lrwxrwxrwx 1 fred fred 24 Apr 17 2000 timber
drwxrwsr-x 2 fred fred 1024 Mar 13 2000 trn
psftp> quit
-be
: continue batch processing on errorsWhen running a batch file, this additional option causes PSFTP to continue processing even if a command fails to complete successfully.
You might want this to happen if you wanted to delete a file and didn't care if it was already not present, for example.
-batch
: avoid interactive prompts
If you use the -batch
option, PSFTP will never give an interactive prompt while establishing the connection. If the server's host key is invalid, for example (see section 2.2), then the connection will simply be abandoned instead of asking you what to do next.
This may help PSFTP's behaviour when it is used in automated scripts: using -batch
, if something goes wrong at connection time, the batch job will fail rather than hang.
-no-sanitise-stderr
: control error message sanitisation
The -no-sanitise-stderr
option will cause PSFTP to pass through the server's standard-error stream literally, without stripping control characters from it first. This might be useful if the server were sending coloured error messages, but it also gives the server the ability to have unexpected effects on your terminal display. For more discussion, see section <IP_ADDRESS>.
Once you have started your PSFTP session, you will see a psftp>
prompt. You can now type commands to perform file-transfer functions. This section lists all the available commands.
Any line starting with a #
will be treated as a comment and ignored.
Most PSFTP commands are considered by the PSFTP command interpreter as a sequence of words, separated by spaces. For example, the command ren oldfilename newfilename
splits up into three words: ren
(the command name), oldfilename
(the name of the file to be renamed), and newfilename
(the new name to give the file).
Sometimes you will need to specify file names that contain spaces. In order to do this, you can surround the file name with double quotes. This works equally well for local file names and remote file names:
psftp> get "spacey file name.txt" "save it under this name.txt"
The double quotes themselves will not appear as part of the file names; they are removed by PSFTP and their only effect is to stop the spaces inside them from acting as word separators.
If you need to use a double quote (on some types of remote system, such as Unix, you are allowed to use double quotes in file names), you can do this by doubling it. This works both inside and outside double quotes. For example, this command
psftp> ren ""this"" "a file with ""quotes"" in it"
will take a file whose current name is "this"
(with a double quote character at the beginning and the end) and rename it to a file whose name is a file with "quotes" in it
.
(The one exception to the PSFTP quoting rules is the !
command, which passes its command line straight to Windows without splitting it up into words at all. See section 6.2.19.)
Several commands in PSFTP support ‘wildcards’ to select multiple files.
For local file specifications (such as the first argument to put
), wildcard rules for the local operating system are used. For instance, PSFTP running on Windows might require the use of *.*
where PSFTP on Unix would need *
.
For remote file specifications (such as the first argument to get
), PSFTP uses a standard wildcard syntax (similar to POSIX wildcards):
*
matches any sequence of characters (including a zero-length sequence).
?
matches exactly one character.
[abc]
matches exactly one character which can be a
, b
, or c
.
[a-z]
matches any character in the range a
to z
.
[^abc]
matches a single character that is not a
, b
, or c
.
Special cases: [-a]
matches a literal hyphen (-
) or a
; [^-a]
matches all other characters. [a^]
matches a literal caret (^
) or a
.
\
(backslash) before any of the above characters (or itself) removes that character's special meaning.
A leading period (.
) on a filename is not treated specially, unlike in some Unix contexts; get *
will fetch all files, whether or not they start with a leading period.
open
command: start a session
If you started PSFTP by double-clicking in the GUI, or just by typing psftp
at the command line, you will need to open a connection to an SFTP server before you can issue any other commands (except help
and quit
).
To create a connection, type open host.name
, or if you need to specify a user name as well you can type open<EMAIL_ADDRESS>. You can optionally specify a port as well: open<EMAIL_ADDRESS>22
.
Once you have issued this command, you will not be able to issue it again, even if the command fails (for example, if you mistype the host name or the connection times out). So if the connection is not opened successfully, PSFTP will terminate immediately.
quit
command: end your session
When you have finished your session, type the command quit
to close the connection, terminate PSFTP and return to the command line (or just close the PSFTP console window if you started it from the GUI).
You can also use the bye
and exit
commands, which have exactly the same effect.
close
command: close your connection
If you just want to close the network connection but keep PSFTP running, you can use the close
command. You can then use the open
command to open a new connection.
help
command: get quick online help
If you type help
, PSFTP will give a short list of the available commands.
If you type help
with a command name - for example, help get
- then PSFTP will give a short piece of help on that particular command.
cd
and pwd
commands: changing the remote working directory
PSFTP maintains a notion of your ‘working directory’ on the server. This is the default directory that other commands will operate on. For example, if you type get filename.dat
then PSFTP will look for filename.dat
in your remote working directory on the server.
To change your remote working directory, use the cd
command. If you don't provide an argument, cd
will return you to your home directory on the server (more precisely, the remote directory you were in at the start of the connection).
To display your current remote working directory, type pwd
.
lcd
and lpwd
commands: changing the local working directory
As well as having a working directory on the remote server, PSFTP also has a working directory on your local machine (just like any other Windows process). This is the default local directory that other commands will operate on. For example, if you type get filename.dat
then PSFTP will save the resulting file as filename.dat
in your local working directory.
To change your local working directory, use the lcd
command. To display your current local working directory, type lpwd
.
get
command: fetch a file from the server
To download a file from the server and store it on your local PC, you use the get
command.
In its simplest form, you just use this with a file name:
get myfile.dat
If you want to store the file locally under a different name, specify the local file name after the remote one:
get myfile.dat newname.dat
This will fetch the file on the server called myfile.dat
, but will save it to your local machine under the name newname.dat
.
To fetch an entire directory recursively, you can use the -r
option:
get -r mydir
get -r mydir newname
(If you want to fetch a file whose name starts with a hyphen, you may have to use the --
special argument, which stops get
from interpreting anything as a switch after it. For example, ‘get -- -silly-name-
’.)
put
command: send a file to the server
To upload a file to the server from your local PC, you use the put
command.
In its simplest form, you just use this with a file name:
put myfile.dat
If you want to store the file remotely under a different name, specify the remote file name after the local one:
put myfile.dat newname.dat
This will send the local file called myfile.dat
, but will store it on the server under the name newname.dat
.
To send an entire directory recursively, you can use the -r
option:
put -r mydir
put -r mydir newname
(If you want to send a file whose name starts with a hyphen, you may have to use the --
special argument, which stops put
from interpreting anything as a switch after it. For example, ‘put -- -silly-name-
’.)
mget
and mput
commands: fetch or send multiple files
mget
works almost exactly like get
, except that it allows you to specify more than one file to fetch at once. You can do this in two ways:
mget file1.txt file2.txt
’)
mget *.txt
’).
Every argument to mget
is treated as the name of a file to fetch (unlike get
, which will interpret at most one argument like that, and a second argument will be treated as an alternative name under which to store the retrieved file), or a wildcard expression matching more than one file.
The -r
and --
options from get
are also available with mget
.
mput
is similar to put
, with the same differences.
reget
and reput
commands: resuming file transfers
If a file transfer fails half way through, and you end up with half the file stored on your disk, you can resume the file transfer using the reget
and reput
commands. These work exactly like the get
and put
commands, but they check for the presence of the half-written destination file and start transferring from where the last attempt left off.
The syntax of reget
and reput
is exactly the same as the syntax of get
and put
:
reget myfile.dat
reget myfile.dat newname.dat
reget -r mydir
These commands are intended mainly for resuming interrupted transfers. They assume that the remote file or directory structure has not changed in any way; if there have been changes, you may end up with corrupted files. In particular, the -r
option will not pick up changes to files or directories already transferred in full.
dir
command: list remote files
To list the files in your remote working directory, just type dir
.
You can also list the contents of a different directory by typing dir
followed by the directory name:
dir /home/fred
dir sources
And you can list a subset of the contents of a directory by providing a wildcard:
dir /home/fred/*.txt
dir sources/*.c
The ls
command works exactly the same way as dir
.
chmod
command: change permissions on remote files
PSFTP allows you to modify the file permissions on files and directories on the server. You do this using the chmod
command, which works very much like the Unix chmod
command.
The basic syntax is chmod modes file
, where modes
represents a modification to the file permissions, and file
is the filename to modify. You can specify multiple files or wildcards. For example:
chmod go-rwx,u+w privatefile
chmod a+r public*
chmod 640 groupfile1 groupfile2
The modes
parameter can be a set of octal digits in the Unix style.  Alternatively, it can be a list of permission modifications, separated by commas. Each modification consists of:
u
(the owning user), g
(members of the owning group), or o
(everybody else - ‘others’), or some combination of those. It can also be a
(‘all’) to affect everybody at once.
+
or -
sign, indicating whether permissions are to be added or removed.
r
(permission to read the file), w
(permission to write to the file), and x
(permission to execute the file, or in the case of a directory, permission to access files within the directory).
So the above examples would do:
go-rwx
removes read, write and execute permissions for members of the owning group and everybody else (so the only permissions left are the ones for the file owner). u+w
adds write permission for the file owner.
a+r
adds read permission for everybody to all files and directories starting with ‘public’.
In addition to all this, there are a few extra special cases for Unix systems. On non-Unix systems these are unlikely to be useful:
u+s
and u-s
to add or remove the Unix set-user-ID bit. This is typically only useful for special purposes; refer to your Unix documentation if you're not sure about it.
g+s
and g-s
to add or remove the Unix set-group-ID bit. On a file, this works similarly to the set-user-ID bit (see your Unix documentation again); on a directory it ensures that files created in the directory are accessible by members of the group that owns the directory.
+t
and -t
to add or remove the Unix ‘sticky bit’. When applied to a directory, this means that the owner of a file in that directory can delete the file (whereas normally only the owner of the directory would be allowed to).
del
command: delete remote files
To delete a file on the server, type del
and then the filename or filenames:
del oldfile.dat
del file1.txt file2.txt
del *.o
Files will be deleted without further prompting, even if multiple files are specified.
del
will only delete files. You cannot use it to delete directories; use rmdir
for that.
The rm
command works exactly the same way as del
.
mkdir
command: create remote directories
To create a directory on the server, type mkdir
and then the directory name:
mkdir newstuff
You can specify multiple directories to create at once:
mkdir dir1 dir2 dir3
rmdir
command: remove remote directories
To remove a directory on the server, type rmdir
and then the directory name or names:
rmdir oldstuff
rmdir *.old ancient
Directories will be deleted without further prompting, even if multiple directories are specified.
Most SFTP servers will probably refuse to remove a directory if the directory has anything in it, so you will need to delete the contents first.
mv
command: move and rename remote files
To rename a single file on the server, type mv
, then the current file name, and then the new file name:
mv oldfile newname
You can also move the file into a different directory and change the name:
mv oldfile dir/newname
To move one or more files into an existing subdirectory, specify the files (using wildcards if desired), and then the destination directory:
mv file dir
mv file1 dir1/file2 dir2
mv *.c *.h ..
The rename
and ren
commands work exactly the same way as mv
.
!
command: run a local Windows command
You can run local Windows commands using the !
command. This is the only PSFTP command that is not subject to the command quoting rules given in section 6.2.1. If any command line begins with the !
character, then the rest of the line will be passed straight to Windows without further translation.
For example, if you want to move an existing copy of a file out of the way before downloading an updated version, you might type:
psftp> !ren myfile.dat myfile.bak
psftp> get myfile.dat
using the Windows ren
command to rename files on your local PC.
Like PuTTY, PSFTP can authenticate using a public key instead of a password. There are three ways you can do this.
Firstly, PSFTP can use PuTTY saved sessions in place of hostnames. So you might do this:
psftp sessionname
, where sessionname
is replaced by the name of your saved session.
Secondly, you can supply the name of a private key file on the command line, with the -i
option. See section <IP_ADDRESS> for more information.
Thirdly, PSFTP will attempt to authenticate using Pageant if Pageant is running (see chapter 9). So you would do this:
For more general information on public-key authentication, see chapter 8.
If you want to provide feedback on this manual or on the PuTTY tools themselves, see the Feedback page.
[PuTTY release 0.78]


Following Wednesday’s Senate vote, I wrote both of my Senators, one of which voted in favor of the amendment, one against. You can read the letters below.
To Dan Coats, voted against the amendment
Dear Senator Coats,
I am writing to express my deep disappointment in your vote on the Manchin-Toomey amendement defeated in the Senate Wednesday evening. A law requiring background checks on any gun sale is common sense, and the failure of the Senate to break the status quo of voting against difficult choices is deplorable.
In addition, looking through public records, it is hard for me to separate political contributions from pro-gun organizations from representatives voting patterns. Accepting $1,000 from Safari Club International (3/29/2013, transaction # A48564D256394D1CA74) gives the appearance of agreeing with the lobby, rather than with the desires of the people you represent.
Hiding behind the “slippery slope” argument is weak, shortsighted, and a failure to stand up to major concerns in the country. I hope you will reconsider your decision if the legislation is introduced again.
Regretfully,
Brian E. Bennett
South Bend, IN
To Joe Donnelly, in favor of the amendments
Dear Senator Donnelly,
I want to thank you for voting in favor the Manchin-Toomey background check amendment in the Senate on Wednesday.
I am disappointed that the Senate did not take up the amendment, but I appreciate that you are standing up for compromise between parties and willing to take a stand on common sense legislation when it comes to gun regulations.
I want to encourage you to work with your counterpart, Senator Coats, in the continuation of the bill in the Senate.
Sincerely,
Brian E. Bennett
South Bend, IN
Please, take a moment to send a letter to your Senator. It is time we begin voicing our opinions strongly and consistently.
UPDATE 4/19/2013 12:05 PM I wanted to post my sources for the donations received by Dan Coats. You can see his quarterly donation report here, the referenced donation is page 34 of 64. Joe Donnelly’s report is here, and he did not file a receipt for pro-gun groups during Q1.
Written on April 19th, 2013 by Brian Bennett Categorized in: All Life
Leave a comment


Ambitious Front End Developer with an interest in UX/UI design. I hope to bring a creative problem solving approach to creating products and experiences. Some people call me the space cowboy, yeah, some call me the gangster of love. Some people call me Maurice, ‘cause I speak of the pompatus of love. People talk about me, baby, say I'm doin' you wrong, doin' you wrong. Well, don't you worry, baby, don't worry, ‘cause I'm right here, right here, right here, right here at home. ‘Cause I'm a picker, I'm a grinner, I'm a lover, and I'm a sinner. I play my music in the sun. I'm a joker, I'm a smoker, I'm a midnight toker. I sure don't want to hurt no one. I'm a picker, I'm a grinner, I'm a lover, and I'm a sinner. I play my music in the sun. I'm a joker, I'm a smoker, I'm a midnight toker. I get my lovin' on the run. Woo-hoo, woo-hoo. You're the cutest thing that I ever did see. I really love your peaches, want to shake your tree. Lovey-dovey, lovey-dovey, lovey-dovey all the time. Ooo-eee baby, I'll sure show you good time ‘cause I'm a picker, I'm a grinner, I'm a lover and I'm a sinner, I play my music in the sun. I'm a joker, I'm a smoker, I'm a midnight toker I get my lovin' on the run.


J.D. Candidate, Class of 2020 University of California, Davis School of Law Davis, CA
Dishan is a Juris Doctor Graduate from University of California, Davis School of Law. A Dean's Merit Scholar, Dishan was on the Moot Court Honors Board, co-chairing the UC Davis Asylum & Refugee Law National Moot Court Competition. Furthermore, Dishan was also a board member of the King Hall International Law Association and King Hall Intellectual Property Law. Before Law school, Dishan completed his bachelor's in mechanical engineering from the National Institute of Technology Karnataka, India. He, therefore, intends to use his technical background to zealously advocate in his legal career.
Currently, Dishan has returned back to Mumbai, India. He intends to start his career in M&A and Corporate Transactions. He is therefore, looking for suitable opportunities in Mumbai.
<EMAIL_ADDRESS>Linkedin Page


vignettes/VII_combine_raster_point.Rmd
VII_combine_raster_point.Rmd
Observational and gridded data can be visualized or analyzed together for a variety of purposes. Users may want to identify spatial patterns in the alignment of dogwood bloom and the Spring Index bloom model. The current year’s lilac leaf out observations may be compared to the 30 year average lilac sub-model of the spring index to see how well the model predicts the observations.
This example shows several data access calls to assemble observational and gridded data.
Option 1: You can add a parameter to an observational data call to additionally get a gridded layer value for each observation location/date. Note that if you don’t specify which sub model of the Spring Index you want, you will get the SI-x Average layers.
npn_download_site_phenometrics(
request_source = 'Your Name Here',
years = '2013',
num_days_quality_filter = '30',
species_ids = '35',
phenophase_ids = '373',
download_path = 'cl_lilac_data_2013_SIxLeaf.csv',
six_leaf_layer = TRUE,
six_sub_model = 'lilac'
)
If you want to append raster data other than Spring Index, Leaf values, there’s alternative boolean flags that can be set, including six_bloom_layer for Spring Index, Bloom data, and agdd_layer. Instead of TRUE or FALSE agdd_layer takes 32 or 50 and will correlate each data point with the corresponding AGDD value for the given date using either 32 or 50 base temperature.
Option 2: You can create a combined plot of observational data with modeled/raster data.
Building on the approach for accessing point data from earlier vignettes describing Individual Phenometrics and getting raster data, we can access and plot these products together. In this example, we will look at how well cloned lilac leaf out observations in 2018 are predicted by the lilac leaf sub model of the Spring Index.
LilacLeaf2018<-npn_download_geospatial(
'si-x:lilac_leaf_ncep_historic',
'2018-01-01',
)
LilacLeaf2018Obs <-npn_download_individual_phenometrics(
request_source = 'Your Name Here',
years = '2018',
species_ids = '35',
phenophase_ids = '373'
)
coords <- LilacLeaf2018Obs[ , c("longitude", "latitude")]
data <- as.data.frame(LilacLeaf2018Obs$first_yes_doy)
crs <- CRS("+proj=utm +zone=18 +datum=WGS84 +units=m +no_defs
+ellps=WGS84 +towgs84=0,0,0")
LL_spdf <- SpatialPointsDataFrame(
coords = coords,
data = data,
proj4string = crs
)
my.palette <- brewer.pal(n=9,name="OrRd")
plot(
LilacLeaf2018,
col = my.palette,
main="2018 Observed and Predicted Lilac Leaf Out"
)
plot(
LL_spdf,
main="Lilac Obs",
pch = 21,
bg = my.palette,
col = 'black',
xlim=c(-125.0208,-66.47917),
ylim=c(24.0625 ,49.9375),
add = TRUE
)
legend(
"bottomright",
legend=c("Cloned Lilac Leaf Out Observations"),
pch = 21,
bg = 'white',
col = 'black',
bty="n",
cex=.8
)


The Worldwide Web is primarily a collection of HTML documents.
Major Components of the WWW
Your computer and browser (MS IE, Chrome, Firefox, etc.).
The Internet (world's largest computer network).
Server (computer that receives request using HTTP protocol and sends information back to browser).
HTML Documents
HTML documents are the heart of the Web.
HTML documents are made up of elements. Browsers recognize these elements through the use of tags.
Tags
Tags can be used to format text, add images and or create links to web pages.
Here are examples: Bold, Italics or Sports.
DIV and SPAN
These are known as block and inline elements, respectively. Block elements, the DIV tag, create an invisible box around content. Inline elements, the SPAN tag, creates a box within a line of text.
 What is meant by this is that computers interpret instructions literally. This can turn small programming errors into large problems.
Lesson 2: Creating a Structured Document with HTML
Coding Languages Used for Web Pages
HTML (Hyper Text Manipulation Language)- Used to lay out and structure web page (like walls in a house)
CSS (Cascading Style Sheets)- Used to define the style of web pages (like carpet, paint & wall decorations in a house)
JavaScript - Controls interactive components on a page (similar to a garage door opener or TV remote in a home)
Web Page Structures
Developer tools in browsers can be used to view their underlying structure.
Elements, tags, objects, images, etc. appear in a tree-like structure known as Document Object Model (DOM).
All elements on web pages are contained in boxes. The boxes can contain text, images and/or shapes.
Code & Indentations
Code is written using a series of indentations. This is done to make it more readable and, therefore, easier to debug. Indentations are also used to depict the nested nature boxes in HTML.
Text Editors
Text editors are tools that are used as a venue for writing code. The three tools evaluated were Scratchpad, Codepen and Sublime Text. Each tool has relative strengths & weaknesses, so choosing one is really a matter of personal preference.
Lesson 3: Adding Style Elements to HTML Structure
CSS
CSS stands for Cascading Style Sheets. The primary function of CSS is to add style elements to HTML.
Code, Test, Refine
This is the methodology that we have been following so far as we write code. The steps are:
1) Look for natural boxes. 2) Look for repeated styles & semantic elements. 3) Write HTML. 4) Apply styles (biggest features on page to smallest features). 5) Fix things.
Dev Tools are used to examine, evaluate and correct code on the fly.
Avoiding Repetition
Avoiding repetition is important for several reasons:
Allows consistancy when applying a style or change across a group of elements.
Eliminates the need to examine many, stand-alone lines of code to find mistakes.
Less code writing is required, generating more usable code.


What is Camlistore?
Camlistore is your personal storage system for life. It is:
- a way to store, sync, share, model and back up content
- everything private by default
- entirely under your control
- Open Source (Apache licensed)
- an acronym for "Content-Addressable Multi-Layer Indexed Storage", saying that Camlistore is about:
- content-addressable storage (at the lowest layer)
- separate interoperable parts (storage, sync, sharing,
modeling), with well-defined protocols and roles
- indexing and searching your content
- your "home directory for the web"
- pro-JSON (yet aggressively format agnostic)
- pro-OpenPGP (for signing claims)
- pro-paranoia and privacy
- ambitious, but ...
- simple!
- programming language-agnostic (parts and different implementations in Go, Python, Java, Perl, Bash, ... the language doesn't matter.) What matters is well-defined, simple HTTP interfaces.
- neither "Cloud" nor "Local". happily both. Run it on your own machine (any OS, any architecture), your phone, EC2, App Engine, Heroku, whatever.
- a "20% project" from a few Google employees, but not Google-centric nor endorsed by Google (other than them letting us open source our side project)
Latest Release
The latest release is 0.1 ("Grenoble"), released 2013-06-11.
Old presentations
See http://camlistore.org/talks/2011-05-07-Camlistore-Sao-Paolo/.
There's also this older presentation.


* Requires privileged user
| Description | Query |
|---|---|
| Version | SELECT @@version |
| Users | SELECT user FROM mysql.user SELECT user(); SELECT system_user() * SELECT Super_priv FROM mysql.user WHERE user= 'root' LIMIT 1,1 |
| Current Database | SELECT database() |
| Databases | SELECT schema_name FROM information_schema.schemata |
| Tables | SELECT table_schema,table_name FROM information_schema.tables |
| Columns | SELECT table_schema, table_name, column_name FROM information_schema.columns |
| Number of Columns | SELECT * FROM USERS ORDER BY 1 Increase 1 until query returns false, previous number was the amount of columns |
| DBA Accounts | SELECT host, user FROM mysql.user WHERE Super_priv = 'Y' |
| Password Hashes | SELECT host, user, password FROM mysql.user |
| Schema | SELECT schema() |
| Path to Data | SELECT @@datadir |
| Read Files | * SELECT LOAD_FILE('/etc/passwd') |


# File bin/experimental-filter.rb, line 164 def main # Read the .rdeliver file, which fills in the Deliver class. $config = '.rdeliver' # FIXME: make errors logged from this a lot more clear. eval(IO.readlines($config, nil)[0].untaint, Deliver.module_eval('binding()'), $config) begin toucher_thread = Thread.start { loop { now = Time.now File.utime(now, now, File.join("Maildir", ".filter.lock")) sleep(60) } } loop { process_queue sleep(15) } ensure Thread::kill(toucher_thread) if toucher_thread File::delete($lock_file_name) end end


Overall idea
How it works
Examples
Resources
Contact
Contact
<EMAIL_ADDRESS>Lukas Molzberger Weiherstrasse 16 53111 Bonn Germany


{% extends "base.html" %} {% block content %}
Author: {{ book.author }} Published: {{ book.year }}
It uses utility classes for typography and spacing to space content out within the larger container.
ISBN: {{ book.isbn }}


Widgets for CMV, the configurable map viewer.
Created by Tim McGee of MoosePoint Technology.
Each widget in this repo has at least one configuration example in the config folder. This folder also contains additional examples for including ESRI widgets, other widgets and functionality.
A highly configurable widget to display the results of one or more Query, Find or Geoprocessor Tasks.
Coming Soon
A simple widget containing a button to toggle the CMV map to a maximized full screen view and restore it to the original dimensions.
An example widget demonstrating the display of results from a Geoprocessing Task in the Attributes Tables widget.
A simple widget to add labels for one or more Feature Layers.
A simple widget to toggle the visibility of a set of layers. Only a single layer in the set can be visible at any time. All others are turned off when the target layer's visibility is set.
Show an Alert or Confirmation modal dialog box. Intended to be called from other widgets.
Coming Soon
Open maps in an external window for Google Hybrid, Google StreetView, Bing Hybrid, Bing Bird's Eye, Bing Streetside, MapQuest and OpenStreetMap. The map is centered on the coordinates based on a map click or Latitude and Longitude values provided by the user. Can be combined with the Toggle StreetView Tiles widget to show the availability of Google StreetView while clicking on the map.
Highly configurable widget used to create a mult-page PDF report from a single feature or multiple features.
Used in conjunction with the Attribute Table widget to provide a user interface for querying feature layers, dynamic layers, tables and related records using QueryTask and FindTask.
Share your map by using Facebook, Twitter, Google+, E-Mail, Link, or embedded iFrame code.
Used in conjunction with the CMV StreetView widget or the Open External Map widget. Shows a StreetView tiles layer when waiting for a map click to get coordinates for the respective widgets.
A simple widget to provide a drop-down list of features to zoom to on the map. Similar to bookmarks but driven by actual data in a Map Service.


This application gets information about the cell tower you are currently using and tracks the tower location on a Google Map along with your location. Mapping the tower location only works for CDMA devices.
When you first start the application or attach to a new tower, the map updates to position the tower in the center. It does not change the zoom level. Initially, the zoom may be set to view the whole world. You can zoom in by using two fingers to squeeze or you can tap to bring up the zoom controls and then use the plus and minus buttons. You can drag to pan the map. Your device will stay on as long as the map screen is showing unless you manually turn the device off.
If you tap the tower, it will pop up basic information about the tower. You can get more tower information from the Details menu item.
Your location is displayed as part of the Google Maps interface. This application does nothing more than make it available. The location will be more accurate if you enable WiFi and GPS.
Refreshes the tower information and re-centers the map on the tower.
Brings up a screen with more information about the tower.
Brings up the default SMS messaging application to send a short summary of the current location. Use the back arrow to return to the map.
Displays this page.


View Students
News
More
About
Add Events
Contact
Report an issue
Sign up
Log in
Sign Up
Name:
Username:
Email:
Password:
Game:
#Tournaments won:
Age:
School:
I agree to the terms and conditions.
Sign Up


oh,hello,nice to meet you!
i am a ready to be your portfolio,telling your stories and short presentation
Impossible considered invitation him men instrument saw celebrated unpleasant. Put rest and must set kind next many near nay. He exquisite continued explained middleton am. Voice hours young woody has she think equal. Estate moment he at on wonder at season little. Six garden result summer set family esteem nay estate. End admiration mrs unreserved discovered comparison especially invitation.
Delightful unreserved impossible few estimating men favourable see entreaties. She propriety immediate was improving. He or entrance humoured likewise moderate. Much nor game son say feel. Fat make met can must form into gate. Me we offending prevailed discovery.
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
Advantage old had otherwise sincerity dependent additions. It in adapted natural.
Am terminated it excellence invitation projection as. She graceful shy.
Put your portfolio or gallery images here for example. Able an hope of body. Any nay shyness article matters own removal nothing his forming. Gay own additions education satisfied the perpetual. If he cause manor happy. Without farther she exposed saw man led. Along on happy could cease green oh.
Able an hope of body. Any nay shyness article matters own removal nothing his forming. Gay own additions education satisfied the perpetual. If he cause manor happy. Without farther she exposed saw man led. Along on happy could cease green oh.
Betrayed cheerful declared end and. Questions we additions is extremely incommode.  Age lived smile six defer bed their few. Had admitting concluded too behaviour him she. Of death to or to being other.
Betrayed cheerful declared end and. Questions we additions is extremely incommode.  Age lived smile six defer bed their few. Had admitting concluded too behaviour him she. Of death to or to being other.
Saw yet kindness too replying whatever marianne. Old sentiments resolution admiration unaffected its mrs literature. Behaviour new set existence dashwoods. It satisfied to mr commanded consisted disposing engrossed. Tall snug do of till on easy. Form not calm new fail.
Effects present letters inquiry no an removed or friends. Desire behind latter me though in. Supposing shameless am he engrossed up additions. My possible peculiar together to. Desire so better am cannot he up before points. Remember mistaken opinions it pleasure of debating. Court front maids forty if aware their at. Chicken use are pressed removed
Able an hope of body. Any nay shyness article matters own removal nothing his forming. Gay own additions education satisfied the perpetual. If he cause manor happy. Without farther she exposed saw man led. Along on happy could cease green oh.


Hi, I'm Guillaume
French-american IT product manager in Paris. Trekking ⛰ & motorcycling 🏍 enthusiast. I love to build stuff.
email : guillaume AT nointerface DOT io
French-american IT product manager in Paris. Trekking ⛰ & motorcycling 🏍 enthusiast. I love to build stuff.
email : guillaume AT nointerface DOT io


{% extends "base.html" %} {% block title %}Need Sign In{% endblock %} {% block content %}
You need to sign in to access the page. Click the following button to sign in.


As we decided to get a travel trailer, we quickly discovered that a towing capacity stated in the manual of my car is not actually even remotely the only value needed to safely tow a trailer.
The result has to do with the relationship between the payload capacity – or cargo capacity - of the vehicle, also called TV (Towing Vehicle), and the tongue weight. The tongue weight is usually 10% – 15% of the overall trailer weight when properly distributed.
First you have to start looking for the data required to do the calculation either online or on your vehicle’s manual. The words used to describe everything are pretty descriptive, but it is a lot of lingo and it takes some time to make them part of your day to day vocabulary.
For the vehicle, you need to find the following:
- Curb Weight: which is the weight of the vehicle without any passengers or cargo. You can find that in your vehicle’s manual, on a sticker on the driver’s side, or on the manufacturer’s website.
- GVWR or Gross Vehicle Weight Rating. This is also in the manual and usually on the driver’s side sticker, and it is the max weight the vehicle can have. Make sure you never exceed this value for any reason because you can put your life and other’s at risk.
- GCVWR or Gross Combined Vehicle Weight Rating. Sometimes found on the driver’s side sticker, or the manual. It refers to how much weight can be carried by the vehicle including the trailer, hence the word Combined.
- Payload or Cargo capacity. This number should be the GVWR minus the curb weight. Giving you how much fuel, baggage and occupants can go safely into the vehicle. This value also is used to carry the tongue of the trailer.
- Towing capacity. Stated in the manual. This is usually not that useful because you can’t tow more than the GCVWR minus the GVWR, but this gives you a sense of security that your vehicle was built with extra capacity in several parts that make it safe to reach the limit.
For the trailer, you need 3 values:
- UVW or Unloaded Vehicle Weight. Which is the weight from the factory without dealer options, but it usually includes full tanks of propane.
- GVWR. Same as the vehicle. This is the maximum weight the trailer can carry.
- Hitch Weight. It should be 10% - 15% of the overall weight of the trailer.
This is where things start getting more difficult. But for simplicity you should assume you will be carrying your trailer fully loaded - that’s at the GVWR for any required calculation including the weight of the hitch. That will give you enough leeway.
As you can see, all those names are kind of confusing in the beginning, but as you start getting familiar with them, it becomes easier to understand how much you can actually tow safely. Again never exceed the GVWR and GCVWR set by the manufacturer. You can find some tricks on the internet to increase the payload capacity of your truck, specially by upgrading the tires, but that doesn’t mean the overall GCVWR can go up, and that is because the manufacturer already qualified all the components for such rating and it states that such value is safe for operation. Think about it this way: if you are in an accident and you are found at fault, your insurance may refuse to pay if you are found to have exceeded your vehicle capabilities in any way.
To make it easier to take into account all the values that I mentioned above, I used the data and formulas from the guys at Keep Your Daydream and I wrote a simple online calculator.
Is it open source? Well of course it is, but even better, you can access it from your phone or computer. I also added the calculator to this website.
Hopefully it works for a lot of people and please leave a comment here if you use it.


Coding Track Suggester Survey
This is a short survey to know which programming language track you can take based on your interest !
The suitable track for you based on your answers is C#/.NET
The suitable track for you based on your answers is Ruby/Rails
The suitable track for you based on your answers is CSS/React
The suitable track for you based on your answers is PHP


Japan tells U.S. 'no one could be optimistic about North Korea'
BANGKOK (Reuters) - Japanese Defense Minister Taro Kono told his U.S. and South Korea counterparts on Sunday that “no one could be optimistic about North Korea,” shortly after Washington and Seoul announced plans to postpone upcoming military drills in a bid to encourage stalled peace efforts.”No one could be optimistic about North Korea. North Korea has repeatedly launched more than 20 missiles this year, including new types of ballistic missiles, as well as a submarine-launched ballistic missile,” Kono said at the opening of a so-called “trilateral” meeting of the defense chiefs in Bangkok, before news media were escorted from the room.