@templates.main("Oxyjen") {
Oxyjen (pronounced exactly like 'oxygen') is a tool that facilitates automatically generating any number and type of textual files, which makes it a perfect fit for any sort of code generation and scaffolding to be used in programming projects. It gives you access to hundreds of already created and working templates which cover a wide array of use cases, and makes it practically trivial to create your own templates and share them with your team and the rest of the world.
There are a lot of already existing tools in the space of code generation and scaffolding, like Maven archetypes, Yeoman, Ruby on Rails generators, Typesafe Activator templates and more. How does Oxyjen differ from those solutions?
Oxyjen is a command-line program. It's installation is very simple: just download the latest release archive from here and uzip it somewhere on your computer - let's call that location <oxyjen-path>. You're practically done! You can now invoke the application from the command line like so:
$ <oxyjen-path>/oxyjen-0.3/bin/o2
on Linux/Mac/Unix, or
$ <oxyjen-path>\oxyjen-0.3\bin\o2
on Windows (from now one, only the *nix version will be shown for brevity - the Windows versions of the commands should be very similar).
Note that Oxyjen requires Java 8 to be installed on your computer - either directly available on the PATH, or its location pointed to by the JAVA_HOME environment variable.
If you see a message similar to the following:
Usage: o2 TEMPLATE [TARGET_DIR] [NAME=VALUE]...
, that means everything is working as it should. What you might also want to do at
this point is add the application to your PATH, so you can invoke it simply by
typing o2
, without the hassle of spelling out
<oxyjen-path>/bin/oxyjen-0.3 each time. There are multiple ways to do
that - the simplest is probably by invoking
$ export PATH=<oxyjen-path>/oxyjen-0.3/bin:$PATH
You might also want to add that line to your shell config (.bashrc
,
.zshrc
or similar), so you don't have to repeat that command each time you
start a new console session.
The o2
command seen above is Oxyjen's main application. You use
it like so:
$ o2 <template> <output-directory>
The <output-directory> is where the results of the code generation are to be stored. Providing it is optional - the value defaults to the current directory if omitted. That location does not have to exist - it will be created if necessary.
<template> is the heart of Oxyjen. In it's most basic form, <template> can be a single file:
$ echo "Hello, World!" > template.txt
$ o2 template.txt output
$ cat output/template.txt
Hello, World!
<template> can also be a directory - in that case the contents of that directory are copied recursively:
$ mkdir input
$ echo "First template" > input/templ1.txt
$ mkdir input/subdirectory
$ echo "Second template" > input/subdirectory/templ2.txt
$ o2 input/ output
$ tree output/
output/
├── subdirectory
│ └── templ2.txt
└── templ1.txt
1 directory, 2 files
$ cat output/templ1.txt output/subdirectory/templ2.txt
First template
Second template
o2
with a directory as the first
argument, make sure that directory does not contain any binary files.
In this mode, o2
works like a simple copy.
We can change that by making the template file dynamic, with a content like so:
Hello, @@{= name }@@!
The part between the @@{=
and the }@@
is the dynamic part. When evaluated,
Oxyjen will run the code in the dynamic parts (there can be any number of them
in a file) and substitute the result of that evaluation in the output file.
The code between the markers can be any valid JavaScript.
Here, we are simply referencing the value of the name variable. Where does
that value come from? That's simple - it's given on the command line in the
form of a <key>=<value> pair as the last argument. Here's an
example, using the template contents shown above:
$ echo "Hello, @@{= name }@@!" > greet.txt
$ o2 greet.txt greet-output name=World
$ cat greet-output/greet.txt
Hello, World!
You've probably noticed that in every example so far, the output file's name and relative location were identical to the template's file name and location. This is the default behavior, but Oxyjen allows the template files to control where should the output be and how it should be named.
The JavaScript code inside the dynamic parts of a template has access to a
special variable, $o2
. This object has methods which allow
changing the output destination. Example usage:
$ echo '@@{ $o2.setFileName("output.txt") }@@ template content' > template.txt
$ o2 template.txt
$ cat output.txt
template content
We've used a statement block in this example, which is delimited by
@@{
and }@@
, as opposed to the expression blocks
we have seen thus far which start with @@{=
(both of them end with }@@
).
The difference between them is that a statement block does not result in any
output in the resulting file - the code inside it is evaluated strictly for
its side effects.
In addition to setFileName
, $o2
also exposes a
setFileDir
method which changes just the output directory, leaving
the file name unchanged. All paths used in setFileName
and
setFileDir
are relative to the output directory as supplied by
the caller of o2
(remember that if omitted, it defaults to
.
- the current directory).
Let's go back for a second to the example with the 'greet' template that requires a single parameter - a 'name' to greet the user with. What happens when we fail to provide that value when executing the template?
$ echo "Hello, @@{= name }@@!" > greet.txt
$ o2 greet.txt
Missing required argument 'name'. Supply a value for it on the command line like so: name=<value>
The execution ends with an error which states which argument was not found. While you could execute the command again, this time providing the required argument(s), this approach doesn't really scale - imagine how frustrating that would be if a template had, say, 5 required parameters! That is why Oxyjen includes a mechanism for specifying what arguments does a template expect. You provide it with the so called template meta file.
This file has to be called oxyjen.js
and placed
at the top level in the directory of your template. It will not be included
in the output - instead, the JavaScript code inside will be executed first,
before the rest of the files inside that directory. That code has access to a
special object, denoted by the variable $o2
(that is the same name
as the variable used in the template files, but its purpose is different). This
object has one method, param
, which takes two arguments: the
name of the expected parameter and a description of how does the template use
that parameter. If the template is invoked without providing that argument as
a key=value pair on the command line, Oxyjen will show the provided
description to the user and prompt him for a value, and only after that will
execute the remaining template files. As an example:
$ mkdir greet-template
$ echo "Hello, @@{= name }@@!" > greet-template/greet.txt
$ echo '$o2.param("name", "The name to greet you with!");' > greet-template/oxyjen.js
$ echo Adam | o2 greet-template greet-output
The template requires an argument named 'name'. Description: The name to greet you with!
Please provide a value for parameter 'name':
$ tree greet-output
greet-output/
└── greet.txt
0 directories, 1 file
$ cat greet-output/greet.txt
Hello, Adam!
The last form of executing the o2
command is with a template available from
OxyjenZone,
the free template hosting and sharing cloud service that comes with Oxyjen.
The format of a template published there is
<organizationId>:<name>:<version>
, for example,
org:template:1.0
. <organizationId> is optional - if you
omit it, then oxyjen
, the official Oxyjen organization, is assumed
(note that although you can omit the ID itself, the colon is still required - so,
:template:1.0
instead of template:1.0
).
<version> is also optional - if you omit it, then the latest version of the
template will be used (here the colon can be omitted). The template will be
downloaded from the server and then executed. You provide arguments to it in
the same manner as shown above - as key=value pairs on the
command line (if the template includes a meta file, you will be prompted to
provide values for any missing arguments, as explained in the previous
section). Example:
$ o2 :greet name=World
$ cat greet-output.txt
Hello, World!
To publish your templates to OxyjenZone, you first need to bundle all the files you want to include in them into a ZIP archive. Example:
$ zip my-template.zip file1.txt file2.txt a/b.txt
When the template is used, Oxyjen will unzip your archive and apply all of the template files placed inside it, exactly like described above. I strongly suggest including a meta file (see description above) if your template expects any arguments - this way you make your template much easier to use.
The next step is to register your organization. You do it using the
ozone
application with the register
command,
like so:
$ ozone register
You will be prompted for an Organization ID and password. If the supplied values
were correct, you should see a message that an Organization has been created,
and that you are now logged in (if you ever see a message that your session has
expired, you can log in again using ozone login
).
Once you're registered, sharing your template is as easy as executing:
$ ozone push <name> <version> <ZIP file>
And that's it! You should now be able to use your template by supplying your
organization ID, name and version to the o2
command.
As an aside, you can do all of those operations (registering, uploading etc.) from a web app interface by visiting the OxyjenZone site.
Oxyjen is still very young. There is certainly a lot of room for improvement - it is at version 0.3 for a reason. However, I believe that it has huge potential. All of the necessary pieces are in place, and now it's just a matter of building more capabilities on top of that solid foundation. I have a ton of ideas about making the application more powerful and easier to use, and I'm limited only by the amount of time I can spend on this project. It's open source, available on GitHub, so all contributions are very much welcome.
Oxyjen was created and is maintained by one person, Adam Ruka. I welcome you to visit my blog, or ping me on Twitter.


1. Download a VPN (if you've made it this far you probably have Tor installed)
2. Close all programs that are running and accessing the internet. This is to prevent a DNS leak. This includes Skype, Dropbox etc. Then start your downloaded VPN and Tor.
3. Access the site itself. The Silk Road is currently listed here: http://silkroad7rn2puhj.onion/
4. Download the Username & Password combinations for completely anonymous registration


You MUST enable JavaScript to access this web application! A tutorial on how to enable JavaScript in various browsers can be found here. Our thanks!
Been waiting a while? Email us on<EMAIL_ADDRESS>and let us know! We'll get it sorted
Internet Explorer users: You will need to upgrade to Edge, Chrome or Firefox to get the most from this site. Learn more


I code in many languages and love designing fresh new interfaces. As a student, I am originally from Los Angeles but am currently studying up north in the Bay Area.
I believe in two things as a web developer: beautiful design and user friendly interfaces. I offer attractive solutions that are also easy to navigate. I can help you complete your web project from planning the information architecture to user experience and design. Contact me to get a quote.
At heart I am a programmer. Currently I am studying Electrical Engineering & Computer Science with a minor in Industrial Engineering & Operations Research. I am constantly immersed in the tech culture of Silicon Valley and have come to love it. You can view my CS projects here.


Foods To Eat That Can Help To Relax And Fight From Anxiety
Dear sweet user, we know that some people enjoys cooking and use this method to take their mind of things, if you're one of those people we hope that you would enjoy this page. If you flipped the cards that have the food Images you can see it's recipe and enjoy trying it. if you're found of eating and not so good at cooking you can have an order of what ever you like, and finally you can challenge yourself and try to guess the origin of the food in the Image 😇.


| Path: | lib/engines/plugin.rb |
| Last Update: | Sun Apr 01 17:30:41 +0400 2007 |
An instance of Plugin is created for each plugin loaded by Rails, and stored in the Rails.plugins PluginList (see Engines::RailsExtensions::RailsInitializer for more details).
Once the engines plugin is loaded, other plugins can take advantage of their own instances by accessing either Engines.current, or the preferred mechanism
Rails.plugins[:plugin_name]
Useful properties of this object include Plugin#version, which plugin developers can set in their init.rb scripts:
Rails.plugins[:my_plugin].version = "1.4.2"
Plugin developers can also access the contents of their about.yml files via Plugin#about, which returns a Hash if the about.yml file exists for this plugin. Note that if about.yml contains a "version" key, it will automatically be loaded into the version attribute described above.
If this plugin contains paths in directories other than app/controllers, app/helpers, app/models and components, authors can declare this by adding extra paths to code_paths:
Rails.plugin[:my_plugin].code_paths << "app/sweepers" << "vendor/my_lib"
Other properties of the Plugin instance can also be set.


Your browser does not support the <canvas> element.
Islamic Tiling Inspired Patern Generator
Foreground Color:
Background Color:
Current Radius Scaler:
Max Radius Scaler:
Incr. Rotation (Deg):
Spatial Frequency:
Polygon Sides:
Shape:
polygon
circle


Content Revised 3/29/14
Authors Grant Tepper
Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.
Some "rules"
PHP was invented in 1994 by Rasmus Lerdorf originally named after Personal HomePage tools, in 1995 Rasmus released the code to the public and the rest is history... More Here
PHP is a turing complete language, which means anything a program can potentially do, PHP can do.
Objects are an Object Oriented programing concept (that was redundant). Objects represent data that describes components or things in a system. Objects have properties(variables) which describe them, and methods(functions) which allow the objects to preform actions.
Classes are the templates from which a developer can 'spawn' or instanciate new instances of their class; thus creating objects. Think of them like blueprints.
Relational databases are a standardized way to store data, there are many standards, relational data being one of the more popular and earliest to emerge.
Initially we will be using PHP MyAdmin to create and manage our database structure. As you get more advnaced you may be interested in learning how to do this all from the command line.
Time to explore PHP My Admin!
A schema is a fancy word for the structure of your database
To connect to a database you need at least 3 things
We will be using PDO, a PHP 'binding' for MySQL which will do most of the heavy lifting for us
DataBase Abstraction Layer (DBAL) is a term used to describe a tool that serves as an interface to a database. For our purposes PDO is this tool, exposed to us as a standard library.
This is the primary way to add new data
We are going to be importing a CSV (comma seperated variable) file into our database, then reading it into a table on a webpage!
UPDATE tableName SET colname = val1, colname2 = val2 WHERE conditonal
This is where the bulk of a databases power comes in. We can create queries to give us data in almost any manner we'd like.
Deleting things is permant!!! Normally in SQL databases things are never deleted, just 'soft deleted' or flagged so they are not returned in result sets
This is where SQL is very defferent from other database, and along side its powerful Queries, another distinguishing feature.
SELECT * FROM table1 JOIN table2 ON table1.column_name=table2.column_name
The objective is to build the back end for an admin panel which manages a blog.
This is probably where most of the time will be spent, the controller contains most of our logic


today I learned ...
Add new entry
Dec. 19, 2016
Routes and Views with Pyramid
Dec. 16, 2016
Concurrency With: gevent
Dec. 15, 2016
Sending files
Dec. 13, 2016
Echo Servers
Dec. 14, 2016
HTTP Server
Dec. 13, 2016
Echo Servers
Dec. 13, 2016
Echo Servers


LANEY LX20 R 15-WATT 1X8" EXTREME SERIES GUITAR AMPLIFIER
Laney LX20R Extreme Series combo guitar amplifer is for guitarists who already have outboard effects. A single jack input, reverb, 2 channels, Clean and Distortion, 3-way EQ and 15 watts into a 8" custom driver. Headphone socket and CD input make the LX35R a perfect practice amp.
LANEY LX20 Specifications:
o Power RMS: 15 Watts.
o Input: Single Jack.
o Channels: 2, Clean and Distortion.
o Equalization: Global Bass, Middle and Treble.
o Reverb.
o Footswitch: Option FS2.
o Driver: 1 x 8" Custom Driver.
o Cabinet Design: Black Metal Corners, Gloss Metal Grille, Metal Side Grip Handles, Rubber Feet.
o CD Input: 1/4" Jack Socket.
o Headphone Socket: 1/4" TRS.
o Kick Proof Metal Grille.
o Weight: 10 Kgs.
o Dimensions: 360 x 354 x 215mm.


--- layout: default title: Polyglitch's Game Tools ---
I'll host all the web based tools I've made for video games here


?Form
48-R.
8
14787
TROPICAL
FOREST
HERBARIUM
(Accession
number
for
Washington
office)
Other
notes
Collector
:1
be
r
t
L,
CollectorÕs
No.__i.4787
y˜r$*
BOTANICAL
NEW
YORK
BOTANICAL
GARDEN
Specimens
Collected
Under
the
Auspices
of
the
U.
S.
Department
of
Agriculture,
Forest
Service;
Tropical
Forest
Experiment
Station,
Rio
Piedras,
Puerto
Rico
1¨Ñ25027-1
gpo
^
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.connector.ResponseWrapper
Abstract convenience class that wraps a Catalina-internal Response object. By default, all methods are delegated to the wrapped response, but subclasses can override individual methods as required to provide the functionality that they require.
| Field Summary | |
protected Response |
response
The wrapped response. |
| Constructor Summary | |
ResponseWrapper(Response response)
Construct a wrapper for the specified response. |
| Method Summary | |
javax.servlet.ServletOutputStream |
createOutputStream()
Create and return a ServletOutputStream to write the content associated with this Response. |
void |
finishResponse()
Perform whatever actions are required to flush and close the output stream or writer, in a single operation. |
Connector |
getConnector()
Return the Connector through which this Response is returned. |
int |
getContentCount()
Return the number of bytes actually written to the output stream. |
int |
getContentLength()
Return the content length that was set or calculated for this Response. |
java.lang.String |
getContentType()
Return the content type that was set or calculated for this response, or null if no content type was set. |
Context |
getContext()
Return the Context with which this Response is associated. |
boolean |
getIncluded()
Return the "processing inside an include" flag. |
java.lang.String |
getInfo()
Return descriptive information about this Response implementation and the corresponding version number, in the format <description>/<version> . |
java.io.PrintWriter |
getReporter()
Return a PrintWriter that can be used to render error messages, regardless of whether a stream or writer has already been acquired. |
Request |
getRequest()
Return the Request with which this Response is associated. |
javax.servlet.ServletResponse |
getResponse()
Return the ServletResponse for which this object
is the facade. |
java.io.OutputStream |
getStream()
Return the output stream associated with this Response. |
Response |
getWrappedResponse()
Return the wrapped response. |
void |
recycle()
Release all object references, and initialize instance variables, in preparation for reuse of this object. |
void |
resetBuffer()
Reset the data buffer but not any status or header information. |
void |
setConnector(Connector connector)
Set the Connector through which this Response is returned. |
void |
setContext(Context context)
Set the Context with which this Response is associated. |
void |
setIncluded(boolean included)
Set the "processing inside an include" flag. |
void |
setRequest(Request request)
Set the Request with which this Response is associated. |
void |
setStream(java.io.OutputStream stream)
Set the output stream associated with this Response. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.Response |
isAppCommitted, isError, isSuspended, setAppCommitted, setError, setSuspended |
| Field Detail |
protected Response response
| Constructor Detail |
public ResponseWrapper(Response response)
response
- The response to be wrapped| Method Detail |
public Response getWrappedResponse()
public Connector getConnector()
getConnector
in interface Response
public void setConnector(Connector connector)
setConnector
in interface Response
connector
- The new connectorpublic int getContentCount()
getContentCount
in interface Response
public Context getContext()
getContext
in interface Response
public void setContext(Context context)
setContext
in interface Response
context
- The associated Contextpublic boolean getIncluded()
getIncluded
in interface Response
public void setIncluded(boolean included)
setIncluded
in interface Response
included
- true
if we are currently inside a
RequestDispatcher.include(), else false
public java.lang.String getInfo()
<description>/<version>
.
getInfo
in interface Response
public Request getRequest()
getRequest
in interface Response
public void setRequest(Request request)
setRequest
in interface Response
request
- The new associated requestpublic javax.servlet.ServletResponse getResponse()
ServletResponse
for which this object
is the facade.
getResponse
in interface Response
public java.io.OutputStream getStream()
getStream
in interface Response
public void setStream(java.io.OutputStream stream)
setStream
in interface Response
stream
- The new output streampublic javax.servlet.ServletOutputStream createOutputStream() throws java.io.IOException
createOutputStream
in interface Response
java.io.IOException
- if an input/output error occurspublic void finishResponse() throws java.io.IOException
finishResponse
in interface Response
java.io.IOException
- if an input/output error occurspublic int getContentLength()
getContentLength
in interface Response
public java.lang.String getContentType()
null
if no content type was set.
getContentType
in interface Response
public java.io.PrintWriter getReporter()
getReporter
in interface Response
public void recycle()
recycle
in interface Response
public void resetBuffer()
resetBuffer
in interface Response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


{{ partial "head.html" . }} {{ partial "header.html" . }} {{ .Title }} {{ .Content }} 2022 2021 2020 2019 2018 2017 Will add links to Apple Music playlists eventually* {{ partial "footer.html" }}
Will add links to Apple Music playlists eventually*


This gives you an overview of the H5P config settings. You cannot change them directly here.
| Config Setting | Value | Description |
|---|---|---|
| hub_is_enabled | {f:if(condition:settings.hub_is_enabled, then:'TRUE', else:'FALSE')} | Controls interaction with the H5P hub. If it is disabled, you can't load libraries from the hub, and can only use the "Upload" functionality to install new libraries. We recommend to keep this set to "TRUE". |
| content_type_cache_updated_at |
|
States when the H5P content type cache was last updated. |
| send_usage_statistics | {f:if(condition:settings.send_usage_statistics, then:'TRUE', else:'FALSE')} | Controls whether anonymous usage statistics are sent to the H5P hub with every refresh of the content type cache. The data sent are the number of authors (Neos backend users), installed libraries, number of H5P content elements, and the number of creates, uploads, displays, deletions, views, and result views for content elements. |
| track_user | {f:if(condition:settings.track_user, then:'TRUE', else:'FALSE')} | Controls the saving of results for users' interactions with content elements. If set to TRUE, you can view users' results in the "H5P User Results" section. |
| save_content_state | {f:if(condition:settings.save_content_state, then:'TRUE', else:'FALSE')} | Controls whether the state of content that a user has interacted with should be saved. Only works for logged-in users. No additional personal data is saved. |
| save_content_frequency | {settings.save_content_frequency} | Frequency (in seconds) in which content state should be saved, if it is enabled. |
| enable_lrs_content_types | {f:if(condition:settings.enable_lrs_content_types, then:'TRUE', else:'FALSE')} | Enables the usage of content types which rely on the presence of an LRS to work. Currently, this is only H5P.Questionnaire. |
| frame | {f:if(condition:settings.frame, then:'TRUE', else:'FALSE')} | Shows or hides the H5P content frame that contains buttons for export and embed, copyright and icon |
| export | {f:if(condition:settings.export, then:'TRUE', else:'FALSE')} | Show or hide the option to export an H5P content element in the content frame. |
| embed | {f:if(condition:settings.embed, then:'TRUE', else:'FALSE')} | Show or hide the option to generate embedding code for an H5P content element in the content frame. |
| copyright | {f:if(condition:settings.copyright, then:'TRUE', else:'FALSE')} | Show or hide the copyright notice in the content frame. |
| icon | {f:if(condition:settings.icon, then:'TRUE', else:'FALSE')} | Show or hide the H5P icon in the content frame. |


rotten > Library > Biographies > Crime > Spree Killers > Michael McDermott
Michael McDermott
aka Mucko
It's that rush you hear coming from that spot on the back of your head. The one that makes the hairs on the back of your neck stand up. You need it. [...] Listen to that ringing in your ears. Itís the sound of opportunity. And the time to act is now.
If you can't enjoy yourself, work tends to be a real drag. We hate that. So you'll always be encouraged to express yourself, bring in your favorite office toys and generally keep it loose. [...] There's nothing more revered around here than a good sense of humor. An attribute that makes any kind of business that much better.
Quality assurance engineer. Killed 7 of his coworkers at Edgewater Technology in Wakefield MA, on 26 Dec 2000. After the incident, one of the survivors described McDermott this way: "He is a little quirky but a pretty friendly guy." One of his neighbors agreed: "He's well-tempered and very quirky."
And by "quirky" they probably meant "geeky." After all, here was an X-Files fan who read Harry Potter books and apparently enjoyed Dungeons & Dragons well into adulthood. In a 1997 post to rec.games.frp.dnd, McDermott put it this way:
Why do you play *D&D? To rack up experience points? To kill more
monsters than your associates? Or to have fun role-playing?
If you wish to play a character obsessed with honorable battle, do so!
Recognize, however, the advantages and disadvantages of your choice.
Disadvantages: You will not accumulate experience points as fast as the
other members of your party. You will alienate some with your character's actions.
Advantages: You might actually have some fun.
If you decide that the advantages are not worth the disadvantages,
you'll have to find another way to play your character.
He was a bone marrow donor and gave blood platelets twice a month. He also enjoyed reading about how to fake mental illness. He bought a copy of Clinical Assessment of Malingering and Deception.
Posted on Usenet as Mucko, 23 times to alt.engr.explosives, 5 times to alt.tasteless.jokes, and 3 times to alt.humor. While his interest in explosives may sound exciting, he says nothing interesting. On the humor groups, generally Mucko repeats funny that he found elsewhere. Example joke:
Q. Name three English clubs with swearwords in their names.
A.
Awesome Unix beard, though.
Timeline
|
Michael McDermod Martinez born. |
| 1982 |
Legally changes name to Michael Morgan McDermott. |
| 1978 |
Joins the Navy, stationed aboard the nuclear attack submarine USS Narwhal for six years. |
|
Gets a job as an auxiliary power plant operator at a nuclear plant in Maine. |
| Jul 1985 |
With the help of a Veterans Assistance loan, McDermott buys the former Longfellow Elementary School in Bristol Mills, Maine for approximately $60,000. He later sells the two-room schoolhouse for $82,500. |
| 1987 |
Attempts suicide. After Maine Yankee fires him, McDermott files for workers' compensation, claiming it was a "stress-induced suicide attempt." The case is settled for $85,000. |
| 1990 |
Gets a job testing batteries for Duracell. |
| 26 Sep 1992 |
Marries Monica Sheehan. |
| 1997 |
Divorced. |
| 1997 |
Posts the following to a website for USS Narwhal alumni:
I ran into John Henry McArdle about ten years ago. I was working at Maine Yankee and I think he was with Yankee Atomic (?) ... I do research and development for Duracell Batteries now... Well, I came back to the land of my youth and married a childhood friend. Lasted three and a half years before she split.
|
| Mar 2000 |
Gets a job working as a software QA tester at Edgewater Technology. $55,000 per year plus benefits. |
| 14 Dec 2000 |
Accountant Rose Manfredi and Cheryl Troy inform Michael McDermott that they have been directed by the IRS to garnish $5,600 from his pay to cover his back taxes. McDermott responds by telling the pair that they are "no better than Nazis." |
| 26 Dec 2000 |
Shoots up the place, killing seven coworkers including Troy and Manfredi. Waits patiently in the lobby for arrest. |
| 11 Apr 2002 |
On the stand, McDermott claims to have believed he was living inside something akin to Castle Wolfenstein: "The last Nazi was there. I shot and killed him. And Hitler was there. I shot and killed him. My mission was complete. I knew at this point I had a soul." |
| 24 Apr 2002 |
A jury finds Michael McDermott guilty of seven counts of first-degree murder. |
Pornopolis |
Rotten |
Faces of Death |
Famous Nudes
|


Package algorithms
Class BinarySearchTree<T extends algorithms.heapsAndPQs.HeapNode>
- java.lang.Object
-
- algorithms.BinarySearchTree<T>
-
public class BinarySearchTree<T extends algorithms.heapsAndPQs.HeapNode> extends java.lang.Object
Binary Search Tree – has the property that for every node: The left subtree contains only nodes that have a key less than or equal to the node The right subtree contains only nodes that have a key greater than the node The left and right subtrees are also binary search trees use a Node with left, right and parent. use a binary search method impl as: while loop root != null: if (root.value .lt. value) root=root.getRight()... adapted upon pseudocode from Cormen et al. Introduction to Algorithms. added in-order, pre-order and post-order traversal methods. the delete method has been changed from the book. Also note that the class can currently only hold unique keys.- Author:
- nichole
-
-
Constructor Summary
Constructors Constructor Description BinarySearchTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(T z)
protected T[]
getInOrderTraversalIterative(T node)
visit each node using pattern left subtree, root, right subtree in an iterative manner rather than invoking the method recursively.int
getNumberOfNodes()
void
insert(T z)
T
maximum()
protected T
maximum(T x)
T
minimum()
protected T
minimum(T x)
protected T[]
printPostOrderTraversalIterative(T node)
visit each node using pattern: left subtree, right subtree, root subtree in an iterative manner rather than invoking the method recursively.protected T[]
printPreOrderTraversalIterative(T node)
visit each node using pattern: root, left subtree, right subtree in an iterative manner rather than invoking the method recursively.T
search(T z)
search for a node within the tree by its key.T
searchExact(T z)
search for a node within the tree for an exact match to the node.T
successor(T x)
smallest element in the tree with key greater than x.key.
-
-
-
Field Detail
-
n
protected int n
-
root
protected T extends algorithms.heapsAndPQs.HeapNode root
-
-
Method Detail
-
minimum
public T minimum()
-
maximum
public T maximum()
-
successor
public T successor(T x)
smallest element in the tree with key greater than x.key.- Parameters:
x
-- Returns:
-
insert
public void insert(T z)
-
delete
public void delete(T z)
-
search
public T search(T z)
search for a node within the tree by its key. runtime complexity is O(h) where h is height of tree, which is usually lg_2(n)- Parameters:
z
-- Returns:
-
searchExact
public T searchExact(T z)
search for a node within the tree for an exact match to the node. runtime complexity is O(h) where h is height of tree, which is usually lg_2(n)- Parameters:
z
-- Returns:
-
getNumberOfNodes
public int getNumberOfNodes()
-
getInOrderTraversalIterative
protected T[] getInOrderTraversalIterative(T node)
visit each node using pattern left subtree, root, right subtree in an iterative manner rather than invoking the method recursively. NOTE: this method also asserts for the binary search tree key consistency between parent and a child node as it traverses nodes.
-
printPreOrderTraversalIterative
protected T[] printPreOrderTraversalIterative(T node)
visit each node using pattern: root, left subtree, right subtree in an iterative manner rather than invoking the method recursively.
-
-


Based on Demo by Christopher Wellons (aka skeeto)
left-click + drag: rotate X/Y
middle-click + drag: translate X/Y
shift + click + drag: rotate/translate Z
mousewheel: zoom in/out
spacebar pauses/unpauses
a
add solution with random initial value
c
clone a solution with perturbation
E
Erase all solutions
h
toggle head (point) visibility
[
decrease tail length
]
increase tail length
d
toggle rotational damping
?
toggle this menu
tail =
-- presets --
Gentle Rotation
Lorenz Attractor
Chen-Lee Attractor
Rossler Attractor
Van der Pol Oscillator
Line Attractor
Multiple Point Attractors
Conservative Double Well Potential
Contracting Dynamical System, with Input
Contracting Dynamical System, without Input
Info Sheet


Blacksmith of Mammon:
Do you know about the Foundation Items? Even we blacksmiths see them only infrequently.
These uncommon items are brought into being by a power than goes beyond mere chance. We Dwarves say that it is the blessing of Maphr.
That perfect craftsmanship is beyond the Human race's capacity.
It is not, however, beyond mine. Bring me Mammon's Varnish Enhancer, which is sold by the Merchant of Mammon. Then I will use techniques known only to me to transform the item into something accessible to mortals.
Be sure to select a helmet among the rare items that provides you with a useful power. Don't worry if you make the wrong choice, though. You will have another chance to make a selection.
Complete a Foundation Item.


Specialist plant species of moderately or extremely rich fens.
Species designated as moderately or extremely rich fen specialists for vascular plants and bryophytes, i.e. those that commonly occur in moderately or extremely rich boreal mire vegetation of Central Norway (taken from [
7], p. 197).


I’m learning Docker. In this post I want to share a little experiment that I have done. I know the code looks like over-engineering but it’s just an excuse to build something with docker and containers. Let me explain it a little bit.
The idea is build a Time clock in the browser. Something like this:
Yes I know. We can do it only with js, css and html but we want to hack a little bit more. The idea is to create:
- A Silex/PHP frontend
- A WebSocket server with socket.io/node
- A Python script to obtain the current time
WebSocket server will open 2 ports: One port to serve webSockets (socket.io) and another one as a http server (express). Python script will get the current time and it’ll send it to the webSocket server. Finally one frontend(silex) will be listening to WebSocket’s event and it will render the current time.
That’s the WebSocket server (with socket.io and express)
var
express = require('express'),
expressApp = express(),
server = require('http').Server(expressApp),
io = require('socket.io')(server, {origins: 'localhost:*'})
;
expressApp.get('/tic', function (req, res) {
io.sockets.emit('time', req.query.time);
res.json('OK');
});
expressApp.listen(6400, '<IP_ADDRESS>');
server.listen(8080);
That’s our Python script
from time import gmtime, strftime, sleep
import httplib2
h = httplib2.Http()
while True:
(resp, content) = h.request("http://node:6400/tic?time=" + strftime("%H:%M:%S", gmtime()))
sleep(1)
And our Silex frontend
use Silex\Application;
use Silex\Provider\TwigServiceProvider;
$app = new Application(['debug' => true]);
$app->register(new TwigServiceProvider(), [
'twig.path' => __DIR__ . '/../views',
]);
$app->get("/", function (Application $app) {
return $app['twig']->render('index.twig', []);
});
$app->run();
using this twig template
<!DOCTYPE html>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Docker example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="css/app.css" rel="stylesheet">

display

The idea is to use one Docker container for each process. I like to have all the code in one place so all containers will share the same volume with source code.
First the node container (WebSocket server)
FROM node:argon
RUN mkdir -p /mnt/src
WORKDIR /mnt/src/node
EXPOSE 8080 6400
Now the python container
FROM python:2
RUN pip install httplib2
RUN mkdir -p /mnt/src
WORKDIR /mnt/src/python
And finally Frontend contailer (apache2 with Ubuntu 16.04)
FROM ubuntu:16.04
RUN locale-gen es_ES.UTF-8
RUN update-locale LANG=es_ES.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get install --no-install-recommends -y apache2 php libapache2-mod-php
RUN apt-get clean -y
COPY ./apache2/sites-available/000-default.conf /etc/apache2/sites-available/000-default.conf
RUN mkdir -p /mnt/src
RUN a2enmod rewrite
RUN a2enmod proxy
RUN a2enmod mpm_prefork
RUN chown -R www-data:www-data /mnt/src
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2/apache2.pid
ENV APACHE_SERVERADMIN admin@localhost
ENV APACHE_SERVERNAME localhost
EXPOSE 80
Now we’ve got the three containers but we want to use all together. We’ll use a docker-compose.yml file. The web container will expose port 80 and node container 8080. Node container also opens 6400 but this port is an internal port. We don’t need to access to this port outside. Only Python container needs to access to this port. Because of that 6400 is not mapped to any port in docker-compose
version: '2'
services:
web:
image: gonzalo123/example_web
container_name: example_web
ports:
- "80:80"
restart: always
depends_on:
- node
build:
context: ./images/php
dockerfile: Dockerfile
entrypoint:
- /usr/sbin/apache2
- -D
- FOREGROUND
volumes:
- ./src:/mnt/src
node:
image: gonzalo123/example_node
container_name: example_node
ports:
- "8080:8080"
restart: always
build:
context: ./images/node
dockerfile: Dockerfile
entrypoint:
- npm
- start
volumes:
- ./src:/mnt/src
python:
image: gonzalo123/example_python
container_name: example_python
restart: always
depends_on:
- node
build:
context: ./images/python
dockerfile: Dockerfile
entrypoint:
- python
- tic.py
volumes:
- ./src:/mnt/src
And that’s all. We only need to start our containers
docker-compose up --build -d
and open our browser at: http://localhost to see our Time clock
Full source code available within my github account


Load and cache scripts and styles
The given script is intended for loading and caching js and css files in local storage.
Tested with Chrome, Firefox, Opera, Safari, IE 7,8,9,10, Edge
The cache is controlled based on the version of the flies and the variants of the caching.
There are three options for caching files:
0: no cache
1: cache, but if the file is not in the cache or the version of the file does not match,
then the file is downloaded twice, once with a regular browser method and the second time
through Ajax in the cache;
2: cache, but use only through the cache. First, the file is loaded into the cache, and then
injected into the DOM. Thus, the file is loaded only once.
Variants 0 and 1 are used for the convenience of debugging development tools in browsers, option 2 for production.
The load () method, which directly starts the boot process, takes two parameters, two configurations whose structure is identical, but if both parameters are passed, then the configs first merging, and in the resulting config the parameters in the first config have a higher weight, i.e. if the equals keys in first and second config, the values are taken from the first configuration, if the keys are different then the resulting configuration will have the data of both the first and second configurations. This feature is implemented to ensure the scalability of the project, of which the script is a part.
Loading is carried out in two stages. At the first stage, a file with versions of scripts and styles is loaded, in the second stage files with versions of which do not correspond to the versions of files in the cache are downloaded.
The order of file downloads can be changed by specifying files in the properties after which files can start the download.
At the end of the download, the callback () specified in the configuration file is executed.
The source code is written in accordance with the requirements of es6. This implementation was written to use obfuscation of code closure compiler from google, with ADVANCED_OPTIMIZATIONS, es6 -> es5.
simple usage:
<!DOCTYPE html>
<html>
<head>
<title>Test Load And Cache Scripts And Styles</title>
<script src="release/loader-min.js"></script>
<script type="text/javascript">
loader.load({
modules: {
conf1: {
load: {
url: 'tests/loaderconf.js',
version: '0',
cache: 0
}
}
},
onLoad: () => {
console.log('config loaded ', loader.getcfg());
loader.load(loaderconf);
}
}, null);
</script>
</head>
<body>
</body>
</html>
example tests/loaderconf.js
let loaderconf = {
modules: {
script1: {
load: {
url: 'tests/script1.js',
version: '0.0.1',
cache: 0
}
},
script2: {
load: {
url: 'tests/script2.js',
version: '0.0.1',
cache: 1
}
},
script3: {
load: {
url: 'tests/script3.js',
version: '0.0.1',
cache: 2,
after:[ 'script4', 'script2' ]
}
},
script4: {
load: {
url: 'tests/script4.js',
version: '0.0.1',
cache: 0
}
},
style1: {
load: {
url: 'styles/test.css',
version: '0.0.1',
cache: 0
}
},
},
onLoad: () => {
console.log('call callback !!!');
console.log('load end ', window.loader.getcfg());
delete window.loader;
}
};
More detailed information can be found in the folder doc.
License
ISC ©<EMAIL_ADDRESS>Dmitry Teikovtcev, Dnepr, Ukraine


exe format
| mz exe format intel byte order information from file format list 2.0 by max maischein. the old exe files are the exe files executed directly by ms-dos. they were a major improvement over the old 64k com files, since exe files can span multiple segments. an exe file consists of three different parts, the header, the relocation table and the binary code. the header is expanded by a lot of programs to store their copyright information in the executable, some extensions are documented below. the format of the header is as follows : offset count type description 0000h 2 char id='mz' id='zm' 0002h 1 word number of bytes in last 512-byte page of executable 0004h 1 word total number of 512-byte pages in executable (including the last page) 0006h 1 word number of relocation entries 0008h 1 word header size in paragraphs 000ah 1 word minimum paragraphs of memory allocated in addition to the code size 000ch 1 word maximum number of paragraphs allocated in addition to the code size 000eh 1 word initial ss relative to start of executable 0010h 1 word initial sp 0012h 1 word checksum (or 0) of executable 0014h 1 dword cs:ip relative to start of executable (entry point) 0018h 1 word offset of relocation table; 40h for new-(ne,le,lx,w3,pe etc.) executable 001ah 1 word overlay number (0h = main program) following are the header expansions by some other prorams like tlink, lzexe and other linkers, encryptors and compressors; all offsets are relative to the start of the whole header : ---new executable offset count type description 001ch 4 byte ???? 0020h 1 word behaviour bits ?? 0022h 26 byte reserved (0) 003ch 1 dword offset of new executable header from start of file (or 0 if plain mz executable) ---borland tlink offset count type description 001ch 2 byte ?? (apparently always 01h 00h) 001eh 1 byte id=0fbh 001fh 1 byte tlink version, major in high nybble 0020h 2 byte ?? ---old arj self-extracting archive offset count type description 001ch 4 char id='rjsx' (older versions) new signature is 'arjsf'" in the first 1000 bytes of the file) ---lzexe compressed executable offset count type description 001ch 2 char id='lz' 001eh 2 char version number : '09' - lzexe 0.90 '91' - lzexe 0.91 ---pklite compressed executable offset count type description 001ch 1 byte minor version number 001dh 1 byte bit mapped : 0-3 - major version 4 - extra compression 5 - multi-segment file 001eh 6 char id='pklite' ---lharc 1.x self-extracting archive offset count type description 001ch 4 byte unused??? 0020h 3 byte jump to start of extraction code 0023h 2 byte ??? 0025h 12 char id='lharc's sfx ' --lha 2.x self-extracting archive offset count type description 001ch 8 byte ??? 0024h 10 char id='lha's sfx ' for version 2.10 id='lha's sfx ' (v2.13) for version 2.13 ---lh self-extracting archive offset count type description 001ch 8 byte ??? 0024h 8 byte id='lh's sfx ' ---topspeed c 3.0 crunch compressed file offset count type description 001ch 1 dword id=018a0001h 0020h 1 word id=1565h ---pkarc 3.5 self-extracting archive offset count type description 001ch 1 dword id=00020001h 0020h 1 word id=0700h ---bsa (soviet archiver) self-extracting archive offset count type description 001ch 1 word id=000fh 001eh 1 byte id=a7h ---larc self-extracting archive offset count type description 001ch 4 byte ??? 0020h 11 byte id='sfx by larc ' after the header, there follow the relocation items, which are used to span multpile segments. the relocation items have the following format : offset count type description 0000h 1 word offset within segment 0002h 1 word segment of relocation to get the position of the relocation within the file, you have to compute the physical adress from the segment:offset pair, which is done by multiplying the segment by 16 and adding the offset and then adding the offset of the binary start. note that the raw binary code starts on a paragraph boundary within the executable file. all segments are relative to the start of the executable in memory, and this value must be added to every segment if relocation is done manually. extension:exe,ovr,ovl occurences:pc programs:ms-dos reference:ralf brown's interrupt list see also:com,exe,ne exe |


Preparation time
overnight
Cooking time
1 to 2 hours
Serves
Serves 6
To make the stuffed loin of pork, place pork, silverskin side down, vertically in front of you. With a large knife, make an incision along the length of the loin 2cm/3/4in from the edge. Roll back the cut edge, and make another cut slightly sideways, maintaining a thickness of 2cm/3/4in. Continue cutting in this way until the loin opens like a roly-poly sponge.
To marinate the pork, rub the inside with the crushed garlic, and season with the sugar, salt and freshly ground black pepper.
Sprinkle the chopped basil over the inside, and place in the refrigerator overnight.
the next day preheat the oven to 220C/430F/Gas 7. Mix the sausage meat with the pine nuts, herbs and garlic. Take the loin of pork from the fridge, and with a kitchen towel, wipe off the basil that was left on overnight.
Spread the sausage mixture over the inside of the pork, and roll it up tightly, and tie it at 2.5cm/1in intervals (although it can be wrapped in foil.) Season the outside.
Heat the vegetable oil and butter in a large oven-proof pan until foaming. Add the pork and place in the hot oven. For the first 10 minutes, turn the pork frequently until well browned. Lower the heat to 180C/360F/Gas 4 and cook for another 45 minutes, turning occasionally.
Remove from the oven, lightly cover with foil, and allow to cool. When you serve it, cut it into 12 even slices, and serve with salad or with the ratatouille.
To make the ratatouille, heat two tablespoons of the olive oil and sweat the onion with a pinch of salt, until soft and translucent.
Add the peppers and cook for another five minutes.
Cut the tomatoes in half, squeeze out the seeds, and cut into small cubes.
Add the tomatoes, the garlic, and the thyme to the onion and pepper mixture, cover, and continue cooking.
In a separate frying pan pan heat two tablespoons of the olive oil over a high heat. Add the courgettes, and cook until lightly browned, then tip into a colander to drain off the excess oil.
In the same frying pan, add the remaining olive oil, and once hot add the aubergines. Brown them and drain as you did with the courgettes. Sprinkle them both with a little salt, and then add them to the onion, pepper, and tomato mixture. Cover and cook out for a further 10 minutes.
Serve hot or cold, by itself, or as a accompainment to the stuffed pork loin.


Cop Land (1997) Sylvester Stallone, Ray Liotta, Robert De Niro, Harvey Keitel, Michael Rappaport, Janeane Garafalo Rated R, Three and one half out of five atars
Review by Ed Johnson-Ott, NUVO Newsweekly For more reviews, go to www.nuvo-online.com and click on "film."
"Cop Land" is a film about weight. The weight of defeat, of broken dreams, of corruption, conscience and culpability. As Sheriff Freddy Heflin, Sylvester Stallone trudges through life. A heroic act as a young man cost him his hearing in one ear. The partial hearing loss cost him his dream of becoming a New York City Police officer. And the loss of his dream cost him everything.  Heflin is Sheriff of Garrison, New Jersey, a small town just across the river from NYC. Garrison's population is comprised largely of New York cops who have made the town their refuge, an oasis from the madness of the big city. They treat Heflin with benign condescension, as nothing more than a slow- witted figurehead. And Heflin accepts the role; if he can't be a "real" cop, at least he can hang out with them. So life goes on, with Heflin deferring to the lawbreaking and casual bullying of his "superiors", until an incident in NYC changes it all. Late one night, Murray Babitch (Michael Rappaport) is side-swiped on the George Washington bridge by a pair of joy-riders. When he pursues them, one of the men leans out the window and taunts Babitch while aiming something at him. Babitch panics and fires on them, resulting in a car wreck and two dead young men. Within minutes, the bridge is swarming with people, and the only object found near the men's bodies is "The Club". Police cronies plant a gun, but an alert paramedic notices the scam and raises loud objections. Amidst the chaos, Babitch's uncle, Senior officer Ray Donlan (Harvey Keitel) spirits his nephew away, claiming that the young cop committed suicide by jumping from the bridge.
Babitch is given a lavish police funeral, while Uncle Ray keeps the youth tucked away in his Garrison home, so convinced of the sanctity of the town that he holds a barbecue at the house, with the youth wandering about freely drinking and socializing. Sheriff Heflin knows about the brazen farce. Internal Affairs investigator Moe Tilden (Robert De Niro) suspects. But the cops in Garrison have many powerful friends.
The investigation of the incident allows "Cop Land" to spin off into a wide variety of sub-plots and character studies. The film meanders, the multiple stories become confusing, and the inevitable show-down is overly simplistic and more than a bit illogical, but Cop Land works anyway, because of writer/director James Mangold's steady, assured pacing, excellent cinematography and the strong performances of the powerhouse cast.
Stallone sheds his Nautilus image for the film, reminding us that he began his career as an actor, not an icon. His Sheriff Heflin is a fascinating character, an utterly defeated man with a spark of his former self still burning somewhere inside. Stallone's nuanced performance is good, hopefully a harbinger of a new direction for his career. Keitel is excellent as the leader of the Garrison cops, a viper of a man whose smile is nearly as threatening as his scowl. De Niro does his usual fine work, as do Robert Patrick, Cathy Moriarty, Annabella Sciorra and Peter Berg in supporting roles. The wonderful Janeane Garofalo, who seems incapable of making a bad career move, has a nice turn in a cameo as one of Sheriff Heflin's deputies.
The actor who makes the biggest splash in "Cop Land", however, is Ray Liotta. After a long series of simplistic bad guy roles, Liotta finally has a part with some meat to it, and he is outstanding. His Officer Gary Figgis was once a member of the Garrison cop's inner circle, but became estranged from the group following the murder of his partner, who had planned to testify against the officers. Figgis is a bloated mess of a man, a cokehead drowning in anger and self-pity, but his conscience has survived and he becomes an uneasy ally of Sheriff Heflin.
Beyond the dynamic acting, "Cop Land" offers several impressive set pieces. One of the best involves a violent confrontation, viewed through Stallone's hearing-impaired character. The combination of near-silence and high-voltage action is disconcerting and mesmerizing, adding a surreal element to the film at just the right moment.
The structural and logical flaws of "Cop Land" are easy to forgive, given the strong acting, pacing and framing of the film. Writer/director Mangold has constructed a worthy tale of despair and redemption that overflows with memorable images. "Cop Land" isn't a great film, but it is a very good one.
copyright 1997, Ed Johnson-Ott
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Coding is not the only job of a good Software Engineer, identifying the errors and
correcting it also forms the vital part in IT industry. This event tests the Debugging skills of students
and brings out their knowledge in the basics to test.
Rules:
- Single Participation
- No Internet connection
- Materials will be provided for rough work


Filter
Rental Trends
Crime Trends
Filter
Rental Trends
Filter
Select price range:
Min:
Max:
Select Number of Bedrooms (range)
Min:
Max:
Select FSA:
Rental Listing Information
Crime Rate Heatmap
Community Asset Information


SwapperView
public class SwapperView : UIView
View that is able to swap between 1+ child views.
-
Access to
SwapperViewConfig
to set defaults on all instances ofSwapperView
.Declaration
Swift
public static let defaultConfig: SwapperViewConfig
-
Override
defaultConfig
for this once instance.Declaration
Swift
public var config: SwapperViewConfig { get set }
-
Remove all of the previous swapping views and set new ones. The first view in the list will be shown after this function called.
Declaration
Swift
public func setSwappingViews(_ newSwappingViews: [(String, SwappableView)])
-
Reference the currently shown view, if it’s set.
Declaration
Swift
public private(set) var currentView: (String, SwappableView)?
-
All of the views that have been added to this
SwapperView
.Note
Seeself.setSwappingViews()
to set this.Declaration
Swift
public private(set) var swappingViews: [String : SwappableView]
-
Remove the old view that was shown before and show the new view to the screen.
Throws
SwapperError.viewToSwapToDoesNotExist
If theviewIndicator
is not found inself.swappingViews
.Declaration
Swift
public func swapTo(_ viewIndicator: String, onComplete: (() -> Void)?) throws
Parameters
viewIndicator
View from
self.swappingViews
to swap to.onComplete
Optional parameter to tell you when the swap animation is complete and the new view is shown.


Lampion\FileSystem\FileSystem
Class for interacting with app's filesystem, though it can be used for the entire server by specifying storage path
- Author: Matyáš Teplý
Synopsis
class FileSystem
{
- // members
- private $storagePath;
- private $em;
- private $user;
- // methods
- public void __construct()
- public bool upload()
- public string path()
- public bool mv()
- public bool rm()
- public array ls()
- public bool rename()
- public float dirSize()
- public false|float fileSize()
- public bool mkdir()
- public bool rmdir()
- public bool cp()
- public bool write()
- public void hasPermission()
Members
private
- $em
- $storagePath
- $user
Methods
public
- __construct() — FileSystem constructor. If the storagePath param remains null, it defaults to current app's storage directory
- cp() — Copy file/directory to a new destination
- dirSize() — Returns size of a directory
- fileSize() — Returns size of a file
- hasPermission() — Check if current user has permission to desired file/directory
- ls() — Lists directory items
- mkdir()
- mv()
- path() — Returns a path of a file, if it is found in app's storage
- rename()
- rm()
- rmdir()
- upload()
- write() — Overwrite file's data


## Licensed to Hortonworks, Inc. under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. Hortonworks, Inc. licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this file except in compliance ## with the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License.
${ value | h}% endfor


Bookshelf
问题描述 :
Farmer John recently bought a bookshelf for cow library, but the shelf is getting filled up quite quickly, and now the only available space is at the top.
Each of the N cows (1 ≤ N ≤ 20,000) has some height of Hi (1 ≤ Hi ≤ 10,000) and a total height summed across all N cows of S. The bookshelf has a height of B (1 ≤ B ≤ S < 2,000,000,007).
To reach the top of the bookshelf taller than the tallest cow, one or more of the cows can stand on top of each other in a stack, so that their total height is the sum of each of their individual heights. This total height must be no less than the height of the bookshelf. Since more cows than necessary in the stack can be dangerous, your job is to find the set of cows that produces a stack of the smallest number of cows possible such that the stack can reach the bookshelf.
输入:
* Line 1: Two space-separated integers: N and B
* Lines 2..N+1: Line i+1 contains a single integer: Hi
输出:
* Line 1: A single integer representing the size of the smallest set of cows that can reach the bookshelf.
样例输入:
6 40 6 18 11 13 19 11
样例输出:
3
解题代码:
//* @author import java.io.*; import java.util.*; import java.math.*; public class Main { static int[] bookHeight; static int n; static BigInteger b; public static void main(String[] args) throws Exception { readFile(); } public static void readFile() throws Exception { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer( br.readLine()," "); n = Integer.valueOf(st.nextToken()); b = new BigInteger(st.nextToken()); int iCount = 0; bookHeight = new int[n]; while(iCount< n) { bookHeight[iCount++] = Integer.valueOf( br.readLine()); } process(); } public static void defbug() { for(int i=0; i< bookHeight.length; i++) System.out.println(bookHeight[i]+" "); System.out.println(); } public static void process() { Arrays.sort(bookHeight); BigInteger sum = BigInteger.valueOf(0L); BigInteger temp; int iCount = 0; for(int i=bookHeight.length-1; i>=0; i--) { sum = sum.add(BigInteger.valueOf( (long)(bookHeight[i]))); temp = sum.max(b); iCount++; if(temp.equals(sum)) break; } System.out.print(iCount); } }
正有此意，欢迎更多的建议~
无需用转移方程也可以解决，哈哈
补充：此算法求出的不一定是最优解，之前理解错了
bottes vernies blanches
I appreciate the efforts you men and women place in to share blogs on such sort of matters, it was certainly useful. Keep Posting!
很好的思路，可以借鉴
太好了，收藏
很好，找的就是这一题
哇，算法有这么多呢！
#include <cstdio>
int main() {
//answer must be odd
int n, u, d;
while(scanf("%d%d%d",&n,&u,&d)==3 && n>0) {
if(n<=u) { puts("1"); continue; }
n-=u; u-=d; n+=u-1; n/=u;
n<<=1, ++n;
printf("%dn",n);
}
return 0;
}
0000
I go through some of your put up and I uncovered a good deal of expertise from it. Many thanks for posting this sort of exciting posts
可以根据二叉排序树的定义进行严格的排序树创建和后序遍历操作。如果形成的排序树相同，其树的前、中、后序遍历是相同的，但在此处不能使用中序遍历，因为，中序遍历的结果就是排序的结果。经在九度测试，运行时间90ms，比楼主的要快。
正解，已改正。应该都是protected
没错的，九度OJ也有此题


One of the first things i had to do when i got to my new company was to build an application that would allow the remote restart of a web application. After much searching to find the correct thing i found the use of DirectoryEntry
In order to use it i had to import the name space:
using System.DirectoryServices;
This meant that i was able to access the correct part of AD in order to call the correct method that could tell me what the correct status of the app was and also to change the status to another state.
The first method i used was InvokeGet - this took an application pool path and then returned an int that was the state of that application pool. the app pool path was made up as follows:
var appPoolPath = String.Format(@"IIS://{0}/W3SVC/AppPools/{1}", Environment.MachineName, ConfigurationManager.AppSettings["applicationPoolName"]);
using this path we could then call a method as follows:
DirectoryEntry w3svc = new DirectoryEntry(appPoolPath); var currentStatus = (int)w3svc.InvokeGet("AppPoolState");
the int returned could then be deciphered to get the current status. If the int was 2 then the app pool is “running”, if the int was “4” then the app pool was stopped. i only checked for those 2 states and made the default be state “unknown”.
this meant that as we have the current state then we could then decide was was available to do and what not to do. By using a different method and passing in the command name and app pool name could we then change is state.
var appPoolPath = String.Format(@"IIS://{0}/W3SVC/AppPools/{1}", Environment.MachineName, ConfigurationManager.AppSettings["applicationPoolName"]); var command = "start"; DirectoryEntry w3svc = new DirectoryEntry(appPoolPath); w3svc.Invoke(command, null);
We are passing in null as there are no parameters that i needed to go with this. But it can accept a [] of args if needed. We can call stop in exactly the same way.
So whats the point of this post ihear you ask?? Well there are certain conditions that you can run this application under. The main one is that the user that the application pool needs to run under needs to be a local machine administration in order to interact with AD. this of course will not be a good thing to do on a live webserver - so what are the alternatives?
Nada, nothing, zilch! This is needed and the only way you can stop attacks on the server is possibly to run this under basic IIS authentication within an IP range and a known user with a ridiculously difficult password. I only discovered all of this after i had actually written the little application and this idea has since been trashed!
So back to remoting into the webserver for IIS application pool crashes! c’est la vie!


Non-Assignable Expression
ngModel
Expression '{0}' is non-assignable. Element: {1}
This error occurs when expression the ngModel
directive is bound to is a non-assignable expression.
Examples using assignable expressions include:
<input ng-model="namedVariable">
<input ng-model="myObj.someProperty">
<input ng-model="indexedArray[0]">
Examples of non-assignable expressions include:
<input ng-model="foo + bar">
<input ng-model="42">
<input ng-model="'oops'">
<input ng-model="myFunc()">
Always make sure that the expression bound via ngModel
directive can be assigned to.
For more information, see the ngModel API doc
.


---
layout: page
title: 'Manage a Book Trading Club'
description: 'This app allows users to search for, list and trade records
from their personal collection. The client is written with Angular v2.x
and Typescript backed by Meteor.js v1.4 for real-time database synchronization.'
site-url: 'https://angular-trading.herokuapp.com/'
git-repo: 'angular-trading-app'
userStory:
- 'I can view all books posted by every user.'
- 'I can add a new book.'
- 'I can update my settings to store my full name, city, and state.'
- 'I can propose a trade and wait for the other user to accept the trade.'
toDo:
- 'lint the code for each app'
- 'write tests for each app'
- 'change notification icon for different trade states'
scrollNav: [
{h: 'project-title', v: 'Trading Club', s: [
{h: 'try-it', v: 'In Action'}
]},
{h: 'more-information', v: 'Additional Info', s: [
{h: 'limitations', v: 'Limitations'},
{h: 'user-story', v: 'User Story'},
{h: 'to-do', v: 'To-Do'}
]},
]
---
{{page.description}}
Upload a file to test metadata inspection.
(Hosted externally)
{{page.title}}
See It In Action
See the git repository for additional information.
This application makes use of Herokus free tier. Accordingly, the application is limited to:
This service currently accepts only one file at a time.


An itchy restlessness had Rand pacing beside the dining table. Twelve strides. The table was exactly twelve strides long no matter how many times he stepped it off. Irritably he made himself stop keeping tally.   A few minutes later he discovered that he was counting the number of trips he made up the table and back. What is he saying to Moiraine and Lan? Does he know why the Dark One is after us? Does he know which of us the Dark One wants?
He glanced at his friends. Perrin had crumbled a piece of bread and was idly pushing the crumbs around on the table with one finger. His yellow eyes stared unblinking at the crumbs, but they seemed to see something far off. Mat slouched in his chair, eyes half closed and the beginnings of a grin on his face. It was a nervous grin, not amusement. Outwardly he looked like the old Mat, but from time to time he unconsciously touched the Shadar Logoth dagger through his coat. What is Fain telling her? What does he know?
Loial, at least, did not look worried. The Ogier was studying the walls. First he had stood in the middle of the room and stared, turning slowly in a circle; now he was almost pressing his broad nose against the stone while he gently traced a particular join with fingers thicker than most men’s thumbs. Sometimes he closed his eyes, as if the feeling was more important than seeing. His ears gave an occasional twitch, and he muttered to himself in Ogier, appearing to have forgotten anyone else was in the room with him.
Lord Agelmar stood talking quietly with Nynaeve and Egwene in front of the long fireplace at the end of the room. He was a good host, adept at making people forget their troubles; several of his stories had Egwene in giggles. Once even Nynaeve threw back her head and roared with laughter. Rand gave a start at the unexpected sound, and jumped again when Mat’s chair crashed to the floor.
“Blood and ashes!” Mat growled, ignoring the way Nynaeve’s mouth tightened at his language. “What’s taking her so long?” He righted his chair and sat back down without looking at anyone. His hand strayed to his coat.
The Lord of Fal Dara looked at Mat disapprovingly—his gaze took in Rand and Perrin without any improvement—then turned back to the women. Rand’s pacing had taken him close to them.
“My Lord,” Egwene was saying, as glibly as if she had been using titles all of her life, “I thought he was a Warder, but you call him Dai Shan, and talk about a Golden Crane banner, and so did those other men. Sometimes you sound almost as if he’s a king. I remember once Moiraine called him the last Lord of the Seven Towers. Who is he?”
Nynaeve began studying her cup intently, but it was obvious to Rand that abruptly she was listening even more closely than was Egwene. Rand stopped and tried to overhear without seeming to eavesdrop.
“Lord of the Seven Towers,” Agelmar said with a frown. “An ancient title, Lady Egwene. Not even the High Lords of Tear have older, though the Queen of Andor comes close.” He heaved a sigh, and shook his head. “He will not speak of it, yet the story is well known along the Border. He is a king, or should have been, al’Lan Mandragoran, Lord of the Seven Towers, Lord of the Lakes, crownless King of the Malkieri.” His shaven head lifted high, and there was a light in his eye as if he felt a father’s pride. His voice grew stronger, filled with the force of his feeling. The whole room could hear without straining. “We of Shienar call ourselves Bordermen, but fewer than fifty years ago, Shienar was not truly of the Borderlands. North of us, and of Arafel, was Malkier. The lances of Shienar rode north, but it was Malkier that held back the Blight. Malkier, Peace favor her memory, and the Light illumine her name.”
“Lan is from Malkier,” the Wisdom said softly, looking up. She seemed troubled.
It was not a question, but Agelmar nodded. “Yes, Lady Nynaeve, he is the son of al’Akir Mandragoran, last crowned King of the Malkieri. How did he become as he is? The beginning, perhaps, was Lain. On a dare, Lain Mandragoran, the King’s brother, led his lances through the Blight to the Blasted Lands, perhaps to Shayol Ghul itself. Lain’s wife, Breyan, made that dare for the envy that burned her heart that al’Akir had been raised to the throne instead of Lain. The King and Lain were as close as brothers could be, as close as twins even after the royal ‘al’ was added to Akir’s name, but jealousy wracked Breyan. Lain was acclaimed for his deeds, and rightfully so, but not even he could outshine al’Akir. He was, man and king, such as comes once in a hundred years, if that. Peace favor him, and el’Leanna.
“Lain died in the Blasted Lands with most of those who followed him, men Malkier could ill afford to lose, and Breyan blamed the King, saying that Shayol Ghul itself would have fallen if al’Akir had led the rest of the Malkieri north with her husband. For revenge, she plotted with Cowin Gemallan, called Cowin Fairheart, to seize the throne for her son, Isam. Now Fairheart was a hero almost as well loved as al’Akir himself, and one of the Great Lords, but when the Great Lords had cast the rods for king, only two separated him from Akir, and he never forgot that two men laying a different color on the Crowning Stone would have set him on the throne instead. Between them, Cowin and Breyan moved soldiers back from the Blight to seize the Seven Towers, stripping the Borderforts to bare garrisons.
“But Cowin’s jealousy ran deeper.” Disgust tinged Agelmar’s voice. “Fairheart the hero, whose exploits in the Blight were sung throughout the Borderlands, was a Darkfriend. With the Borderforts weakened, Trollocs poured into Malkier like a flood. King al’Akir and Lain together might have rallied the land; they had done so before. But Lain’s doom in the Blasted Lands had shaken the people, and the Trolloc invasion broke men’s spirit and their will to resist. Too many men. Overwhelming numbers pushed the Malkieri back into the heartland.
“Breyan fled with her infant son Isam, and was run down by Trollocs as she rode south with him. No one knows their fate of a certainty, but it can be guessed. I can find pity only for the boy. When Cowin Fairheart’s treachery was revealed and he was taken by young Jain Charin—already called Jain Farstrider—when Fairheart was brought to the Seven Towers in chains, the Great Lords called for his head on a pike. But because he had been second only to al’Akir and Lain in the hearts of the people, the King faced him in single combat and slew him. Al’Akir wept when he killed Cowin. Some say he wept for a friend who had given himself to the Shadow, and some say for Malkier.” The Lord of Fal Dara shook his head sadly.
“The first peal of the doom of the Seven Towers had been struck. There was no time to gather aid from Shienar or Arafel, and no hope that Malkier could stand alone, with five thousand of her lances dead in the Blasted Lands, her Borderforts overrun.
“Al’Akir and his Queen, el’Leanna, had Lan brought to them in his cradle. Into his infant hands they placed the sword of Malkieri kings, the sword he wears today. A weapon made by Aes Sedai during the War of Power, the War of the Shadow that brought down the Age of Legends. They anointed his head with oil, naming him Dai Shan, a Diademed Battle Lord, and consecrated him as the next King of the Malkieri, and in his name they swore the ancient oath of Malkieri kings and queens.” Agelmar’s face hardened, and he spoke the words as if he, too, had sworn that oath, or one much similar. “To stand against the Shadow so long as iron is hard and stone abides. To defend the Malkieri while one drop of blood remains. To avenge what cannot be defended.” The words rang in the chamber.
“El’Leanna placed a locket around her son’s neck, for remembrance, and the infant, wrapped in swaddling clothes by the Queen’s own hand, was given over to twenty chosen from the King’s Bodyguard, the best swordsmen, the most deadly fighters. Their command: to carry the child to Fal Moran.
“Then did al’Akir and el’Leanna lead the Malkieri out to face the Shadow one last time. There they died, at Herot’s Crossing, and the Malkieri died, and the Seven Towers were broken. Shienar, and Arafel, and Kandor, met the Halfmen and the Trollocs at the Stair of Jehaan and threw them back, but not as far as they had been. Most of Malkier remained in Trolloc hands, and year by year, mile by mile, the Blight has swallowed it.” Agelmar drew a heavyhearted breath. When he went on, there was a sad pride in his eyes and voice.
“Only five of the Bodyguards reached Fal Moran alive, every man wounded, but they had the child unharmed. From the cradle they taught him all they knew. He learned weapons as other children learn toys, and the Blight as other children their mother’s garden. The oath sworn over his cradle is graven in his mind. There is nothing left to defend, but he can avenge. He denies his titles, yet in the Borderlands he is called the Uncrowned, and if ever he raised the Golden Crane of Malkier, an army would come to follow. But he will not lead men to their deaths. In the Blight he courts death as a suitor courts a maiden, but he will not lead others to it.
“If you must enter the Blight, and with only a few, there is no man better to take you there, nor to bring you safely out again. He is the best of the Warders, and that means the best of the best. You might as well leave these boys here, to gain a little seasoning, and put your entire trust in Lan. The Blight is no place for untried boys.”
Mat opened his mouth, and shut it again at a look from Rand. I wish he’d learn to keep it shut.
Nynaeve had listened just as wide-eyed as Egwene, but now she was staring into her cup again, her face pale. Egwene put a hand on her arm and gave her a sympathetic look.
Moiraine appeared in the doorway, Lan at her heels. Nynaeve turned her back on them.
“What did he say?” Rand demanded. Mat rose, and Perrin, too.
“Country oaf,” Agelmar muttered, then raised his voice to a normal tone. “Did you learn anything, Aes Sedai, or is he simply a madman?”
“He is mad,” Moiraine said, “or close to it, but there is nothing simple about Padan Fain.” One of the black-and-gold-liveried servants bowed his way in with a blue washbasin and pitcher, a bar of yellow soap, and a small towel on a silver tray; he looked anxiously at Agelmar. Moiraine directed him to put them on the table. “Your pardon for commanding your servants, Lord Agelmar,” she said. “I took the liberty of asking for this.”
Agelmar nodded to the servant, who put the tray on the table and left hurriedly. “My servants are yours to command, Aes Sedai.”
The water Moiraine poured into the basin steamed as if only just off the boil. She pushed up her sleeves and began vigorously washing her hands without regard for the heat of the water. “I said he was worse than vile, but I did not come close. I do not believe I have ever met someone so abject and debased, yet at the same time so foul. I feel soiled from touching him, and I do not mean for the filth on his skin. Soiled in here.” She touched her breast. “The degradation of his soul almost makes me doubt he has one. There is something worse to him than a Darkfriend.”
“He looked so pitiful,” Egwene murmured. “I remember him arriving in Emond’s Field each spring, always laughing and full of news from outside. Surely there’s some hope for him? ‘No man can stand in the Shadow so long that he cannot find the Light again,’ ” she quoted.
The Aes Sedai toweled her hands briskly. “I have always believed it so,” she said. “Perhaps Padan Fain can be redeemed. But he has been a Darkfriend more than forty years, and what he has done for that, in blood and pain and death, would freeze your heart to hear. Among the least of these—though not small to you, I suspect—he brought the Trollocs to Emond’s Field.”
“Yes,” Rand said softly. He heard Egwene gasp. I should have guessed. Burn me, I should have, as soon as I recognized him.
“Did he bring any here?” Mat asked. He looked at the stone walls around them and shivered. Rand thought he was remembering the Myrddraal more than Trollocs; walls had not stopped the Fade at Baerlon, or at Whitebridge.
“If he did”—Agelmar laughed—“they’ll break their teeth on the walls of Fal Dara. Many others have before.” He was speaking to everyone, but obviously addressing his words to Egwene and Nynaeve, from the glances he gave them. “And do not worry yourself about Halfmen, either.” Mat’s face reddened. “Every street and alley in Fal Dara is lit by night. And no man may hide his face inside the walls.”
“Why would Master Fain do that?” Egwene asked.
“Three years ago . . . ” With a heavy sigh Moiraine sat down, folding up as if what she had done with Fain had drained her. “Three years, this summer. As far back as that. The Light surely favors us, else the Father of Lies would have triumphed while I still sat planning in Tar Valon. Three years, Fain has been hunting you for the Dark One.”
“That’s crazy!” Rand said. “He’s come into the Two Rivers every spring as regular as a clock. Three years? We’ve been right there in front of him, and he never looked at any of us twice before last year.” The Aes Sedai pointed a finger at him, fixing him.
“Fain told me everything, Rand. Or almost everything. I believe he managed to hold back something, something important, despite all I could do, but he said enough. Three years ago, a Halfman came for him in a town in Murandy. Fain was terrified, of course, but it is considered a very great honor among Darkfriends to be so summoned. Fain believed he had been chosen for great things, and he had, though not in the manner he believed. He was brought north to the Blight, to the Blasted Lands. To Shayol Ghul. Where he met a man with eyes of fire, who named himself Ba’alzamon.”
Mat shifted uneasily, and Rand swallowed hard. It had to have been that way, of course, but that did not make it any easier to accept. Only Perrin looked at the Aes Sedai as if nothing could surprise him any longer.
“The Light protect us,” Agelmar said fervently.
“Fain did not like what was done to him at Shayol Ghul,” Moiraine continued calmly. “While we talked, he screamed often of fire and burning. It almost killed him, bringing it all out from where he had it hidden. Even with my Healing he is a shattered ruin. It will take much to make him whole again. I will make the effort, though, if for no other reason than to learn what more he still hides. He had been chosen because of where he did his peddling. No,” she said quickly when they stirred, “not the Two Rivers only, not then. The Father of Lies knew roughly where to find what he sought, but not much better than we in Tar Valon.
“Fain said he has been made the Dark One’s hound, and in a way he is right. The Father of Lies set Fain to hunt, first changing him so he could carry out that hunt. It is the things done to bring about those changes that Fain fears to remember; he hates his master for them as much as he fears him. So Fain was sent sniffing and hunting through all the villages around Baerlon, and all the way to the Mountains of Mist, and down to the Taren and across into the Two Rivers.”
“Three springs ago?” Perrin said slowly. “I remember that spring. Fain came later than usual, but what was strange was that he lingered on. A whole week he remained, idle and gnashing his teeth about laying out money for a room at the Winespring Inn. Fain likes his money.”
“I remember, now,” Mat said. “Everybody was wondering was he sick, or had he fallen for a local woman? Not that any of them would marry a peddler, of course. As well marry one of the Traveling People.”
“After that, Fain was taken to Shayol Ghul again, and his mind was—distilled.” Rand’s stomach turned over at the tone in the Aes Sedai’s voice; it told more of what she meant than the grimace that flashed across her face.  When he entered the Two Rivers the next year, he was able to choose his targets out more clearly. Indeed, more clearly even than the Dark One had expected. Fain knew for a certainty that the one he sought was one of three in Emond’s Field.”
Perrin grunted, and Mat began cursing in a soft monotone that even Nynaeve’s glare did not stop. Agelmar looked at them curiously. Rand felt only the faintest chill, and wondered at it. Three years the Dark One had been hunting him . . . hunting them. He was sure it should have made his teeth chatter.
Moiraine did not allow Mat to interrupt her. She raised her voice enough to be heard over him. “When Fain returned to Lugard, Ba’alzamon came to him in a dream. Fain abased himself and performed rites that would strike you deaf to hear the half of them, binding himself even more tightly to the Dark One. What is done in dreams can be more dangerous than what is done awake.” Rand stirred at the sharp, warning look, but she did not pause. “He was promised great rewards, power over kingdoms after Ba’alzamon’s victory, and told that when he returned to Emond’s Field he was to mark the three he had found. A Halfman would be there, waiting for him with Trollocs. We know now how the Trollocs came to the Two Rivers. There must have been an Ogier grove and a Waygate at Manetheren.”
“The most beautiful of all,” Loial said, “except for Tar Valon.” He had been listening as intently as everyone else. “Manetheren is remembered fondly by the Ogier.” Agelmar formed the name silently, his eyebrows raised in wonder. Manetheren.
“Lord Agelmar,” Moiraine said, “I will tell you how to find the Waygate of Mafal Dadaranell. It must be walled up and a guard set, and none allowed near. The Halfmen have not learned all of the Ways yet, but that Waygate is to the south and only hours from Fal Dara.”
The Lord of Fal Dara gave himself a shake, as if he were coming out of a trance. “South? Peace! We don’t need that, the Light shine on us. It shall be done.”
“Did Fain follow us through the Ways?” Perrin asked. “He must have done.”
Moiraine nodded. “Fain would follow you three into the grave, because he must. When the Myrddraal failed at Emond’s Field, it brought Fain with the Trollocs on our trail. The Fade would not let Fain ride with him; although he thought he should have the best horse in the Two Rivers and ride at the head of the band, the Myrddraal forced him to run with the Trollocs, and the Trollocs to carry him when his feet gave out. They talked so that he could understand, arguing about the best way to cook him when his usefulness was done. Fain claims he turned against the Dark One before they reached the Taren. But sometimes his greed for his promised rewards seeps into the open.
“When we had escaped across the Taren the Myrddraal took the Trollocs back to the closest Waygate, in the Mountains of Mist, and sent Fain across alone. He thought he was free then, but before he reached Baerlon another Fade found him, and that one was not so kind. It made him sleep doubled up on himself in a Trolloc kettle at night, to remind him of the price of failure. That one used him as far as Shadar Logoth. By then Fain was willing to give the Myrddraal his mother if it would free him, but the Dark One never willingly loosens a hold he has gained.
“What I did there, sending an illusion of our tracks and smell off toward the mountains, fooled the Myrddraal, but not Fain. The Halfmen did not believe him; afterward, they dragged him behind them on a leash. Only when we seemed to keep always just ahead, no matter how hard they pressed, did some begin to credit him. Those were the four who returned to Shadar Logoth. Fain claims it was Ba’alzamon himself who drove the Myrddraal.”
Agelmar shook his head contemptuously. “The Dark One? Pah! The man’s lying or mad. If Heartsbane were loose, we’d all of us be dead by now, or worse.”
“Fain spoke the truth as he saw it,” Moiraine said. “He could not lie to me, though he hid much. His words. ‘Ba’alzamon appeared like a flickering candle flame, vanishing and reappearing, never in the same place twice.
Agelmar grunted as if he had been kicked; he looked sick.
“It was evil against evil in the ruins of Shadar Logoth,” Moiraine continued, “foul fighting vile. When Fain spoke of it, his teeth chattered and he whimpered. Many Trollocs were slain, consumed by Mashadar and other things, including the Trolloc that held Fain’s leash. He fled the city as if it were the Pit of Doom, at Shayol Ghul.
“Fain believed he was free at last. He intended to run until Ba’alzamon could never find him again, to the ends of the earth if necessary. Imagine his horror when he discovered that the compulsion to hunt did not lessen. Instead, it grew stronger and sharper with every day that passed. He could not eat, except what he could scavenge while he hunted you—beetles and lizards snatched while he ran, half-rotten refuse dug from midden heaps in the dark of night—nor could he stop until exhaustion collapsed him like an empty sack. And as soon as he had strength to stand again, he was driven on. By the time he reached Caemlyn he could feel his quarry even when it was a mile away. Here, in the cells below, he would sometimes look up without realizing what he was doing. He was looking in the direction of this room.”
Rand had a sudden itch between his shoulder blades; it was as if he could feel Fain’s eyes on him then, through the intervening stone. The Aes Sedai noticed his uneasy shrug, but she went on implacably.
“If Fain was half mad by the time he reached Caemlyn, he sank even further when he realized that only two of those he sought were there. He was compelled to find all of you, but he could do no other than follow the two who were there, either. He spoke of screaming when the Waygate opened in Caemlyn. The knowledge of how to do it was in his mind; he does not know how it came there; his hands moved of their own accord, burning with the fires of Ba’alzamon when he tried to stop them. The owner of the shop, who came to investigate the noise, Fain murdered. Not because he had to, but out of envy that the man could walk freely out of the cellar while his feet carried him inexorably into the Ways.”
“Then Fain was the one you sensed following us,” Egwene said. Lan nodded. “How did he escape the . . . the Black Wind?” Her voice shook; she stopped to swallow. “It was right behind us at the Waygate.”
“He escaped, and he did not,” Moiraine said. “The Black Wind caught him—and he claimed to understand the voices. Some greeted him as like to them; others feared him. No sooner did the Wind envelop Fain than it fled.”
“The Light preserve us.”
“Pray that it does,” Moiraine said. “There is much yet hidden about Padan Fain, much I must learn. The evil goes deeper in him, and stronger, than in any man I have yet seen. It may be that the Dark One, in doing what he did to Fain, impressed some part of himself on the man, perhaps even, unknowing, some part of his intent. When I mentioned the Eye of the World, Fain clamped his jaws shut, but I felt something knowing behind the silence. If only I had the time now. But we cannot wait.”
“If this man knows something,” Agelmar said, “I can get it out of him.” His face held no mercy for Darkfriends; his voice promised no pity for Fain. “If you can learn even a part of what you will face in the Blight, it’s worth an extra day. Battles have been lost for not knowing what the enemy intends.”
Moiraine sighed and shook her head ruefully. “My lord, if we did not need at least one good night’s sleep before facing the Blight, I would ride within the hour, though it meant the risk of meeting a Trolloc raid in the dark. Consider what I did learn from Fain. Three years ago the Dark One had to have Fain brought to Shayol Ghul to touch him, despite the fact that Fain is a Darkfriend dedicated to his marrow. One year ago, the Dark One could command Fain, the Darkfriend, through his dreams. This year, Ba’alzamon walks in the dreams of those who live in the Light, and actually appears, if with difficulty, at Shadar Logoth. Not in his own body, of course, but even a projection of the Dark One’s mind, even a projection that flickers and cannot hold, is more deathly dangerous to the world than all the Trolloc hordes combined. The seals on Shayol Ghul are weakening desperately, Lord Agelmar. There is no time.”
 “Aes Sedai, I can accept that when I lead the lances to Tarwin’s Gap we will be no more than a diversion, or a skirmish on the outskirts of the real battle. Duty takes men where it will as surely as does the Pattern, and neither promises that what we do will have greatness. But our skirmish will be useless, even should we win, if you lose the battle. If you say your party must be small, I say well and good, but I beg you to make every effort to see that you can win. Leave these young men here, Aes Sedai. I swear to you that I can find three experienced men with no thought of glory in their heads to replace them, good swordsmen who are almost as handy in the Blight as Lan. Let me ride to the Gap knowing that I have done what I can to help you be victorious.”
“I must take them and no others, Lord Agelmar,” Moiraine said gently. “They are the ones who will fight the battle at the Eye of the World.”
Agelmar’s jaw dropped, and he stared at Rand and Mat and Perrin. Suddenly the Lord of Fal Dara took a step back, his hand groping unconsciously for the sword he never wore inside the fortress. “They aren’t . . . You are not Red Ajah, Moiraine Sedai, but surely not even you would . . . ” Sudden sweat glistened on his shaven head.
“They are ta’veren,” Moiraine said soothingly. “The Pattern weaves itself around them. Already the Dark One has tried to kill each of them more than once. Three ta’veren in one place are enough to change the life around them as surely as a whirlpool changes the path of a straw. When the place is the Eye of the World, the Pattern might weave even the Father of Lies into itself, and make him harmless again.”
Agelmar stopped trying to find his sword, but he still looked at Rand and the others doubtfully. “Moiraine Sedai, if you say they are, then they are, but I cannot see it. Farmboys. Are you certain, Aes Sedai?”
“The old blood,” Moiraine said, “split out like a river breaking into a thousand times a thousand streams, but sometimes streams join together to make a river again. The old blood of Manetheren is strong and pure in almost all these young men. Can you doubt the strength of Manetheren’s blood, Lord Agelmar?”
Rand glanced sideways at the Aes Sedai. Almost all. He risked a look at Nynaeve; she had turned back to watch as well as listen, though she still avoided looking at Lan. He caught the Wisdom’s eye. She shook her head; she had not told the Aes Sedai that he was not Two Rivers born. What does Moiraine know?
“Manetheren,” Agelmar said slowly, nodding. “I would not doubt that blood.” Then, more quickly, “The Wheel brings strange times. Farmboys carry the honor of Manetheren into the Blight, yet if any blood can strike a fell blow at the Dark One, it would be the blood of Manetheren. It shall be done as you wish, Aes Sedai.”
“Then let us go to our rooms,” Moiraine said. “We must leave with the sun, for time grows short. The young men must sleep close to me. Time is too short before the battle to allow the Dark One another strike at them. Too short.”
Rand felt her eyes on him, studying him and his friends, weighing their strength, and he shivered. Too short.


With the simple form creator you can create forms fast for absolutely no cost. Protect your form's answers with a password that's surprisingly not encoded in plain text.
Create polls instantly with many answer options.
You don't need an account to create or vote on a form. In fact, this service does not support any registration.
The source code and the product are licensed under the MIT (Expat) license, making okforms free (libre) software.
The source code of okforms does not depend on any frameworks, everything was written from scratch with the intent to be fast and compatible. You can vote on forms and polls from even w3m.
Export your form's answers as XML and JSON formats. Your form's answers will stay even if the form expired.
Don't delay, try okforms today!


{% extends "base.html" %} {%block title %}
Welcome to lorem sum dolor © . We are an online blogging site providing insightful information into the world of fashion, lifestyle, technology, food, health and entertainment. BlogVlog is your one-stop source for getting all the latest news from the fashion industry, lifestyle, fitness and beauty-related industries.
We would love to take you into a world full of fashion and lifestyle wherein you’ll be aware of the latest trends and our site will also benefit your health as we have some really great tips and tricks, content for your everyday health issues. We intend to bring your entertainment at your finger tips with some tech news and startup stories..all in one place.


Employee Management System
Employees
Department
Employee List
Name
Age
Department
Actions
Update
Delete
Add a new Employee


pnw4js is a simple, type safe, promise-based JavaScript library for accessing the Politics & War API. It is written in TypeScript for CommonJS, NodeJS and TypeScript. Compiles to ES5.
Why use pnw4js?
The easiest way to install pnw4js is using npm in your project directory.
cd project_dir
npm install pnw4js
For greater flexibility — such as the ability to edit the code or manually configure the APIs — you are able to manually clone the project from the github. In your project directory, you will want to clone in the files
cd project_dir
git clone # Project from Github
npm install # Installs all dependencies
npm install typescript # for compiling github project
tsc
You will then see a dist
folder which contains .js files. Copy the entire contents of the folder into your project folder. To edit the files, you must perform any edits in .ts
source files and then recompile using tsc
.
For standard installation using npm, the following code outlines usage.
const PoliticsAndWar = require("pnw4js");
let pnw = new PoliticsAndWar("key", "password");
let nationCall = await pnw.nation(64060); // test call
import PoliticsAndWar from "pnw4js";
let pnw = new PoliticsAndWar("key", "password");
let nationCall = await pnw.nation(64060);
This library is compatible with TypeScript. Please see Documentation for in-depth documentation. The PoliticsAndWar(key, [pass])
constructor requires a string parameter for the key, and the default password is pnw
. The password is readonly
, however key
can be updated using the setKey(key)
method.
In order to promote ease of use and accessibility, this library is straightforward and documented on Github Pages written and generated using TSDoc.
Please click here to view generated documentation. Alternatively, just read through source code, type annotations and inline documentation.
This library is actively supported and developed by the creator. Feel free to post an issue on the page, or contact me on Discord @Canter#0548 (send a friend request). You can also join the my Discord and ping me.
This library has been tested and deployed in NodeJS and browser environments. That being said, there likely exist undiscovered bugs. Please submit an issue request if you encounter any problems using the library.
This is current Version 1 of pnw4js. Version 2 is planned to include caching of past calls, and Version 3 will include analysis and filters on calls (TBD). Code written for current updates will still work for future versions of the library.
As an open-source project, any pull requests are welcome! If you implement the library and create any major features, please feel free to send me a message if you're unsure on how to implement them into the library.
Pull requests are welcome. Please include a description of each commit, and keep your contributions atomic - one major feature per pull request please!
Generated using TypeDoc


Example 1.7.2.
Show that the following argument is valid. "If a state restricts access to abortion, then the number of abortions will decrease in that state. The number of abortions did not decrease in that state. Therefore, the state did not restrict access to abortion.""


{% load humanize %} {% load server_tags %} {# This is very similar to userbox but needs different positioning #}