A sample-file playback actor
The sample actor suite (sampActor, sampHand, sampAlg) provides a simple means of controlling sample file playback.
(The sample actor is not a good example for developing other actors,
because it requires some special code and breaks several actor/handler conventions.)
Sample files are on the machine running vss (the server, not the client).
Sample files must be in aiff or wav format.
Other formats like .au or .aifc must first be converted to .aiff.
On an SGI computer, one of these two commands will usually work:
sfconvert inputfile outputfile.aiff format aiff
sfconvert inputfile outputfile.aiff format aiff int 16 2
(Simply renaming foo.wav to foo.aiff won't work).
Or you can use SGI's soundfiler application.
On linux machines, sox converts file formats well.
AIFF files must be in 16-bit, not 8-bit, format;
WAV files may be either 16 or 8-bit. 16-bit files generally
sound much cleaner (less hiss and rumble); they are strongly preferred.
WAV files must be in conventional PCM format, not something funky
like ADPCM or MULAW or G728_CELP.
The principal parameters of the sample playback engine are
- the base directory (where it looks for
sample files; relative paths are relative to the vss launch directory),
- the filename (names with
path are relative to the base directory, unless they begin with "/"),
- the loop points (begin and end),
- the loop flag (if true, looping occurs),
- and, to a lesser degree, the bounding points (begin and end)
for playback of a smaller segment from within the sample file.
The sample playback algorithm loads the entire sample data into memory,
so be careful to load only the samples which you need,
and delete them when they are no longer needed. Sound files can be
quite large. If you're still cramped for memory, consider converting
the files to a lower sample rate, or from stereo to mono, with SGI's
soundfiler application.
To use the sample actor, load samp.so and create an actor of type SampleActor.
SampleActor messages
In addition to the messages understood by all generator actors, the SampleActor understands the following messages:
- PlaySample hActor "fileName"
- Load the specified sample file into memory, play it from beginning to end
without looping, and then delete the handler. No handle is returned to the
client. filename must be double-quoted as shown.
- LoadFile hActor "fileName"
- Load the specified sample file into memory, and add it to a quick-playback
file list maintained internally by vss for future references to sample file
fileName by hActor. filename must be double-quoted as shown.
- UnloadFile hActor "fileName"
- Delete the specified sample file from memory, and remove it from the
file list for hActor. filename must be double-quoted as shown.
- UnloadAllFiles hActor
- Delete all current sample files for actor hActor from memory,
and clear the associated file list.
- RewindAll hActor
- Rewind all children. That is, set their playback indices to the beginning
of the sample file, or to the "start" parameter given in the message
SetAllBounds.
- SetDirectory hActor "dir"
- Set the default base directory for new instances created by this actor to
dir. dir must be double-quoted as shown.
- SetAllDirectory hActor dir
- Set the base directory of all children to dir, and set the
default base directory for all future children to this directory also.
- SetAllBounds hActor x y
- Set the start and end points of sample playback for all children to
x (start) and y end. Otherwise, the start and end points
default to the beginning and end of the sample file(s).
- SetLoop hActor bool
- Set the default loop flag for new instances created by this actor to
bool. Looping occurs for bool=1. The default behavior upon
actor creation is for looping to be off.
- SetAllLoop hActor bool
- Set the loop flag of all children, and the default loop flag for all
future children to bool.
- SetAllLoop hActor x y bool
- Set the loop points for all children to x (start) and y
(end). If bool is specified, set the loop flag for all children, and
the default loop flag for all future children, to bool. If
bool is not specified, set the loop flag for all children, and the
default loop flag for all future children, to 1.0 (true).
- SetPlaybackRate hActor r
- Set the default playback rate for new instances created by this actor to
r. The default rate upon actor creation is r=1.0 which
corresponds to playback at the normal rate (i.e. a rate of 2.0 plays back at
double speed). vss always computes and plays out samples at its own set sample
rate; for sample files recorded at different rates, samples are automatically
interpolated to maintain a consistent perceived playback rate.
- SetAllPlaybackRate hActor r time
- Set the playback rate for all children, and the default playback rate for
all future children, to r. If time is specified, children
will modulate to the new playback rate over the specified duration. Default
playback rate for future children is always set immediately regardless of
time.
Sample playback handler messages
In addition to the messages understood by all handlers, the handler for the sample playback algorithm understands the following messages:
- DeleteWhenDone hSound bool
- If bool is true (not 0.), delete the handler when
the playback index reaches the playback endpoint (only if looping is
turned off). bool defaults to true.
If DeleteWhenDone isn't sent, the handler will not be automatically
deleted in this way.
- DeleteWhenDoneMG hSound hMessageGroup
- When the playback index reaches the playback endpoint,
delete the handler and send a message to the Message Group hMessageGroup
consisting of a floating-point array one element long. This single element is
hSound, the handle of this (currently being deleted) handler.
You can use this message to discover when a sound has finished playing.
- JumpTo hSound time
- Move the playback index to the specified time (in seconds). Fails if
time is less than zero (all sample files are assumed to start at
relative time zero) or greater than the length of the file in time.
- Rewind hSound
- Set the playback index to the beginning of the sample file, or to the
"start" parameter given in the messages SetBounds or SetAllBounds.
- SetDirectory hSound "dir"
- Set the base directory to dir.
dir must be double-quoted as shown.
- SetFile hSound "fileName"
- Load the sample file fileName, if not previously loaded, and
initialize for playback. Playback and loop points are reset to the beginning
and end of the file. filename must be double-quoted as shown.
- SetBounds hSound x y
- Set the start and end points of sample playback to
x (start) and y (end). Otherwise, the start and end points
default to the beginning and end of the sample file, or to the points
specified through message SetAllBounds.
- SetLoop hSound bool
- Set the default loop flag to bool.
- SetLoop hSound x y bool
- Set the loop points to x (start) and y
(end). If bool is specified, set the loop flag to
bool. If bool is not specified, set the loop flag for this
handler to 1.0 (true).
- SetPlaybackRate hSound r time
- Set the rate at which which the algorithm plays back the sample file.
The default rate upon actor creation is r=1.0 corresponding to
playback at the normal rate (i.e. a rate of 2.0 plays back at double speed).
If time is specified, modulate to the new playback rate over the
specified duration.


List of all books of our Library
by Diseño Constructivo
Comprar ahora
Category
Business
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi delectus quia reprehenderit!
© Copyright 2021 Lorem Inc. All rights reserved.


- salva(String) - Method in class mining.KMeansMiner
-
Serialize and save an instance of KMeans in a file.
- sampling(int) - Method in class data.Data
-
Generate array of k unique random indexes for centroids
- ServeOneClient - Class in server
-
- the main bridge communication with client, 1-1 direct channel with client
- ServeOneClient(Socket, ServiceDispatcher, ServerLogger) - Constructor for class server.ServeOneClient
-
- server - package server
-
- ServerConfiguration - Class in server
-
Load a configuration file which contains server settings.
- ServerException - Exception in server
-
Exception to be thrown if server errors occurs.
- ServerException() - Constructor for exception server.ServerException
-
- ServerException(String) - Constructor for exception server.ServerException
-
- ServerException(String, Throwable) - Constructor for exception server.ServerException
-
- ServerLogger - Class in server
-
- ServerLogger() - Constructor for class server.ServerLogger
-
Constructs an instance of ServerLogger
- Service - Interface in services
-
The Service interface should be implemented by any class whose instances are
intended to provide a "self-contained computation" on the server.
- ServiceDispatcher - Class in services
-
This class provides the services dispatch mechanism implementation.
- ServiceDispatcher() - Constructor for class services.ServiceDispatcher
-
- services - package services
-
This package provides classes and interfaces
that implements a command pattern for service dispatch mechanism.
- setAttribute(Attribute) - Method in class data.Item
-
Setter for the attribute field
- setResponseType(MessageType) - Method in class protocol.ResponseMessage
-
Setter of message type
- setStatus(String) - Method in class protocol.ResponseMessage
-
Setter of message status
- setValue(Object) - Method in class data.Item
-
Setter for the value field
- start() - Method in class server.MultiServer
-
Start the server main activity.


{% load static %}
Dota2 is an online E-sport.
It is very competitive that makes players concentrates on every play
I love this game since I enjoy competing with others, and try my best to outplay other geeks..
After all, It's just so fun to play Dota2 with friends.
Books, Music, Operas, Comics, Movies... and now, Games! So why not?
From 3A games to old schools like Pokemon, Yu-Gi-Oh... even VR games
And a lot more! Hopefully I can make my own game in the future!
Again, competing with other players is fun.
Been playing basketball and baseball since childhood.
Right now, sport is mainly for health and losing weight...
Composing music is always fun!
Learning Piano and Continuing to play since 4...
Love playing in band with friends and watching lives.


Alloy - UploaderDD Demo
Browse (you can select multiple files).
File selected:
Percent uploaded:
Response data:


Fact Sheet
Information regarding our project:
- This project aims to:
- Show how the COMPAS Algorithm tend to be more conservative with African Americans (meaning that it will tend to overly score African Americans with an High risk compared to Caucasians).
- Propose a correction of the algorithm to ensure that the so called “race” are equal in terms of the mistakes made by the algorithm.
- Show the difference in score.
- The error presented on our "Why our score?" page represents the False Positive Rate, which is the rate of being wrongly predicted as a future recidivist.
- For a reduction in good classification rate of less than 1% (0.75% for Caucasian an 0.28% for African American), we reduced drastically the bias of error.
- With COMPAS algorithm, African American were 2.14 times more likely to be scored erroneously as future recidivist when compared to African American. Now, African American have the same chance of being faulty scored as future recidivist by the algorithm (22%).
- With COMPAS algorithm, Caucasians were 2.25 times more likely than African American to be erroneously scored as non future recidivist (low). Now, this number is now back to 1.06.
- It is not an easy task to build an algorithm that would maximize the performance while treating all races, gender equally. There is a tradeoff, and, as a society, we need to choose what we should prioritize.
General statistics regarding predictive recidivism algorithms:
- According to ScienceAdvances in "The accuracy, fairness, and limits of predicting recidivism" while addresseing biases in the COMPAS algorithm:
- Black defendants who did not recidivate were incorrectly predicted to reoffend at a rate of 44.9%, nearly twice as high as their white counterparts at 23.5%.
- White defendants who did recidivate were incorrectly predicted to not reoffend at a rate of 47.7%, nearly twice as high as their black counterparts at 28.0%.
- According to PROPUBLICA in "How We Analyzed the COMPAS Recidivism Algorithm"
- "The analysis also showed that even when controlling for prior crimes, future recidivism, age, and gender, black defendants were 45 percent more likely to be assigned higher risk scores than white defendants."


Playing Cards and Conditionals
Blackjack!
Deal Me In / Hit
Dealer hand / Hit
Stand
Click Refresh for New Game


Cleveland tower space available. Located in a busy shopping district strategically located in the middle of two major freeways, route 2, one mile to the north and I-90, one mile to the south.
View Larger Map
Structure Registration Number:
1055553
Location:
7516 Mentor Avenue, Mentor, Ohio 44060
Latitude:
41-39-18.9 (N) NAD 83
Longitude:
81-22-21.9 (W)
Elevation above mean sea level:
209.7 meters
Tower Type:
Pirod MP48, 140’ monopole design
Height available:
110' - 130’
Equipment room:
large indoor area located appx. 40’ from base of tower features HVAC and 24 hour accessibility.
Additional information available upon request.
Interested parties should contact:
Jack Tompkins
7516 Mentor Avenue, Mentor, Ohio 44060
(440) 942-4132 Phone
(440) 488-2473 Cell
<EMAIL_ADDRESS>View of upper portion of tower
View of lower portion of tower
Metered power block
already installed
Easterly look from our tower
Indoor comunications area
with 24 hour access!
View from tower looking North
View looking east at the
Great Lakes Mall
View looking Northwest
towards Cleveland
View looking Northeast
from Tower
View looking South
from our tower
Westerly look from our tower


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
HIGH COURT OF JUDICATURE AT ALLAHABAD ?Chief Justice's Court Case :- WRIT - C No. - 7313 of 2020 Petitioner :- M/S Laghu Udyog Pakai Bhatti Chamber Sahkari Samiti Through Its Proprietor Respondent :- The Commissioner Agra Region Through Its Chairman And 2 Others Counsel for Petitioner :- Radhey Shyam Dwivedi Counsel for Respondent :- C.S.C.,Hari Nath Tripathi, J.N. Maurya Hon'ble Govind Mathur,Chief Justice Hon'ble Samit Gopal,J.
This petition for writ is preferred to challenge an order dated 17.01.2020 passed on behalf of Uttar Pradesh Pollution Control Board.
Such an order is appealable under Section 31 of the Air (Prevention and Control of Pollution) Act, 1981 (hereinafter referred to as "Act, 1981").
In the case in hand, we do not find any just reason to deviate from the general principle to approach writ Court only after exhausting all alternative remedies.
In view of it, this petition for writ is dismissed. The petitioner is at liberty to avail the remedy given under the Act, 1981.
Order Date :- 28.2.2020 Shubham .
(Samit Gopal, J.) (Govind Mathur, C.J.)


TABLE OF INTERACTIONS WITH
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI)
From the French ANSM drug interactions document of
September 2016, pp. 111-112
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
ALCOHOL (DRINK OR INGREDIENT) |
Increase of the hypertensive and/or hyperthermic effects of the tyramine present in certain alcoholic drinks (chianti, certain beers, etc.) |
Not recommended Avoid taking alcoholic beverages and medications containing alcohol. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
ADRENALINE (ORAL-DENTAL OR SUB-CUTANEOUS) CLASS CODE: A01AD |
Serious ventricular arrhythmias due to increased cardiac sensitization. |
Precaution for use Limit the amount, for example: less than 0.1 mg of adrenaline in 10 minutes or 0.3 mg in an hour for an adult. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
DEXTROMETHORPHAN RxNorm: 3289 ATC: R05DA09 N07XX59 |
Risk of appearance of a serotonin syndrome: diarrhea, tachycardia, sweats, trembling, confusion, even coma |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
GUANETHIDINE RxNorm: 5036 ATC: C02CC02 S01EX01 C02LF01 |
With the guanethidine used by IV route: risk of unforeseeable vascular reactions, especially hypotension |
CONTRAINDICATION Interrupt the treatment with the MAOI two weeks before the treatment with guanethidine. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
CATECHOL-O-METHYLTRANSFERASE INHIBITORS (COMT) CLASS CODE: COMT |
Increase of the pharmacological effects, and especially increase in blood pressure and contraction of the blood vessels by the catecholamines due to the combined inhibition of their metabolism |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
SELECTIVE SEROTONIN REUPTAKE INHIBITORS (SSRIs) CLASS CODE: N06AB |
Risk of appearance of a serotonin syndrome: diarrhea, tachycardia, sweats, trembling, confusion, even coma |
CONTRAINDICATION Wait two weeks between the discontinuation of the MAOI and the start of the treatment with the SSRI, and at least a week between the end of treatment with the SSRI (except fluoxetine: five weeks) and the start [sic]. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
MIXED ADRENERGIC-SEROTONINERGIC MEDICATIONS CLASS CODE: N06A |
Risk of appearance of a serotonin syndrome: diarrhea, tachycardia, sweats, trembling, confusion, even coma. |
CONTRAINDICATION Wait two weeks between stopping the MAOI and the start of the other treatment, and at least a week between the end of that treatment and the start of the MAOI. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
MIDODRINE RxNorm: 6963 ATC: C01CA17 |
Hypertensive crises (inhibition of the metabolism of the pressor amines). Because of the length of action of the MAOI, this interaction is still possible two weeks after the MAOI is stopped. |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
ST JOHNS WORT Hypericum perforatum RxNorm: 258326 ATC: not found |
Risk of appearance of a serotonin syndrome |
Precaution for use Regular clinical and biological monitoring, especially at the beginning of the administration of the substances together. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
PETHIDINE RxNorm: 6754 ATC: N02AB02 N02AG03 |
Risk of appearance of a serotonin syndrome: diarrhea, tachycardia, sweats, trembling, confusion, even coma |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
RESERPINE RxNorm: 9260 ATC: C02AA02 |
Psychomotor agitation, convulsions, hypertension |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
ALPHA SYMPATHOMIMETICS (ORAL AND/OR NASAL ROUTES) CLASS CODE: R01AA |
Hypertensive crises (inhibition of the metabolism of the pressor amines). Because of the length of action of the MAOI, this interaction is still possible two weeks after the MAOI is stopped |
Not recommended |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
ALPHA AND BETA SYMPATHOMIMETICS (IM AND IV ROUTES) CLASS CODE: C01CA |
Increase of the pressor action of the sympathomimetic, most often moderate. |
Precaution for use Only use under strict medical monitoring. |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
INDIRECT SYMPATHOMIMETICS CLASS CODE: C01CA-R01BA |
Paroxysmal hypertension, hyperthermia that can be fatal. Because of the length of action of the MAOI, this interaction is still possible two weeks after the MAOI has been stopped |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
TETRABENAZINE RxNorm: 10390 ATC: N07XX06 |
Risk of hypertensive crises. Because of the duration of the action of the MAOI, this interaction is still theoretically possible two weeks after the MAOI is stopped |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
TIANEPTINE RxNorm: 38252 ATC: N06AX14 |
Risk of drop in blood pressure, paroxysmal hypertension, hyperthermia, convulsions, death |
Not recommended |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
TRAMADOL RxNorm: 10689 ATC: N02AX02 |
Risk of appearance of a serotonin syndrome: diarrhea, sweats, trembling, confusion, even coma |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
TRIPTANS METABOLIZED BY THE MAO CLASS CODE: N02CC-002 |
Risk of arterial hypertension, of constriction of the coronary arteries |
CONTRAINDICATION |
IRREVERSIBLE MONOAMINE OXIDASE INHIBITORS (MAOI) CLASS CODE: N06AF0 |
TRIPTANS NOT METABOLIZED BY THE MAO CLASS CODE: NO2CC-003 |
Risk of arterial hypertension, of constriction of the coronary arteries |
Not recommended |


SSID(1) suckless-tools SSID(1) NAME ssid - simple setsid SYNOPSIS ssid DESCRIPTION ssid is an extremly simple setsid replacement. OPTIONS ssid has no options. SEE ALSO Homepage <http://www.suckless.org/> AUTHOR ssid was written by Anselm R. Garbe<EMAIL_ADDRESS>This manual page was written by Daniel Baumann<EMAIL_ADDRESS>for the Debian project (but may be used by others). 0.1 2008-08-03 SSID(1)


can.route can.route
inherits: can.ObserveManage browser history and client state by synchronizing the window.location.hash with an can.Observe.
can.route( template [, defaults] )
Create a route matching rule.
Parameters
-
template
{String}
the fragment identifier to match. The fragment identifier should start with either a character (a-Z) or colon (:). Examples:
can.route(":foo") can.route("foo/:bar")
-
defaults
{Object}
Optionalan object of default values
Background Information
To support the browser's back button and bookmarking in an Ajax application, most applications use the
window.location.hash
. By changing the hash (via a link or JavaScript), one is able to add to the browser's history without changing the page.This provides the basics needed to create history enabled Ajax websites. However,
can.route
addresses several other needs such as:How it works
can.route
is a can.Observe that represents thewindow.location.hash
as an object. For example, if the hash looks like:the data in
can.route
looks like:can.route
keeps the state of the hash in-sync with thedata
contained withincan.route
.can.Observe
can.route
is a can.Observe. Understandingcan.Observe
is essential for usingcan.route
correctly.You can listen to changes in an Observe with
bind(eventName, handler(ev, args...))
and change can.route's properties with attr.Listening to changes in an Observable
Listen to changes in history by binding to changes in
can.route
like:attr
- the name of the changed attributehow
- the type of Observe change event (add, set or remove)newVal
/oldVal
- the new and old values of the attributeYou can also listen to specific changes with delegate:
Observe lets you listen to the following events:
Listening for
add
is useful for widget setup behavior,remove
is useful for teardown.Updating an observable
Create changes in the route data with attr like:
Or change multiple properties at once like:
When you make changes to can.route, they will automatically change the
hash
.Creating a Route
Use
can.route(url, defaults)
to create a route. A route is a mapping from a url to an object (that is the can.route's state). In order to map to a specific properties in the url, prepend a colon to the name of the property like:If no routes are added, or no route is matched, can.route's data is updated with the deparamed hash.
Once routes are added and the hash changes, can.route looks for matching routes and uses them to update can.route's data.
Default values can also be added:
Delay setting can.route
By default,
can.route
sets its initial data on document ready. Sometimes, you want to wait to set this data. To wait, call:and when ready, call:
Changing the route.
Typically, you never want to set
location.hash
directly. Instead, you can change properties oncan.route
like:This will automatically look up the appropriate route and update the hash.
Often, you want to create links.
can.route
provides the can.route.link and can.route.url helpers to make this easy:Demo
The following demo shows the relationship between
window.location.hash
, routes given tocan.data
,can.route
's data, and events oncan.data
. Most properties are editable so experiment!IE Compatibility
Internet Explorer 6 and 7 does not support
window.onhashchange
. Even Internet Explorer 8 running in IE7 compatibility mode reportstrue
foronhashchange
in window, even though the event isn't supported.If you are using jQuery, you can include Ben Alman's [HashChange Plugin http://benalman.com/projects/jquery-hashchange-plugin/] to support the event in the unsupported browser(s).
Using routes with
can.Control
Using templated event handlers, it is possible to listen to changes to
can.route
withincan.Control
. This is convenient as it allows the control to listen to and make changes whenever the route is modified, even outside of the control itself.Creating and binding routes with
can.Control.route
Using can.Control.route, a builtin plugin to CanJS, cuts down on the amount of code needed to work with
can.route
incan.Control
. With this plugin, it is possible to both create routes and bind tocan.route
at the same time. Instead of creating several routes to handle changes to type and id, write something like this in a control:Getting more specific with the
can.Observe.delegate
pluginSometimes, you might only want to trigger a function when the route changes only once, even if the route change gets called multiple times. By using the can.Observe.delegate plugin, this is extremely easy. This plugin allows you to listen to change, set, add, and remove on
can.route
.If you wanted to, say, show a list of recipes when type was set to recipe and show a specific recipe when id was set, you could do something like:
If we didn't only listen to when recipe is set, then every time we chose to show a single recipe, we would create and show the list of recipes again which would not very efficient.


Created: {{ scanSession.date | date: 'yyyy/MM/dd hh:mm' }}
Number of scannings: {{ scanSession.scannings.length }}


When i was a small boy my father told me never to recommend a church or a woman to anyone. And i have found it wise never to recommend a restaurant either.Something always goes wrong with the cheese souffle
There is Something profoundly satisfying about sharing a meal.Eating together,breaking bread together, is one of the oldest and most fundamentally unifying of human experiences.
There is Something profoundly satisfying about sharing a meal.Eating together,breaking bread together, is one of the oldest and most fundamentally unifying of human experiences
There is Something profoundly satisfying about sharing a meal.Eating together,breaking bread together, is one of the oldest and most fundamentally unifying of human experiences


Generate a Polite Email Popup
for Your Website!
▶ Watch 8 min tutorial
▶ Read the full guide
Configure your popups:
If you leave any of these fields blank, they'll be set to safe defaults by the Polite Email Popup library.
Logo image URL
(This URL can be relative to your website, like
/images/my-image.png
)
Heading text
Description text
Main button text
Success message
Failure message
Type of website
Content website
(a long piece of content, like a blog post)
Marketing website
(a multi-page website that people browse)
Trigger popups sooner?
Make popups trigger slightly more aggressively
Show debug notice?
(only enable this for testing, not permanently)
Show a notice where you can keep track of Polite Email Popup's parameters
Add support for Mailchimp or ConvertKit
▶ How to add Mailchimp (2 min)
▶ How to add ConvertKit (2 min)
Paste your embeddable form code here:
Generate Code!
Ouput code:
Paste the following code into your website to enable the Polite Email Popup plugin!
Copy code to clipboard
Note:
Although you can add this code anywhere on your website and it will work, it's recommended that you put this code in the footer of your website, right before the closing
</body>
tag.


Document the router configuration. Keep the router configuration documentation up-to-date.
Documenting the router configuration is important for maintenance and security purposes. Good router documentation makes the PCI DSS compliance certification process simpler and may be required to pass. Documentation is also very useful when making changes to the configuration and when hiring new staff.
Inspect each router and document each configuration setting thoroughly. Delegate responsibility for maintaining the network documentation up-to-date to a staff member.


| Package | Description |
|---|---|
| org.opensaml.xml.security.credential |
Interfaces and classes related to credentials and ways to represent
them.
|
| org.opensaml.xml.security.trust |
Interfaces and classes used to evaluate the trustworthiness
and validity of
Credential s |
| org.opensaml.xml.security.x509 |
X509 based credential and trust class.
|
| org.opensaml.xml.signature.impl |
Implementations of the interfaces for XMLObjects that represent XML signature types.
|
| Modifier and Type | Method and Description |
|---|---|
protected X509Credential |
KeyStoreCredentialResolver.processPrivateKeyEntry(KeyStore.PrivateKeyEntry privateKeyEntry,
String entityID,
UsageType usage)
Build an X509Credential from a keystore private key entry.
|
protected X509Credential |
KeyStoreCredentialResolver.processTrustedCertificateEntry(KeyStore.TrustedCertificateEntry trustedCertEntry,
String entityID,
UsageType usage)
Build an X509Credential from a keystore trusted certificate entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ExplicitX509CertificateTrustEngine.checkParams(X509Credential untrustedCredential,
CriteriaSet trustBasisCriteria)
Check the parameters for required values.
|
boolean |
ExplicitX509CertificateTrustEngine.validate(X509Credential untrustedCredential,
CriteriaSet trustBasisCriteria)
Validates the token against trusted information obtained in an
implementation-specific manner.
|
boolean |
ExplicitX509CertificateTrustEvaluator.validate(X509Credential untrustedCredential,
Iterable<Credential> trustedCredentials)
Evaluate trust.
|
boolean |
ExplicitX509CertificateTrustEvaluator.validate(X509Credential untrustedCredential,
X509Credential trustedCredential)
Evaluate trust.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicX509Credential
A basic implementation of
X509Credential . |
class |
KeyStoreX509CredentialAdapter
A wrapper that changes a
KeyStore in to a X509Credential . |
class |
X509KeyManagerX509CredentialAdapter
A class that wraps a
X509KeyManager and exposes it as an X509Credential . |
| Modifier and Type | Method and Description |
|---|---|
protected CertStore |
CertPathPKIXTrustEvaluator.buildCertStore(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
Creates the certificate store that will be used during validation.
|
protected boolean |
PKIXX509CredentialTrustEngine.checkNames(Set<String> trustedNames,
X509Credential untrustedCredential)
Evaluate the credential against the set of trusted names.
|
boolean |
X509CredentialNameEvaluator.evaluate(X509Credential credential,
Set<String> trustedNames)
Evaluate the specified credential against the specified set of trusted names.
|
boolean |
BasicX509CredentialNameEvaluator.evaluate(X509Credential credential,
Set<String> trustedNames)
Evaluate the specified credential against the specified set of trusted names.
|
static String |
X509Util.getIdentifiersToken(X509Credential credential,
X500DNHandler handler)
Gets a formatted string representing identifier information from the supplied credential.
|
protected PKIXBuilderParameters |
CertPathPKIXTrustEvaluator.getPKIXBuilderParameters(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
Creates the set of PKIX builder parameters to use when building the cert path builder.
|
protected void |
X509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processCRLs(KeyInfo keyInfo,
X509Data x509Data,
X509Credential credential)
Process the value of
getCRLs() . |
protected void |
X509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processEntityCertificate(KeyInfo keyInfo,
X509Data x509Data,
X509Credential credential)
Process the value of
getEntityCertificate() . |
protected void |
X509KeyInfoGeneratorFactory.X509KeyInfoGenerator.processEntityCertificateChain(KeyInfo keyInfo,
X509Data x509Data,
X509Credential credential)
Process the value of
getEntityCertificateChain() . |
protected boolean |
BasicX509CredentialNameEvaluator.processNameChecks(X509Credential credential,
Set<String> trustedNames)
Process any name checks that are enabled.
|
boolean |
PKIXTrustEvaluator.validate(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
Validate the specified credential against the specified set of trusted validation information.
|
boolean |
CertPathPKIXTrustEvaluator.validate(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
Validate the specified credential against the specified set of trusted validation information.
|
boolean |
PKIXX509CredentialTrustEngine.validate(X509Credential untrustedCredential,
CriteriaSet trustBasisCriteria)
Validates the token against trusted information obtained in an
implementation-specific manner.
|
protected boolean |
PKIXX509CredentialTrustEngine.validate(X509Credential untrustedX509Credential,
Set<String> trustedNames,
Iterable<PKIXValidationInformation> validationInfoSet)
Perform PKIX validation on the untrusted credential, using PKIX validation information based on the supplied set
of trusted credentials.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
PKIXSignatureTrustEngine.checkNames(Set<String> trustedNames,
X509Credential untrustedCredential)
Evaluate the credential against the set of trusted names.
|
Copyright © 1999-2014. All Rights Reserved.


I am a Front-End Web Developer for the Wisconsin School of Business at the University of Wisconsin–Madison. Check out our 2021 website redesign project!
My interest in tech began when I was hired to teach robotics — a subject I knew nothing about — to elementary students. I learned basic block programming alongside my students and discovered that I had a knack for troubleshooting bugs. Just a few months later, I met my (future) husband, Grant. He was (and still is) a software engineer and I was intrigued by his work.
Fast forward 5 years and I was ready for a different career. I quit my job and did some soul searching. I wanted a career that would better fit my introverted personality. I love solving problems, finding efficient processes, designing the details, and learning new concepts. I realized that a great career had found me — that's how I became a web developer.


igx-carousel component.
You can read more about configuring the igx-carousel component in the README or the official documentation page.


leaf curvature leaves mutants curved mutant curvature. transverse longitudinal plants genes extent local regions Fig. Arabidopsis different hyl jaw-D global upward length values alleles downward curvature, growth plant {border-style HYL expression apical dcl- leaves, px;} #ffffff;} cell –., blade transgenic mutants, types used axis curve direction, distance gene axis, direction lateral margins measure rev- se- Plant flatness leaves. wavy difference hyl, measured REV, function higher indicating lines position, regulation se-, using However, auxin axis. cases, development flattened flattening hypomorphic miRNA phenotypes plants, polarity width Bartel Cell Gaussian RNA Supplementary according analysis jba-D leaf. levels measurement mutants. plants. px; ratio response rosette type various wild-type {font-family Biology Nath TCP adaxial characterized control deficient differences flat font-size formation genes. jba-D, petiole quantitative respectively. shape showing wild (A) (B) ARF ARF::mARF cDNA caused classified contrast, contribution defined described division, double; elastic example, genetic jaw-D, length, marginal meristem miRNAs polarity, quantify related respectively, rev-, sample seed sheet shoot similar target (C) (CI= Clark Development III JXB Koyama McConnell REV S::HYL S::TCPSRDX TCP, associated axes. basically border-color border-width buckling corresponding cotyledons curvatures downwardly edge edges exhibited form formula genes, high index indicate involved isolated light low mediolateral morphogenesis mutations oe-c points proximodistal region region. responsible seedling seedlings significant solid; stages value {font-style {font-weight °C (D) Boyes CI= Classification Developmental Emery Global Growth Leaf Nature Phenotypes Prigge Silk TCP::mTCP TCP::mTCP, TCPSRDX Table USA), Wang account adaxial/abaxial allele assess axes, basal bold calculated chord comparison complicated contrast courier; dcl-, define displayed distinct division dorsoventral downward, effect em; excessive exhibit first, flowering globally grown hyl- large longitudinally margins. microRNA normal order organs projected pt;} ratios relationship rev-> roles rosette, samples seeds sequences seventh, shape. small smaller stage stages. straight stronger structure study. targets three-dimensional total useful width, –..


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
HIGH COURT OF JAMMU AND KASHMIR AT JAMMU OWP No. 535/2015 MP No. 01/2015 Date of decision: 11.09.2017 Om Parkash Kotwal vs. State of J&K and others Coram: Hon'ble Mr. Justice Janak Raj Kotwal, Judge Appearance: For the appellant/petitioner(s) : Mr. Pankaj Jamwal, Adv. For the respondent(s): Mr. Ahtsham Bhat, GA
i. Whether approved for reporting in Press/Media : Yes/No ii. Whether to be reported in Digest/Journal : Yes/No
1. Petitioner has set up a poultry farm under the name and style as M/S Kotwal Poultry Farm in his land at village, Gurah Brahmana, Bantalab, Jammu. He claims that he is running this poultry farm since 1996. The Chairman, State Pollution Control Board, Jammu, herein respondent No. 2 (for short the Board) vide his order No. 234 dated 24.12.2014 issued in exercise of the power vested in the Board under section 31-A of the Air (Prevention and Control of Pollution) Act, 1981 (for short the Air Act) has ordered immediate closure of the poultry farm of the petitioner. The reasons for which the closure of the poultry OWP No. 535/2015 Page 1 of 8 farm has been ordered are that the same has been set up without prior consent of the Pollution Control Board warranted under Sections 25/26 of the Water (Prevention and Control of Pollution) Act, 1974 (for short the Water Act) and Section 21 the Air Act and the unit holder has failed to show any response to the notices issued by the Board, besides failing to take measures to meet the requirements of laws governing environmental protection. The order passed by respondent No. 2 also shows that local residents of the area have complained against operation of the said poultry farm for causing air pollution in the area.
2. The order No. 234 (supra) is challenged by the petitioner in this writ petition. He seeks quashing of the said order and a direction to the respondents not to interfere of the poultry farm.
3. Heard learned counsel on both sides and perused the record.
4. The case set up by the petitioner is that notice No. 1116-
18/SPCB/rd-j/Compt./N-11/14 dated 01.04.2014 issued to him by the Board was replied by him on 20.05.2014 against the proper acknowledgement receipt bearing No. 3375 and OWP No. 535/2015 Page 2 of 8 all the queries made to him were addressed in detail. Petitioner has produced a copy of reply filed by him as annexure-A-2 bearing the endorsement in regard to its receipt under No. 3353 dated 20.05.2014. It is alleged by the petitioner that no proceedings in the matter were held after submission of the reply by him till 25.02.2015 when a Revenue Officer visited the spot and orally directed him not to proceed with the business of the said poultry farm. After a brief spell of time when he was suffering from bad health, he approached the office of the Board at Jammu on 28.03.2015 with an application, which was accepted by respondent No. 3 on 04.04.2015 against a proper receipt.
5. Petitioner challenges the impugned order on the ground that the same has been issued without considering the reply of the petitioner in contravention of the principles of natural justice. It is contended also that the poultry farm of the petitioner does not come within the purview of the Air Act and there is no discharge of sewage or trade effluent into any stream or well or sewer or land in the near vicinity so the Water Act too is not attracted. The impugned order is challenged also on the ground that no sample was ever taken from the petitioner's poultry farm and the order is devoid of any investigation or finding recorded after OWP No. 535/2015 Page 3 of 8 investigation. The order is challenged also on the ground that the same does not disclose that the poultry farm is located in an air pollution control area or that a poultry farm comes within the ambit of "industry" under section 21 of the Air Act. It is alleged by the petitioner that the impugned order dated 24.12.2014 was served on him on 06.04.2015 when respondent No. 3 provided him a photocopy of the said order. It is contended by the petitioner also that his poultry farm has been made non functional in spite of being fully equipped in accordance with norms prescribed for running a poultry farm. In order to justify filing the writ petition in this Court, it is contended by the petitioner that the appellate authority under the Act is non functional as there is no presiding officer of the said authority. Petitioner has, therefore, sought setting aside the impugned order dated 24.12.2014 as also quashing of the consequential directions issued to the Deputy Commissioner/District Magistrate, Chief Engineer, Electric and Maintenance and Director Industries and Commerce for closing the poultry farm, snapping its electric connection and deregistration of the same. In alternative, petitioner has sought direction to the respondents (authorities) to grant fresh consent for running for said poultry farm.
OWP No. 535/2015 Page 4 of 86. The submissions of learned counsel for the petitioner were three fold. Firstly and primarily, that the impugned order has been passed by the Board in complete disregard to his reply to the show cause notice dated 01.04.2014, which was submitted in the office of the Board by the petitioner on 20.05.2014 and therefore, violates principles of natural justice. Secondly, that a poultry farm does not fall within the ambit of the 'industrial plant' as envisaged under section 21 of the Air Act and thirdly, that the poultry farm in question is not located in "air pollution control area".
7. Objections on behalf of the official respondents have not been filed. Learned Government Advocate, Mr. Ahtsham Bhat appearing on behalf of the official respondents, however, opposed the writ petition. Mr. Bhat submitted that a poultry farm emits air pollutant into the atmosphere so it is covered within the definition of "industrial plant'' as defined under section 2(k) of the Air Act and that it is not denied by the petitioner that his poultry farm is located in residential area, which is "air pollution control area."
8. The impugned order records that the unit holder (that is, the petitioner) was served with repeated notices, in particular OWP No. 535/2015 Page 5 of 8 notice dated 01.04.2014, calling upon him to show reason as to why legal action including closure of his unit be not taken but the unit holder failed to show any response to these notices. As against this, petitioner has produced copy of his reply to the notice dated 01.04.2014, which supports an acknowledgement stamp showing that the reply was received in the office of the Board against receipt No. 3353 dated 20.05.2014. In his reply, the petitioner has given various reasons against closure of the poultry farm set up by him.
9. The impugned order has been issued on 24.12.2014, that is, more than eight months after issuance of the notice dated 01.04.2014 and seven months after receipt of reply in the office of the Board on 20.05.2014. In absence of any response on behalf of the official respondents, the plea of the petitioner that reply to the show cause notice was delivered by him in the office of the Board on 20.05.2014 deserves to be accepted and it is to be held that the impugned order has been issued without according consideration to the reply to the show cause notice furnished by the petitioner. The impugned order, therefore, OWP No. 535/2015 Page 6 of 8 infracts the principle of audi alteram partem and this petition deserves to be granted on that score only.
10. For the aforementioned, this petition is allowed by providing that the impugned order dated 24.12.2014 and all the consequential orders shall remain in abeyance. In addition, following directions are issued:
a) Petitioner shall appear before the Chairman of the Board, respondent No. 2, within a week's time hereafter and provide a copy of this order to respondent against receipt.
b) Respondent No. 2 shall accord fresh consideration to the matter on the basis of the notice dated 01.04.2014 and petitioner's reply dated 20.05.2014 after providing opportunity of hearing to the petitioner and similar opportunity to respondent No. 4, that is, Bhag Singh Kotwal, who claims to be President of Welfare and Betterment Committee, residents of Ganga Nagar, Sec. 3 (Gurha Brahmana, Bantalab, Jammu) to whom notice shall be issued by respondent No. 2. It shall, however, be open for the parties to take OWP No. 535/2015 Page 7 of 8 into consideration change in circumstances, if any, after the date of the notice.
c) Respondent No. 2 shall conclude the proceedings and pass appropriate order according to law/rules within four weeks after copy of this order is produced in his office by the petitioner, also having regard to the plea raised on behalf of the petitioner that poultry farm is not 'industrial plant' and that the poultry farm of the petitioner is not located in "air pollution control area."
d) In case petitioner fails to produce a copy of this order in the office of respondent No. 2 within stipulated time, the impugned dated 24.12.2014 shall be executed.
11. Disposed of.
(Janak Raj Kotwal) Judge Jammu:
11.09.2017 Rakesh OWP No. 535/2015 Page 8 of 8


Hackerone recently released a CTF created by Jobert Abma. Even if I didn’t complete the challenge, it was so exciting and I was so close from the solution that I wanted to share a writeup. Here is the tweet that tiggered the war:
“Hackers, hack your way to NYC this December for h1-212! An engineer of http://acme.org launched a new server for a new admin panel. He is completely confident that the server can’t be hacked, so he hid a flag. Details: https://www.hackerone.com/blog/hack-your-way-to-nyc-this-december-for-h1-212 …. #TogetherWeHitHarder”
And here is the full description:
“An engineer of acme.org launched a new server for a new admin panel at http://<IP_ADDRESS>/. He is completely confident that the server can’t be hacked. He added a tripwire that notifies him when the flag file is read. He also noticed that the default Apache page is still there, but according to him that’s intentional and doesn’t hurt anyone. Your goal? Read the flag!”
Below the different steps that led me to The Holy Flag.
Step 1, first things first: find an attack surface
As usual when I approach a new target, I immediately fired up my Burp Suite and started a directory scan with several tools like Cansina, Dirb and Dirsearch, each time with a different wordlist: SVNDigger, Robots Disallowed and Raft ones. Below the urls discovered:
http://<IP_ADDRESS>/index.html
http://<IP_ADDRESS>/icons/README
http://<IP_ADDRESS>/flag
At the end of the scan I tried to compare the discovered items with my local Apache using diff
to check if any modification occured but they were all identical.
While /index.html
is the default Apache index page, /icons/README
the default Apache icons list and of course it would be too easy if this /flag
file would be the good one…
At the same time I ran a Nmap scan on all TCP ports and top 500 UDP. This result to only two open ports: 22 and 80. I quickly tried a brute force against SSH with Patator but it failed.
I then decided to use Burp Suite to try another type of issue called Virtual Host Enumeration
.
I jumped on this because I recently read an article about that and I also sent a similar report to a private program a week before. Since the brilliant engineer works for acme.org
, I configured the attack for this domain.
And it found something interesting at admin.acme.org
:
Resources:
Accessing Localhost via Vhost | VIRTUAL HOST ENUMERATION
Jobert tool: virtual host scanner
vhost-brute: a PHP tool I wrote right after the CTF
Step 2, bargain with the server
I was supposed to have access to an hidden admin now so what’s next ? Let’s check the response of the server:
Looks like we have a cookie to play with! Obviously the first thing you would try is to change the value from admin=no
to admin=yes
…
Here we go, and the new response is:
The message is clear enough, the GET
method is not allowed, so switching to POST
would return:
According to the official documentation, aka Wikipedia xD
“406 Not Acceptable:
The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.”
Ok then… Altering the header Accept
will not change anything, however if I also change the Content-Type
in the request…
Server says that I am supposed to provide a body now, let’s say parameters, in JSON format. Since I have no idea about the name of the parameters, I supplied an empty string:
The server requires a domain
so let’s feed him with that! I won’t show you all the errors returned by the server (.com
required, 212
required etc…) but here is the final string I got:
Resources:
List of HTTP status codes
Step 3, start crying 1/2
At this point here is the request I had:
I firstly tried SQLi by injecting single quote, double quotes, encoded values, using SQLmap blablabla, nothing.
I then tried XSS by injecting single quote, double quotes, less-than symbol, encoded values again and still nothing.
I tried Local File Inclusion with Jhaddix worlists, nothing.
I also tried to inject extra parameters and extra headers as well, nothing.
I had a hard time to find the next step, I stayed stuck here 1 full day, trying figure out what kind of attack would work.
After a night break, I read a comment from another hacker that had scripted the 2 requests to be able to run them automatically in a row.
At this moment I understood that there was probably a link between the POST request and the result of read.php
.
To be honest I would not had realize that by myself.
I simply thought that the previous step was done and jumped to the next one without even thinking there could be a relation… errrrrr that was my first mistake.
So I did it too. I PHP curly scripted the requests, and from here I only used my script to find the flag, that was my second mistake, this is probably the reason why I didn’t get it.
So basically, altering the domain
provided in the JSON param in the body of the POST request would lead to a different response when calling read.php
with the corresponding id
returned by the server.

The final response is the base64 encoded result of the HTTP request performed by the server. In this case: http://localhost:80/index.html
the default Apache page.
Important note: at each HTTP POST request performed by the server, id
is incremented by 1.
Sometimes it get back to 0 but I didn’t figure out why/when/how. It doesn’t seem to be shared between the hackers.
Step 3’ or 4 or 5, port scanning
I’m pretty sure that this step was supposed to be the last one but when I’m able to trigger a SSRF issue, I always perform a port scan first.
I simply moved my 2 curl requests into a for
loop that iterates from 1 to 65535, because why not ?
Ok, Jobert said that brute force is not the key but you know… I’m still a kid in my mind, I’m a geek, I’m a hacker so…
when someone tell me to NOT do something, then I feel really bad if I don’t give it a single try!
After few minutes and some false positive, my script displayed a different response corresponding to the port 1337
:
Easy peasy.
I was pretty sure this was the key so I stopped my script at port 19187, enough spam.
Resources:
Hackerone article about SSRF
Server-side browsing considered harmful by Nicolas Grégoire
Step x, try harder, cry stronger 2/2
Ok I have the good parameter, a good domain, good Content-Type, good cookie, the l33t port, I can decode base64, so far so good!
Now I simply need to request a single file like /index.html
or /flag
, that would be great!
Hopefully this is the final step. Unfortunately this is where things gone wrong :/
I read many documentation and articles about SSRF but the most useful was the SSRF bible and the presentation from Orange Tsai. Simply awesome.
The idea: http://<IP_ADDRESS><EMAIL_ADDRESS>@<IP_ADDRESS>/
Since &
, %
and #
are forbidden characters in this challenge, from this two papers I understood that I should combine the SSRF with a CRLF.
Dealing with \r
and \n
I quickly got a strange behavior:
Yes, yes, yes, it’s not Apache anymore, I am now dealing with a Nginx install. Does it matter ? Well I don’t know, maybe those servers don’t react to CRLF the same way…
Since the first part of the domain must contain 212
and the last part must end by .com
, I had configure a dns A
record of my own domain to point to <IP_ADDRESS>
, that was useless but hey, how could I know!
Based on the “3 parts payload” mentionned by Orange Tsai, here are some stuff I tried:
poc212.10degres.net:1337/flag @www.google.com @h1-212.acme.com
poc212.10degres.net:1337/\r @www.google.com\r @h1-212.acme.com
poc212.10degres.net:1337\r\t<EMAIL_ADDRESS>poc212.10degres.net:1337\s<EMAIL_ADDRESS>poc212.10degres.net:1337\r\n<EMAIL_ADDRESS>poc212.10degres.net:1337 @\r\nwww.google.com @\r\nh1-212.acme.com
poc212.10degres.net:1337 @/flag @h1-212.acme.com
poc212.10degres.net:1337 @www.google.com @/h1-212.acme.com
After some hours (…) I decided to use the SSRF against my own server, that way I could see what kind of requests the CTF server send.
Installing and configuring Nginx. Configuring a .com
domain I have and the vhost that will be accepted by Jobert’s code as well.
Same same but different:
poc212.10degres.net:1337/flag @www.google.com @h1-212.10degres.com
poc212.10degres.net:1337/\r @www.google.com\r @h1-212.10degres.com
poc212.10degres.net:1337\r\t<EMAIL_ADDRESS>poc212.10degres.net:1337\s<EMAIL_ADDRESS>poc212.10degres.net:1337\r\n<EMAIL_ADDRESS>poc212.10degres.net:1337 @\r\nwww.google.com @\r\nh1-212.10degres.com
poc212.10degres.net:1337 @/flag @h1-212.10degres.com
poc212.10degres.net:1337 @www.google.com @/h1-212.10degres.com
Checking the log, again and again and still got this f*****g error 400:
Better use Netcat to see the headers received:
Well not so much information here… Let’s try with tcdump then:
Still nothing… Let’s try something a bit more tricky. What about CRLF combined with header injection ? My new payload looked like:
poc212.10degres.net:1337/flag HTTP/1.0\rHost: admin.acme.org\rCookie: admin=yes\r @h1-212.10degres.com
Hey but what about encoding ? Yeah yeah yeah I tried that too, since %
is not allowed, I had to try something else:
\x0A
0x0A
\u000A
and the whole family, of course it didn’t work…
At the end of the day, the great @EdOverflow gave me a hint, kudos to him. He told me that I have gone too far with header injection, the solution was much simpler, I should focus on the first part of the payload.
Next day, let’s recap what I learned the day before:
the first part and the third part of the three part payload (found in Orange Tsai doc) are injectable and trigger the SSRF to a domain I can control and depending of the characters I use for the CRLF (\t
\s
\r
\s
\b
💩
) the server acts different, which seems to be logic…
Ok! New payloads on the way:
0:1337/flag\r\nh1-212.10degres.com
No more luck, I continued to alter it with different characters, different encoding.
I also tried different protocols found in the SSRF bible: http, https, file, gopher, dict, mailto and so on…
With a good wordlist and a for
loop it was easy to test them all but unfortunately no matter what I tried, my script always returned empty data.
One more day wasted for nothing, I didn’t move forward :/ I won’t show you all the payloads I tried, thousands and thousands, the only thing you need to know is that they all failed! But the real question is: did they really failed?
Resources:
PayloadsAllTheThings resources on GitHub
SSRF bible
SSRF tips by xl7dev
A New Era of SSRF - Exploiting URL Parser in Trending Programming Languages! by Orange Tsai
The answer, free your mind…
After 5 full days working on the challenge, I finally spent the 2 last days with my childrens, trying to get over the headhash. Since the challenge was ended, I decided to ask the answer to @EdOverflow, knowing that I would probably cry… and guess what? I did!
Remember that the id
returned by the POST request is incremented by 1 for each request made by the server ?
But what if I inject a CRLF and the server does 2 requests ? Then the id returned will be incremented by 2, because 1+1=2!
Holy cow!!!!
Running my script like a moron, I only focused my mind on the result of /read.php
and I didn’t even notice that the id jump the steps 2 by 2…
So I need to decrease the id by 1 to get the result of the previous request.
Which is supposed to be the content of the file I requested aka http://0:1337/flag
.
Et voilà ! Decoded value:
FLAG: CF,2dsV\/]fRAYQ.TDEp`w"M(%mU;p9+………

Jobert’s answer in 1 single line:
D=<IP_ADDRESS>/;eval echo $(C=admin=yes;H='Host:http://admin.acme.org ';N=$(curl -H'Content-Type:application/json' -H$H -b$C -d'{"domain":"0:1337/flag\n212..com"}' "$D"|egrep -o '[0-9]+');curl -H$H -b$C "$D"read.php?id=`expr $N - 1`|jq .[])|base64 --decode
Winners:
@EdOverflow
@albinowax
@erbbysam
Congrats to these 3 people, congrats to all others that successfully got the flag and congrats to everyone that at least gave a try!


|
lubyk
0.5
|
#include <b2World.h>
Public Member Functions | |
| b2World (const b2Vec2 &gravity) | |
| ~b2World () | |
| Destruct the world. All physics entities are destroyed and all heap memory is released. | |
| void | SetDestructionListener (b2DestructionListener *listener) |
| void | SetContactFilter (b2ContactFilter *filter) |
| void | SetContactListener (b2ContactListener *listener) |
| void | SetDebugDraw (b2Draw *debugDraw) |
| b2Body * | CreateBody (const b2BodyDef *def) |
| void | DestroyBody (b2Body *body) |
| b2Joint * | CreateJoint (const b2JointDef *def) |
| void | DestroyJoint (b2Joint *joint) |
| void | Step (float32 timeStep, int32 velocityIterations, int32 positionIterations) |
| void | ClearForces () |
| void | DrawDebugData () |
| Call this to draw shapes and other debug draw data. | |
| void | QueryAABB (b2QueryCallback *callback, const b2AABB &aabb) const |
| void | RayCast (b2RayCastCallback *callback, const b2Vec2 &point1, const b2Vec2 &point2) const |
| b2Body * | GetBodyList () |
| const b2Body * | GetBodyList () const |
| b2Joint * | GetJointList () |
| const b2Joint * | GetJointList () const |
| b2Contact * | GetContactList () |
| const b2Contact * | GetContactList () const |
| void | SetAllowSleeping (bool flag) |
| Enable/disable sleep. | |
| bool | GetAllowSleeping () const |
| void | SetWarmStarting (bool flag) |
| Enable/disable warm starting. For testing. | |
| bool | GetWarmStarting () const |
| void | SetContinuousPhysics (bool flag) |
| Enable/disable continuous physics. For testing. | |
| bool | GetContinuousPhysics () const |
| void | SetSubStepping (bool flag) |
| Enable/disable single stepped continuous physics. For testing. | |
| bool | GetSubStepping () const |
| int32 | GetProxyCount () const |
| Get the number of broad-phase proxies. | |
| int32 | GetBodyCount () const |
| Get the number of bodies. | |
| int32 | GetJointCount () const |
| Get the number of joints. | |
| int32 | GetContactCount () const |
| Get the number of contacts (each may have 0 or more contact points). | |
| int32 | GetTreeHeight () const |
| Get the height of the dynamic tree. | |
| int32 | GetTreeBalance () const |
| Get the balance of the dynamic tree. | |
| float32 | GetTreeQuality () const |
| void | SetGravity (const b2Vec2 &gravity) |
| Change the global gravity vector. | |
| b2Vec2 | GetGravity () const |
| Get the global gravity vector. | |
| bool | IsLocked () const |
| Is the world locked (in the middle of a time step). | |
| void | SetAutoClearForces (bool flag) |
| Set flag to control automatic clearing of forces after each time step. | |
| bool | GetAutoClearForces () const |
| Get the flag that controls automatic clearing of forces after each time step. | |
| const b2ContactManager & | GetContactManager () const |
| Get the contact manager for testing. | |
| const b2Profile & | GetProfile () const |
| Get the current profile. | |
| void | Dump () |
Private Types | |
| enum | { e_newFixture = 0x0001, e_locked = 0x0002, e_clearForces = 0x0004 } |
Private Member Functions | |
| void | Solve (const b2TimeStep &step) |
| void | SolveTOI (const b2TimeStep &step) |
| void | DrawJoint (b2Joint *joint) |
| void | DrawShape (b2Fixture *shape, const b2Transform &xf, const b2Color &color) |
Private Attributes | |
| b2BlockAllocator | m_blockAllocator |
| b2StackAllocator | m_stackAllocator |
| int32 | m_flags |
| b2ContactManager | m_contactManager |
| b2Body * | m_bodyList |
| b2Joint * | m_jointList |
| int32 | m_bodyCount |
| int32 | m_jointCount |
| b2Vec2 | m_gravity |
| bool | m_allowSleep |
| b2DestructionListener * | m_destructionListener |
| b2Draw * | m_debugDraw |
| float32 | m_inv_dt0 |
| bool | m_warmStarting |
| bool | m_continuousPhysics |
| bool | m_subStepping |
| bool | m_stepComplete |
| b2Profile | m_profile |
Friends | |
| class | b2Body |
| class | b2Fixture |
| class | b2ContactManager |
| class | b2Controller |
The world class manages all physics entities, dynamic simulation, and asynchronous queries. The world also contains efficient memory management facilities.
anonymous enum [private] |
| b2World::b2World | ( | const b2Vec2 & | gravity | ) |
Construct a world object.
| gravity | the world gravity vector. |
| b2World::~b2World | ( | ) |
Destruct the world. All physics entities are destroyed and all heap memory is released.
| void b2World::ClearForces | ( | ) |
Manually clear the force buffer on all bodies. By default, forces are cleared automatically after each call to Step. The default behavior is modified by calling SetAutoClearForces. The purpose of this function is to support sub-stepping. Sub-stepping is often used to maintain a fixed sized time step under a variable frame-rate. When you perform sub-stepping you will disable auto clearing of forces and instead call ClearForces after all sub-steps are complete in one pass of your game loop.
Create a rigid body given a definition. No reference to the definition is retained.
| b2Joint* b2World::CreateJoint | ( | const b2JointDef * | def | ) |
Create a joint to constrain bodies together. No reference to the definition is retained. This may cause the connected bodies to cease colliding.
| void b2World::DestroyBody | ( | b2Body * | body | ) |
Destroy a rigid body given a definition. No reference to the definition is retained. This function is locked during callbacks.
| void b2World::DestroyJoint | ( | b2Joint * | joint | ) |
Destroy a joint. This may cause the connected bodies to begin colliding.
| void b2World::DrawDebugData | ( | ) |
Call this to draw shapes and other debug draw data.
| void b2World::DrawJoint | ( | b2Joint * | joint | ) | [private] |
| void b2World::DrawShape | ( | b2Fixture * | shape, |
| const b2Transform & | xf, | ||
| const b2Color & | color | ||
| ) | [private] |
| void b2World::Dump | ( | ) |
Dump the world into the log file.
| bool b2World::GetAllowSleeping | ( | ) | const [inline] |
Definition at line 146 of file b2World.h.
References m_allowSleep.
| bool b2World::GetAutoClearForces | ( | ) | const [inline] |
Get the flag that controls automatic clearing of forces after each time step.
Definition at line 334 of file b2World.h.
References e_clearForces, and m_flags.
| int32 b2World::GetBodyCount | ( | ) | const [inline] |
| b2Body * b2World::GetBodyList | ( | ) | [inline] |
Get the world body list. With the returned body, use b2Body::GetNext to get the next body in the world list. A NULL body indicates the end of the list.
Definition at line 261 of file b2World.h.
References m_bodyList.
| const b2Body * b2World::GetBodyList | ( | ) | const [inline] |
Definition at line 266 of file b2World.h.
References m_bodyList.
| int32 b2World::GetContactCount | ( | ) | const [inline] |
Get the number of contacts (each may have 0 or more contact points).
Definition at line 301 of file b2World.h.
References b2ContactManager::m_contactCount, and m_contactManager.
| b2Contact * b2World::GetContactList | ( | ) | [inline] |
Get the world contact list. With the returned contact, use b2Contact::GetNext to get the next contact in the world list. A NULL contact indicates the end of the list.
Definition at line 281 of file b2World.h.
References b2ContactManager::m_contactList, and m_contactManager.
| const b2Contact * b2World::GetContactList | ( | ) | const [inline] |
Definition at line 286 of file b2World.h.
References b2ContactManager::m_contactList, and m_contactManager.
| const b2ContactManager & b2World::GetContactManager | ( | ) | const [inline] |
Get the contact manager for testing.
Definition at line 339 of file b2World.h.
References m_contactManager.
| bool b2World::GetContinuousPhysics | ( | ) | const [inline] |
Definition at line 154 of file b2World.h.
References m_continuousPhysics.
| b2Vec2 b2World::GetGravity | ( | ) | const [inline] |
| int32 b2World::GetJointCount | ( | ) | const [inline] |
| b2Joint * b2World::GetJointList | ( | ) | [inline] |
Get the world joint list. With the returned joint, use b2Joint::GetNext to get the next joint in the world list. A NULL joint indicates the end of the list.
Definition at line 271 of file b2World.h.
References m_jointList.
| const b2Joint * b2World::GetJointList | ( | ) | const [inline] |
Definition at line 276 of file b2World.h.
References m_jointList.
| const b2Profile & b2World::GetProfile | ( | ) | const [inline] |
| int32 b2World::GetProxyCount | ( | ) | const |
Get the number of broad-phase proxies.
| bool b2World::GetSubStepping | ( | ) | const [inline] |
Definition at line 158 of file b2World.h.
References m_subStepping.
| int32 b2World::GetTreeBalance | ( | ) | const |
Get the balance of the dynamic tree.
| int32 b2World::GetTreeHeight | ( | ) | const |
Get the height of the dynamic tree.
| float32 b2World::GetTreeQuality | ( | ) | const |
Get the quality metric of the dynamic tree. The smaller the better. The minimum is 1.
| bool b2World::GetWarmStarting | ( | ) | const [inline] |
Definition at line 150 of file b2World.h.
References m_warmStarting.
| bool b2World::IsLocked | ( | ) | const [inline] |
| void b2World::QueryAABB | ( | b2QueryCallback * | callback, |
| const b2AABB & | aabb | ||
| ) | const |
Query the world for all fixtures that potentially overlap the provided AABB.
| callback | a user implemented callback class. |
| aabb | the query box. |
| void b2World::RayCast | ( | b2RayCastCallback * | callback, |
| const b2Vec2 & | point1, | ||
| const b2Vec2 & | point2 | ||
| ) | const |
Ray-cast the world for all fixtures in the path of the ray. Your callback controls whether you get the closest point, any point, or n-points. The ray-cast ignores shapes that contain the starting point.
| callback | a user implemented callback class. |
| point1 | the ray starting point |
| point2 | the ray ending point |
| void b2World::SetAllowSleeping | ( | bool | flag | ) |
Enable/disable sleep.
| void b2World::SetAutoClearForces | ( | bool | flag | ) | [inline] |
Set flag to control automatic clearing of forces after each time step.
Definition at line 321 of file b2World.h.
References e_clearForces, and m_flags.
| void b2World::SetContactFilter | ( | b2ContactFilter * | filter | ) |
Register a contact filter to provide specific control over collision. Otherwise the default filter is used (b2_defaultFilter). The listener is owned by you and must remain in scope.
| void b2World::SetContactListener | ( | b2ContactListener * | listener | ) |
Register a contact event listener. The listener is owned by you and must remain in scope.
| void b2World::SetContinuousPhysics | ( | bool | flag | ) | [inline] |
Enable/disable continuous physics. For testing.
Definition at line 153 of file b2World.h.
References flag, and m_continuousPhysics.
| void b2World::SetDebugDraw | ( | b2Draw * | debugDraw | ) |
Register a routine for debug drawing. The debug draw functions are called inside with b2World::DrawDebugData method. The debug draw object is owned by you and must remain in scope.
| void b2World::SetDestructionListener | ( | b2DestructionListener * | listener | ) |
Register a destruction listener. The listener is owned by you and must remain in scope.
| void b2World::SetGravity | ( | const b2Vec2 & | gravity | ) | [inline] |
| void b2World::SetSubStepping | ( | bool | flag | ) | [inline] |
Enable/disable single stepped continuous physics. For testing.
Definition at line 157 of file b2World.h.
References flag, and m_subStepping.
| void b2World::SetWarmStarting | ( | bool | flag | ) | [inline] |
Enable/disable warm starting. For testing.
Definition at line 149 of file b2World.h.
References flag, and m_warmStarting.
| void b2World::Solve | ( | const b2TimeStep & | step | ) | [private] |
| void b2World::SolveTOI | ( | const b2TimeStep & | step | ) | [private] |
Take a time step. This performs collision detection, integration, and constraint solution.
| timeStep | the amount of time to simulate, this should not vary. |
| velocityIterations | for the velocity constraint solver. |
| positionIterations | for the position constraint solver. |
friend class b2ContactManager [friend] |
bool b2World::m_allowSleep [private] |
Definition at line 242 of file b2World.h.
Referenced by GetAllowSleeping().
b2BlockAllocator b2World::m_blockAllocator [private] |
int32 b2World::m_bodyCount [private] |
Definition at line 238 of file b2World.h.
Referenced by GetBodyCount().
b2Body* b2World::m_bodyList [private] |
Definition at line 235 of file b2World.h.
Referenced by GetBodyList().
b2ContactManager b2World::m_contactManager [private] |
Definition at line 233 of file b2World.h.
Referenced by GetContactCount(), GetContactList(), and GetContactManager().
bool b2World::m_continuousPhysics [private] |
Definition at line 253 of file b2World.h.
Referenced by GetContinuousPhysics(), and SetContinuousPhysics().
b2Draw* b2World::m_debugDraw [private] |
int32 b2World::m_flags [private] |
Definition at line 231 of file b2World.h.
Referenced by GetAutoClearForces(), IsLocked(), and SetAutoClearForces().
b2Vec2 b2World::m_gravity [private] |
Definition at line 241 of file b2World.h.
Referenced by GetGravity(), and SetGravity().
float32 b2World::m_inv_dt0 [private] |
int32 b2World::m_jointCount [private] |
Definition at line 239 of file b2World.h.
Referenced by GetJointCount().
b2Joint* b2World::m_jointList [private] |
Definition at line 236 of file b2World.h.
Referenced by GetJointList().
b2Profile b2World::m_profile [private] |
Definition at line 258 of file b2World.h.
Referenced by GetProfile().
b2StackAllocator b2World::m_stackAllocator [private] |
bool b2World::m_stepComplete [private] |
bool b2World::m_subStepping [private] |
Definition at line 254 of file b2World.h.
Referenced by GetSubStepping(), and SetSubStepping().
bool b2World::m_warmStarting [private] |
Definition at line 252 of file b2World.h.
Referenced by GetWarmStarting(), and SetWarmStarting().


Catalan ex-minister Ponsati arrested in Scotland
EDINBURGH: Former Catalan minister Clara Ponsati, wanted in Spain for her role in the region's unilateral bid for independence in 2017, was arrested by Scottish police on Thursday (Nov 14).
Ponsati, 62, handed herself in at a police station in Edinburgh before a scheduled court appearance to face a sedition charge stemming from Catalonia's unsanctioned referendum.
A small group of demonstrators displaying Catalan and Scottish independence flags and banners greeted her outside St Leonard's police station.
Madrid first attempted to extradite the St Andrews University academic, a former education minister in the regional government of deposed Catalan president Carles Puigdemont, last year.
But a Spanish Supreme Court judge abruptly dropped European and international arrest warrants for her and several other separatist leaders in July, 2018.
However, the same court on Oct 14 sentenced nine Catalan separatist leaders to lengthy prison terms over the failed 2017 independence bid and issued a fresh arrest warrant for Ponsati.
She has branded the charge "a prosecution with political motivations".
"We believe this is an abuse of the extradition process," her lawyer Aamer Anwar said outside the police station.
"The crime of sedition is a 16th-century offence", he added, noting it was abolished long ago in Scotland.
"We will be fighting this on the basis of Clara's human rights being abused if she is returned back to Spain."
Ponsati's legal team is expected to apply for bail at the afternoon hearing at Edinburgh Sheriff Court.


I am a full stack developer driven by a passion for learning and new experiences. Motivated to continuously refine my skill set while looking for new opportunities to get out of my comfort zone, whether it be in programming or cupcake flavor. In my free time I’m working on side projects, experimenting with new recipes, or traveling. Check out below for some of my projects and contact information
Feel free to email or contact me on one of the social websites below


Frequently Asked Questions
- Home
- FAQ
-
How do you book?
Step for step:
1. Book and pay via www.ettsmart.se
2. On the day of arrival your personal unique code(key) is generated and sent to you via email and SMS.
3. When you have your code(key) you can arrive any time after 15:00 (late arrivals are not a problem)
4. NOTE! New guests should be ready to leave their ID “on the spot” before room allocation and code generation (arrive on time!).
-
What equipment is accessible in the rooms?
TV, Wi-Fi, WC and Shower. Kettle, tea and coffee. In the studio rooms there is a trinette with a sink, fridge and microwave. There is also glasses, plates and cutlery for two persons. Note - no oven or stove.
-
What is included in the room price?
Wi-Fi, TV and free parking. Breakfast is included for all visitors.
-
Where do I turn if I have questions?
You can usually contact staff on site weekdays until 15:00.
Customer service is open weekdays during office hours and is available at<EMAIL_ADDRESS>or 08 546 308 10.
We also have a 24/7 hotline for our residents-guests at 08 350 260.


Boolean represents a signed Integer. It can be initialized by assigning any value to it.
Example:
Boolean five = 5
However it is also possible to assign values of another type to a variable of type integer. These are implicitly casted to an integer. Following expressions do the same:
Boolean
five =
65
Boolean
five =
65.1
Boolean
five =
"65"
Boolean
five =
'A'
Int is stored as a signed 64-bit value. Therefore, its values go from -9223372036854775808 to<PHONE_NUMBER>854775807.


About
This website is part of the course Software Development for the Web.
This course is really fun, I'm looking forward to learn more.
This website is part of the course Software Development for the Web.
This course is really fun, I'm looking forward to learn more.


RECURSIVE FUNCTIONS A function that calls itself is known as a recursive function. And, this is known as recursion .Recursion makes program elegant and cleaner. All algorithms can be defined recursively which makes it easier to visualize and prove. //Program to find factorial using Recursive function #include long int fact(int n); int main() { int n; printf("Enter a positive integer: "); scanf("%d", &n); printf("Factorial of %d = %d", n, fact(n)); return 0; } int fact(int n) { if (n >= 1) return n*fact(n-1); else return 1; } //Program to print fibannoci series using Recursive function #include void Fibonacci(int); int main() { int k,n; int i=0,j=1,f; printf("Enter the range of the Fibonacci series: "); scanf("%d",&n); printf("Fibonacci Series: "); printf("%d %d ",0,1); Fibonacci(n); return 0; } void Fibonacci(int n) { int first=0,second=1,sum; { if(n>0) sum = first + second; first = second; second = sum; printf("%d ",sum); Fibonacci(n-1); } } Prev Next


You end up running into a mini kitchen, A modern mini kitchen that's a microwave! Do they have electrical outlets in this castle? Before you could ponder any more, you feel some hands grabbing you from behind.
 You stay there for what seems like weeks.
All they give you for sustenance is moldy bread and dirty water.
You are the only one you have seen in this dungeon, so they must be talking about you, right?


I work as a Developer since 2015.
<EMAIL_ADDRESS>samuelematias.com
Apr 2019
— presentiFood
Software Engineer
Mobile Cross platform development with Flutter and React Native and Native development with Swift and Kotlin.
Feb 2019
— Apr 2019Mesa Mobile Thinking
React Native Developer
Mobile Cross platform development with React Native.
Feb 2018
— Feb 2019Bemind
React Native Developer
Mobile Cross platform development with React Native.
June 2015
— Jan 2018Accenture
Software Engineer
Development of web applications using Ruby on Rails on Backend and HTML/CSS/ JavaScript on Frontend.
I spend a lot of time working on open source and side projects
that help me to learn and experiment.
Here are some of my latest projects:
hackatrack - Product Hunt.
hackatrack - code.
More projects in Github:
github.com/samuelematias.
Portuguese
Native.
English
Intermediary.
Aug 2017
— presentEstacio
Analysis and development of systems.
I like Listen music, Play video game, Travel, Watch movies, series, streams and Hangout with friends.


--- date: 2011-09-01T00:00:00Z published: true title: Throttle Bandwidth on MAC OS X | Ben Collier | Oldie but a goodie. url: /2011/09/01/throttle-bandwidth-on-mac-os-x-ben-collier-oldie-but-a-goodie-/ ---
To limit the connection speed on your Mac to a 56k modem for testing your website loading speed, pop this into terminal:


This is a default web page, Nothing to see here.
The list of our services is located on our website: altertek.org.
Thank you for using altertek services.


This is used to change the font type
This is used to give style to the text
This is used to change the size of the font
This is used to make the text bolder or lighter


SimpleWebSocketServer Library
v1.0.1
A simple to use websocket with a very easy way to get it to work, just requires four lines of code.
Class Hierarchy
Go to the graphical class hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level
1
2
]
▼
C
EventArgs
C
SimpleWebSocketServerLibrary.WebSocketEventArg
Contains information about a occured event.
C
SimpleWebsocketServer.HttpServerSettings
▼
C
SimpleWebSocketServerLibrary.SimpleWebSocketHandler.IWebSocketHandler
Inteface for class:
WebSocketHandler
.
C
SimpleWebSocketServerLibrary.SimpleWebSocketHandler.WebSocketHandler
Class contains handler for handeling multiple websocket clients and hubs.
▼
C
SimpleWebSocketServerLibrary.SimpleWebSocketHttpServer.IWebSocketHttpServer
Interface for
WebSocketHttpServer
class.
C
SimpleWebSocketServerLibrary.SimpleWebSocketHttpServer.WebSocketHttpServer
Runs the http server where a client needs to connect to.
C
SimpleWebSocketServerLibrary.SimpleWebSocketServer
Middleware class for interfacing with the WebSocketHandler and WebSocketHttpServer class.
C
SimpleWebSocketServerLibrary.SimpleWebSocketServerSettings
Provides settings and default values for the
SimpleWebSocketServer
Class.
C
SimpleWebSocketServerLibrary.WebSocketClientInfo
Provides information about a connected client.
C
SimpleWebSocketServerLibrary.WebSocketMessageContainer
Contains information about a websocket client message.
C
SimpleWebSocketServerLibrary.WSocketServer.WebSocketServer
Runs the websocket server to communicate with a client.
Generated by
1.8.14


--- date: 2011-03-24T00:00:00Z published: true title: The Ad Contrarian - Social Media's Massive Failure | Hmm - interesting. url: /2011/03/24/the-ad-contrarian-social-media-s-massive-failure-hmm-interesting-/ ---
The idea behind the program was that you, the consumer, got to engage with Pepsi by voting for the "Refresh" projects you deemed most worthy. There were also other opportunities to engage through an enormous online effort -- Facebook, Twitter, YouTube, website, blogs. Millions of dollars were also spent in what might be called "traditional advertising in support of social media."Skeptics (such as yours truly) have been eagerly awaiting a report card on this initiative as it is the first real test case for a major brand implementing a massive transfer of marketing resources from traditional advertising to social media.
The results are now in. It has been a disaster.


A simple barchart
Sort by:
A to Z
Z to A
High to Low
Low to High
pssst. You can drag the bars
Oh and you can also zoom and pan!


{% extends 'lastMileApp/base.html' %} {% load static %} {% block content %}
1. Flight Number - {{flight.flightNumber}}
2. Arrival Airport - {{flight.arrivalAirport}}
3. Departure Airport - {{flight.departureAirport}}
4. Status - {{flight.status}}
5. Departs - {{flight.departure}}
6. Passenger - {{passenger.lname}}/{{passenger.fname}}


A straightforward way of solving an ODE numerically, is to use Euler's method.
Euler's method uses Taylor series to approximate the value at a function \( f \) at a step \( \Delta x \) from \( x \):
$$ f(x + \Delta x) \approx f(x) + \Delta x f'(x) $$
In our case, using Euler's method to approximate the value of \( g \) at a step \( \Delta t \) from \( t \) yields
$$ \begin{aligned} g(t + \Delta t) &\approx g(t) + \Delta t g'(t) \\ &= g(t) + \Delta t \big(\alpha g(t)(A - g(t))\big) \end{aligned} $$along with the condition that \( g(0) = g_0 \).
Let \( t_i = i \cdot \Delta t \) where \( \Delta t = \frac{T}{N_t-1} \) where \( T \) is the final time our solver must solve for and \( N_t \) the number of values for \( t \in [0, T] \) for \( i = 0, \dots, N_t-1 \).
For \( i \geq 1 \), we have that
$$ \begin{aligned} t_i &= i\Delta t \\ &= (i - 1)\Delta t + \Delta t \\ &= t_{i-1} + \Delta t \end{aligned} $$Now, if \( g_i = g(t_i) \) then
$$ \begin{equation} \begin{aligned} g_i &= g(t_i) \\ &= g(t_{i-1} + \Delta t) \\ &\approx g(t_{i-1}) + \Delta t \big(\alpha g(t_{i-1})(A - g(t_{i-1}))\big) \\ &= g_{i-1} + \Delta t \big(\alpha g_{i-1}(A - g_{i-1})\big) \end{aligned} \end{equation} \tag{12} $$for \( i \geq 1 \) and \( g_0 = g(t_0) = g(0) = g_0 \).
Equation (12) could be implemented in the following way, extending the program that uses the network using Autograd:
# Assume that all function definitions from the example program using Autograd
# are located here.
if __name__ == '__main__':
npr.seed(4155)
## Decide the vales of arguments to the function to solve
Nt = 10
T = 1
t = np.linspace(0,T, Nt)
## Set up the initial parameters
num_hidden_neurons = [100,50,25]
num_iter = 1000
lmb = 1e-3
P = solve_ode_deep_neural_network(t, num_hidden_neurons, num_iter, lmb)
g_dnn_ag = g_trial_deep(t,P)
g_analytical = g_analytic(t)
# Find the maximum absolute difference between the solutons:
diff_ag = np.max(np.abs(g_dnn_ag - g_analytical))
print("The max absolute difference between the solutions is: %g"%diff_ag)
plt.figure(figsize=(10,10))
plt.title('Performance of neural network solving an ODE compared to the analytical solution')
plt.plot(t, g_analytical)
plt.plot(t, g_dnn_ag[0,:])
plt.legend(['analytical','nn'])
plt.xlabel('t')
plt.ylabel('g(t)')
## Find an approximation to the funtion using forward Euler
alpha, A, g0 = get_parameters()
dt = T/(Nt - 1)
# Perform forward Euler to solve the ODE
g_euler = np.zeros(Nt)
g_euler[0] = g0
for i in range(1,Nt):
g_euler[i] = g_euler[i-1] + dt*(alpha*g_euler[i-1]*(A - g_euler[i-1]))
# Print the errors done by each method
diff1 = np.max(np.abs(g_euler - g_analytical))
diff2 = np.max(np.abs(g_dnn_ag[0,:] - g_analytical))
print('Max absolute difference between Euler method and analytical: %g'%diff1)
print('Max absolute difference between deep neural network and analytical: %g'%diff2)
# Plot results
plt.figure(figsize=(10,10))
plt.plot(t,g_euler)
plt.plot(t,g_analytical)
plt.plot(t,g_dnn_ag[0,:])
plt.legend(['euler','analytical','dnn'])
plt.xlabel('Time t')
plt.ylabel('g(t)')
plt.show()


Room name (optional):
This name is either taken or contains not allowed characters. Please use following characters to name rooms: a-z 0-9 _ -


Home
Dashboard
Courses
School
Professional
Co-Curricular
View All
Instructors
Add a Course
Select Type/Level of Course:
Choose here
School
Professional
Co-Curricular
Subject:
Accountancy
Business Studies
Chemistry
Maths
Physics
Science
Maths
Tuition Type:
Tuition Centre
Home Tuition
Name of tutor:
Name of Tuition Centre:
x`
Address of Tuition Centre:
Experience:
Years
Course Fees:
Course Fees
Fees Negotiable:
YES
NO
Trial Availability:
YES
YES
NO
NO
Submit


Little Endian Byte Ordering
DWORD - unsigned integer, 4 bytes
WORD - unsigned short, 2 bytes
BYTE - unsigned char, 1 byte
CString - Microsoft String - 1, 3 or 7 bytes = length of string, followed by the string itself
In order to optimize space, the length is stored using variable lengthed types. If the length of the string is < 255 (hex = 0xff), the length is stored as a BYTE. If the length is < 65535 (hex = 0xffff), the length is stored in a WORD that follows the first BYTE. Otherwise the length is stored as a DWORD that follows the first BYTE and WORD.
Sample Code:
|
UINT ReadStringLength() { // attempt BYTE length first BYTE bLen; ReadByte(bLen);
// If length is not 0xff (255), then we've got the length, otherwise keep reading if (bLen < 0xff) return bLen;
// attempt WORD length WORD wLen; ReadWord(wLen)
// If length is not 0xffff(65535), then we've got the length, otherwise keep reading if (wLen < 0xffff) return wLen;
// read DWORD of length DWORD dwLen; ReadDWord(dwLen);
return (UINT)dwLen; } |
Header Format: Read the header variables in the following order
|
Variable |
Size |
Description |
Values |
|
File Tag |
DWORD |
Tag that uniquely identifies a Power Tab file |
should always be<PHONE_NUMBER> |
|
File Version |
WORD |
Version # for the file (the version of the program that saved the file; since every file format is different, it's also the version of the program needed to read the file) |
0 - Unknown, 1 - v1.0 2 - v1.0.2 3 - v1.5 4 - v1.7 |
|
File Type |
BYTE |
The type of Power Tab file |
0 - Song 1 - Lesson |
If File Type = Song then |
|||
|
File Contents |
BYTE |
Type of score contents contained in the file |
If bit 1 set, contains Guitar Score data. If bit 2 set, contains Bass Score data. |
|
Song Title |
CString |
Title of the song |
|
|
Artist |
CString |
Artist who performed song |
|
|
Release Type |
BYTE |
Type of release for the song |
0 - Public Audio 1 - Public Video 2 - Bootleg 3 - Not Released |
If Release Type = Public Audio then |
|||
|
Album Type |
BYTE |
Type of album |
0 - Single 1 - EP 2 - LP 3 - Double LP 4 - Triple LP 5 - Boxset |
|
Album Title |
CString |
Title of the album |
|
|
Year |
WORD |
Year album was released |
|
|
Live |
BYTE |
Was the song live? |
0 - No 1 - Yes |
else if Release Type = Public Video |
|||
|
Video Title |
CString |
Title of the video |
|
|
Live |
BYTE |
Was the song live? |
0 - No 1 - Yes |
else if Release Type = Bootleg |
|||
|
Bootleg Title |
CString |
Title of the bootleg |
|
|
Month |
WORD |
Month bootleg was recorded |
|
|
Day |
WORD |
Day bootleg was recorded |
|
|
Year |
WORD |
Year bootleg was recored |
|
endif Release Type |
|||
|
Author Type |
BYTE |
Type of author data |
0 - Known Author(s) 1 - Unknown Author(s); Traditional |
if Author Type = Known Author then |
|||
|
Music By |
CString |
Author of the music |
|
|
Words By |
CString |
Author of the lyrics |
|
endif Author Type |
|||
|
Arranged By |
CString |
Author who arranged this version of song |
|
|
Transcribed By 1 |
CString |
Person who transcribed Guitar Score |
|
|
Transcribed By 2 |
CString |
Person who transcribed Bass Score |
|
|
Copyright |
CString |
Copyright info |
|
|
Lyrics |
CString |
Lyrics |
|
|
Perf. Notes 1 |
CString |
Performance Notes for Guitar Score |
|
|
Perf. Notes 2 |
CString |
Performance Notes for Bass Score |
|
|
else if FileType = Lesson |
|||
|
Title |
CString |
Title of the lesson |
|
|
Subtitle |
CString |
Subtitle of the lesson |
|
|
Style |
WORD |
Music Style for the lesson |
0 - Alternative 1 - Bluegrass 2 - Blues 3 - Country 4 - Fingerpick 5 - Flamenco 6 - Folk 7 - Funk 8 - Fusion 9 - General 10 - Jazz 11 - Metal 12 - Other 13 - Pop 14 - Progressive 15 - Punk 16 - Reggae 17 - Rock 18 - Swing |
|
Level |
BYTE |
Playing Level for the lesson |
0 - Beginner 1 - Intermediate 2 - Advanced |
|
Author |
CString |
Author of the lesson |
|
|
Notes |
CString |
Lesson notes |
|
|
Copyright |
CString |
Copyright for the lesson |
|
|
endif FileType |
|
Song Title |
CString |
Title of the song |
|
|
Artist |
CString |
Artist who performed song |
|
|
Released On |
BYTE |
Type of release for the song |
0 - Single 1 - EP 2 - LP 3 - Double LP 4 - Triple LP 5 - Boxset 6 - Bootleg 7 - Demo 8 - Soundtrack 9 - Video 10 - None |
|
Release Title |
CString |
Title of the release |
|
|
Live |
BYTE |
Was the song live? |
0 - No 1 - Yes |
|
Music By |
CString |
Author of the music |
|
|
Words By |
CString |
Author of the lyrics |
|
|
Arranged By |
CString |
Author who arranged this version of song |
|
|
Year |
WORD |
Year album was released |
|
|
Author Type |
BYTE |
Type of author data |
0 - Known Author 1 - Traditional |
|
Copyright |
CString |
Copyright info |
|
|
Lyrics |
CString |
Lyrics |
|
* Note - Transcriber and Perf. Notes were stored within the score portion of the file in this version, so they can't be accessed
|
Song Title |
CString |
Title of the song |
|
|
Artist |
CString |
Artist who performed song |
|
|
Released On |
BYTE |
Type of release for the song |
0 - Single 1 - EP 2 - LP 3 - Double LP 4 - Triple LP 5 - Boxset 6 - Bootleg 7 - Demo 8 - Soundtrack 9 - Video 10 - None |
|
Release Title |
CString |
Title of the release |
|
|
Live |
BYTE |
Was the song live? |
0 - No 1 - Yes |
|
Music By |
CString |
Author of the music |
|
|
Words By |
CString |
Author of the lyrics |
|
|
Arranged By |
CString |
Author who arranged this version of song |
|
|
Transcribed By |
CString |
Person who transcribed song |
|
|
Year |
WORD |
Year album was released |
|
|
Author Type |
BYTE |
Type of author data |
0 - Known Author 1 - Traditional |
|
Copyright |
CString |
Copyright info |
|
|
Lyrics |
CString |
Lyrics |
|
|
Perf. Notes |
CString |
Performances notes for the song |
|
Copyright (c) 1999-2001 Brad Larsen. All Rights Reserved.


This is the default site template loaded by the siteservice bundle into /sites/default.html and used where a site does not have the sakai:skin set


[gecode-users] Extending Integer Variable
Christian Schulte
cschulte at kth.se
Tue Apr 8 17:54:52 CEST 2008
A good overview is provided by the chapter "Continous and Interval
Constraints" by Benhamou and Granvilliers in the Handbook of Constraint
Programming. Maybe you can find the chapter online.
Cheers
Christian
On 4/8/08 10:13 AM, "Filip Konvička" <filip.konvicka at logis.cz> wrote:
>
>> Well, nothing is easy ;-)
>>
>> As it comes to double one should keep in mind that most CPUs have parallel
>> functional units for floats: so, that just runs in parallel to the integer
>> and address arithmetic. I once did a little profiling to see what effect it
>> has for double and it was considerably less than what I had expected. The
>> big problem with doubles start if you store them in memory, bandwidth and
>> alignment are the typical problems. But for intermediate results that should
>> be okay. But I agree, 64 bit should also be fine. The reason why we didn't
>> go for that is that I looked at the assembly code that was generated by gcc
>> at that time (maybe three years ago)... It just made me cry. As soon as long
>> long becomes C++ standard (maybe relying on the de-facto C++0x standard -
>> most likely C++09 - would already be good enough) we will go for 64 bits.
>> The main motivation for us is that we use double only for integers which
>> limits precision to 48 bits.
>
> :-) I think I've seen some discussions on the gcc mailing lists
> concerning long long arithmetics, maybe some year ago or so...so maybe
> it is better now.
>
>> 128 bits can be tinkered okay. Either rely on compiler extensions and if
>> they are not available hack it yourself.
>>
>> Yes, however small the set of propagators might be, we will be interested. I
>> would believe that much of the IntVar stuff can serve as a good starting
>> point for you. If one gets really serious about float intervals, it becomes
>> tricky: it requires symbolic representation of the arithmetic expressions as
>> well as variable centered propagation. Quite different.
>
> That's interesting. (Read: I don't understand that :-)) What is
> variable-centered propagation? Do you have any papers about the matter?
> The only implementation of floatvars I've seen so far is the XRI library
> for Mozart, so I was not thinking about doing anything special yet.
>
> I can see that symbolic representation can be useful, but it depends on
> what quality/performance ratio you target. Personally I target
> performance (the tradeoff I see here is that I might not get bit-precise
> filtering).
>
>> Watch out: for some x64 it is still that long is 32 bits (Windows). On
>> others it is 64 (MacOS, Linux?). Only long long is 64 at least.
>
> Yes, I was referring to gcc. On Windows things tend to be
> backwards-compatible as *long* as possible :-D
>
> Cheers,
> Filip
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
--
Christian Schulte, web.ict.kth.se/~cschulte/
More information about the gecode-users
mailing list


  Well then...Stop the commotion and meet Twitter in Motion! Twitter in Motion is the ultimate Twitter teaching tool that’ll have you meet your Twittering goals no matter what they are. Twitter in Motion will teach you how to optimize your Twitter account to achieve the best possible results and high traffic from where you want. On top of that, the Twitter in Motion Coupon above will help you save in the process!
Twitter in Motion team of experts have come together to do all the hard work so you don’t have to. All you have to do is follow along and use their exclusive formula to reach all your Twittering goals. Twitter in Motion offers you tons of tutorials and tools that you can’t find elsewhere. The advice and guidance you gain will quickly bring thousands of targeted followers to you and help you make the most of your account. In as little as 15 minutes a day, you’ll make real money on Twitter, after putting in minimal effort.
The only real effort you have to put is making the commitment. Are you committed to reaching all your goals and targets on Twitter? Are you committed to saving money? Well, click on the Twitter in Motion Coupon above. The Twitter in Motion Coupon will help you gain access to your Twitter in Motion Discount. The only thing you’ll love more than mastering Twitter is the amount of money you’ll save doing it! You can rave all about it on Twitter! So get up, get going, and Twitter in Motion today!


Markdown
Text can be bold, italic, strikethrough or keyword
.
There should be whitespace between paragraphs.
Header 1
This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
Header 2
This is a blockquote following a header.
When something is important enough, you do it even if the odds are not in your favor.
Header 3
Header 4
- This is an unordered list following a header.
- This is an unordered list following a header.
- This is an unordered list following a header.
Header 5
- This is an ordered list following a header.
- This is an ordered list following a header.
- This is an ordered list following a header.
Header 6
| head1 | head two | three |
|---|---|---|
| ok | good swedish fish | nice |
| out of stock | good and plenty | nice |
| ok | good oreos |
hmm |
| ok | good zoute drop |
yumm |
There’s a horizontal rule below this.
Here is an unordered list:
- Item foo
- Item bar
- Item baz
- Item zip
And an ordered list:
- Item one
- Item two
- Item three
- Item four
And a nested list:
- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item
Wide image
Definition lists can be used with HTML syntax.
- Name
- Godzilla
- Born
- 1952
- Birthplace
- Japan
- Color
- Green
Syntax highlighting
Jekyll has built in support for syntax highlighting of over 60 languages thanks to Rouge.
To render a code block with syntax highlighting, surround your code as follows:
Pygments styles are present under section 6.0 of css/style.scss
for customization.