Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
G
I
O
P
S
U
A
adjustedPrincipalExchangeDate
- Variable in class org.packt.cashflow.facade.
PrincipalExchange
C
CashflowsType
- Class in
org.packt.cashflow.facade
This class defines the data for the events, when principal exchange occurs.
CashflowsType()
- Constructor for class org.packt.cashflow.facade.
CashflowsType
createCashflows(CashflowsType)
- Method in class org.packt.cashflow.facade.
ObjectFactory
Create an instance of
JAXBElement
<
CashflowsType
>
}
createCashflowsType()
- Method in class org.packt.cashflow.facade.
ObjectFactory
Create an instance of
CashflowsType
createPrincipalExchange()
- Method in class org.packt.cashflow.facade.
ObjectFactory
Create an instance of
PrincipalExchange
createProcessingElement()
- Method in class org.packt.cashflow.facade.
ObjectFactory
Create an instance of
ProcessingElement
D
discountFactor
- Variable in class org.packt.cashflow.facade.
PrincipalExchange
G
getAdjustedPrincipalExchangeDate()
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Gets the value of the adjustedPrincipalExchangeDate property.
getDiscountFactor()
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Gets the value of the discountFactor property.
getId()
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Gets the value of the id property.
getPrincipalExchange()
- Method in class org.packt.cashflow.facade.
CashflowsType
TEST prop Gets the value of the principalExchange property.
getPrincipalExchangeAmount()
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Gets the value of the principalExchangeAmount property.
getStatus()
- Method in class org.packt.cashflow.facade.
Processing
Gets the value of the status property.
getStatus()
- Method in class org.packt.cashflow.facade.
ProcessingElement
Gets the value of the status property.
getUnadjustedPrincipalExchangeDate()
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Gets the value of the unadjustedPrincipalExchangeDate property.
I
id
- Variable in class org.packt.cashflow.facade.
PrincipalExchange
O
ObjectFactory
- Class in
org.packt.cashflow.facade
This object contains factory methods for each Java content interface and Java element interface generated in the org.packt.cashflow.facade package.
ObjectFactory()
- Constructor for class org.packt.cashflow.facade.
ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.packt.cashflow.facade
org.packt.cashflow.facade
- package org.packt.cashflow.facade
This package represents the XML facade of the cashflows in the financial derivatives structure.
P
principalExchange
- Variable in class org.packt.cashflow.facade.
CashflowsType
PrincipalExchange
- Class in
org.packt.cashflow.facade
Java class for PrincipalExchange complex type.
PrincipalExchange()
- Constructor for class org.packt.cashflow.facade.
PrincipalExchange
principalExchangeAmount
- Variable in class org.packt.cashflow.facade.
PrincipalExchange
Processing
- Class in
org.packt.cashflow.facade
Java class for anonymous complex type.
Processing()
- Constructor for class org.packt.cashflow.facade.
Processing
ProcessingElement
- Class in
org.packt.cashflow.facade
Java class for anonymous complex type.
ProcessingElement()
- Constructor for class org.packt.cashflow.facade.
ProcessingElement
S
setAdjustedPrincipalExchangeDate(XMLGregorianCalendar)
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Sets the value of the adjustedPrincipalExchangeDate property.
setDiscountFactor(BigDecimal)
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Sets the value of the discountFactor property.
setId(Integer)
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Sets the value of the id property.
setPrincipalExchangeAmount(BigDecimal)
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Sets the value of the principalExchangeAmount property.
setStatus(String)
- Method in class org.packt.cashflow.facade.
Processing
Sets the value of the status property.
setStatus(String)
- Method in class org.packt.cashflow.facade.
ProcessingElement
Sets the value of the status property.
setUnadjustedPrincipalExchangeDate(XMLGregorianCalendar)
- Method in class org.packt.cashflow.facade.
PrincipalExchange
Sets the value of the unadjustedPrincipalExchangeDate property.
status
- Variable in class org.packt.cashflow.facade.
Processing
status
- Variable in class org.packt.cashflow.facade.
ProcessingElement
U
unadjustedPrincipalExchangeDate
- Variable in class org.packt.cashflow.facade.
PrincipalExchange
A
C
D
G
I
O
P
S
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes


halo:credits
- Definitions provided by Google Dictionary and Youdao.
- UI inspired by Google Chrome preference page.
- Mr.X, Leo, ..., your suggestions are always helpful. Thank you.
- Thanks to HCC. Wonderful workshop, cool partners, awesome internet connection...
- Love Svenja. You are my inspiration.


Circular Gauges
Value Indicators API
Dark Theme
Light Theme
Main generator
Additional generator 1
Additional generator 2


We Got You.


Spotifeed has been discontinued.
Unfortunately, Spotify has made critical changes to their podcast download infrastructure that prevents Spotifeed from working. While Spotifeed can still access the show and episode data, the audio file downloads are no longer accessible. He's dead, Jim.
The technical details: Spotify's anon-podcast.scdn.co server has been discontinued. This served as an unauthenticated proxy server for podcast episode audio. They have switched to streaming directly from the podcast's source server. For non-exclusive podcasts, that is simply whatever is in the RSS feed (in which case, you can access those podcasts directly without Spotifeed's help). For exclusive podcasts, Spotify is using their audio-fa.scdn.co server, which appears to be using a chunked MP4 stream that is not usable by general podcast clients. That means Spotifeed would have to re-host the podcast audio files to make those downloadable, which is not feasible or legal.


| About Dailyrotten |
|
Feedback
If you like this page, hate it, or would like to suggest changes,
<EMAIL_ADDRESS>is listening. This page
is experimental and somewhat different from what we usually offer, so please
do send your feedback.
Adding Stories
If you are a rotten newshound and you would like to suggest a story,
visit our submit page to
send us the URL. Stories that are accepted will have your name credited.
Viewership
On the first full day this page went live, 100,000 people visited this Rotten
News page. Of course that was the day after the WTC attacks, so that number is
somewhat distorted. Right now this page gets between 50,000 and 75,000 people
every day.
Linking
We encourage everyone to link to this page; if you like it, others probably
will as well.
Other Rotten
Rotten
Gaping Maw
Celebrity Morgue
Mugshots
Rotten Store
Shockumentary
Rate My Poo
Rate My Kitten
Rate My Finger
Penny Postcards
Phallic
Dr. Sputnik
Boners
Dead Pool
NNDB
Home
Make Dailyrotten your start page
|
|
|
July 18, 2003
Custodian attacks school board with rifle, gasoline
MSNBC | Submitted by: Watcher
"Richard Dean 'Rusty' Bright, 58, who had been on sick leave, arrived about 10 minutes into the Kanawha County Board of Educationís meeting with three large buckets of gasoline and a Chinese-made SKS rifle under an overcoat, witnesses said. ... Bright placed the buckets on a table and then splashed maintenance supervisor Jeffery A. Allred and Karen Williams, a personnel department official. Bright appeared to try to ignite the gas, then pulled out the rifle, witnesses said. Luoni said Bright fired several shots, but was unable to take aim before onlookers subdued him."
|
|
Read article... and
This article...
|
|
Cannibal mother institutionalized
canada.com | Submitted by: Buzz Beer
"A Nanaimo woman slit her two-year-old daughter's throat before cutting up the body, cooking it with other ingredients and eating the soup. Laurina Marie Aune cannibalized her daughter 'so Kyla would be with me forever.' ... Police said Aune told them she ate a piece of the heart because she felt that's where her child's spirit was. The child's head was found in Ms. Aune's bedroom."
|
|
Read article...
|
|
Blair: History will forgive our WMD lies
Guardian | Submitted by: Bonny Fide
"Tony Blair last night used the rare opportunity of a historic address to the US Congress to declare that history would 'forgive' him even if no weapons of mass destruction are uncovered in Iraq. In a significant softening of Downing Street's stance on Iraq's banned weapons, the prime minister stood before hundreds of members of Congress to admit that he may eventually be proved wrong. 'Can we be sure that terrorism and weapons of mass destruction will join together? ... Let us say one thing. If we are wrong we will have destroyed a threat that, at its least, is responsible for inhuman carnage and suffering. That is something I am confident history will forgive.' ... But Mr Bush spoke in more confident terms about the hunt for weapons of mass destruction, declaring that they would be uncovered."
|
|
Read article...
|
|
White House assfucks CIA agent over uranium hoax
The Nation | Submitted by: Reid Fleming
"Did senior Bush officials blow the cover of a US intelligence officer working covertly in a field of vital importance to national security -- and break the law -- in order to strike at a Bush administration critic and intimidate others? It sure looks that way, if conservative journalist Bob Novak can be trusted. ... Novak's July 14, 2003, column... contained the following sentences: 'Wilson never worked for the CIA, but his wife, Valerie Plame, is an Agency operative on weapons of mass destruction. Two senior administration officials told me Wilson's wife suggested sending him to Niger to investigate' the allegation. ... Under the Intelligence Identities Protection Act of 1982, it is a crime for anyone who has access to classified information to disclose intentionally information identifying a covert agent."
|
|
Read article...
|
|
Red Cross returns donated body parts via FedEx
Austin-American Statesman | Submitted by: Tim Howard
"In a FedEx package came his son's corneas, packed in a preserving solution. In a cooler filled with dry ice Roberts found his son's femurs, kneecaps, hip bones and shoulder blades. His son's heart was in a jar.   I did not want them back. I emphatically said plenty of times that you can have those body parts if you will just give them to people.'"
|
|
Read article...
|
|
Bestiality videos add to strip club's legacy
Lincoln Journal Star | Submitted by: Irmo
"A woman who worked as a dancer at the exotic dance club Mataya's Babydolls was found guilty Thursday of performing sex acts with a dog. ... Earlier this year, federal authorities searched the business at 5620 Cornhusker Highway and uncovered a cache of weapons -- complete with explosive projectiles, launcher and homemade bombs... In January, Lincoln police searched the business and confiscated several locally made videos of people performing sex acts with animals."
|
|
Read article...
|
|
Dykehating dentist loses license
AZ Central | Submitted by: Tim Howard
"The board said that in March 1999, Roper confronted patient Tricia Thompson in the waiting room after seeing that she had identified a female partner as her spouse on a 'get-acquainted card.' Roper refused to provide treatment and told her loudly that same-sex marriages were against his belief. 'During the same conversation ... and while in his reception area where other people were present, Dr. Roper asked of (Thompson), "Do you have AIDS?"' the settlement said."
|
|
Read article...
|
|
US legal delegates in Iraq gagged by policy
USA Today | Submitted by: Katie
"Senior U.S. District Judge Gilbert Merritt said the 25-member delegation's hopes of assessing Baghdad's judicial and law enforcement institutions were hindered by the chaos in the city of 5 million people. Guerrilla warfare continues, water and electricity service are limited, police forces are barely functioning, and many courthouses are bombed-out shells, he and other members of the delegation said. But Merritt was particularly annoyed by the U.S. occupation authority's attempt to control information by limiting what his group and others involved in rebuilding said to the news media. ... members of his delegation were given a directive authorized by the chief U.S. administrator in Baghdad, Paul Bremer. It said all contact with the news media had to be cleared by top officials of the Coalition Provisional Authority (CPA)."
|
|
Read article...
|
|
Pentagon will punish squealers in Iraq
New York Daily News | Submitted by: A. P. Palled
"The military will punish demoralized soldiers in Iraq who are bluntly venting their frustration to reporters, the Pentagon said yesterday. 'None of us that wear this uniform are free to say anything disparaging about the secretary of defense or the President of the United States,' said Gen. John Abizaid, head of Central Command. ... The Code of Military Justice bars officers from using 'contemptuous words' against civilian or military leaders. Punishment is rarely stringent, said military law expert Eugene Fidell. 'People always grumble in the trenches,' he said. 'Typically, administrations are extremely well advised not to throw gasoline on the fire by creating martyrs.'"
|
|
Read article...
|
|
Mexicans implanted with ID chips
AZ Central | Submitted by: Tim Howard
"Borrowing from technology for tracking pets, a U.S. company is selling microchips in Mexico that can be implanted under a person's skin and used to confirm health history and identity. The microchips, already available in the United States, could tap into a growing industry surrounding Mexico's criminal concerns. Kidnappings, robberies and fraud are common here, and Mexicans are constantly looking for ways to protect themselves against crime. ... Company officials said they are working on developing similar technology that would use satellites to help find people who may have been kidnapped." [What?!]
|
|
Read article...
|
|
Bush wants doctors punished for suggesting pot
Wire Services | Submitted by: Jeff The Dude
"The Bush administration wants the Supreme Court's permission to strip prescription licenses from doctors who recommend marijuana to sick patients. ... Solicitor General Theodore Olson said the latest 9th Circuit decision keeps the U.S. Drug Enforcement Administration from protecting the public. He said the ruling licenses doctors to treat patients with illegal drugs and that physicians who urge patients to use pot are no different than those recommending heroin or LSD."
|
|
Read article...
|
|
Trapped hiker commits suicide
AZ Central | Submitted by: Tim Howard
"A man whose body was found in a 24-foot-deep mine shaft near Mount Pisgah last week apparently was injured in a fall and committed suicide rather than wait for rescue or death, Teller County authorities said. A hiker found the body of Lance Rezac, 46, on July 6. An autopsy concluded he died of a gunshot wound sometime last fall."
|
|
Read article...
|
|
Someone poisoning dogs in city parks
AZ Central | Submitted by: dianalily
"Poisoned sausages placed in a park have apparently killed eight dogs in this usually pooch-friendly town amid a heated debate over whether dogs should be allowed in parks without a leash. Autopsies indicated that someone laced the meat with the herbicide paraquat, veterinarians say. ... The first sick dogs arrived at Dove Lewis Emergency Animal Hospital July 3 suffering from vomiting, diarrhea and mouth ulcers. Owners of the afflicted dogs said their pets had scarfed down something resembling a piece of pepperoni before they fell ill."
|
|
Read article...
|
|
Orrin Hatch obliquely endorses Schwarzenegger
World Net Daily | Submitted by: waldo
"Sen. Orrin Hatch, R-Utah, says he did not do it for the 'Terminator,' but his proposed bill would allow foreign-born citizens such as actor Arnold Schwarzenegger to run for president of the United States. 'I believe the time has come to address the antiquated provision of the constitution that requires our president to be a natural-born citizen,' said Hatch, according to the Herald News of Fall River, Mass. 'It has long outlived its original purpose.'"
|
|
Read article...
|
|
Republican gavel just too fast for Democratic objection
Washington Post | Submitted by: Reid Fleming
"Months of political tension in the House of Representatives erupted into open warfare today when Democrats stormed out of a Ways and Means Committee session and the panel's chairman called in the Capitol Police. ... When the Democrats left for the library, Rep. Fortney 'Pete' Stark (D-Calif.) stayed behind to prevent the Republicans from obtaining unanimous consent to dispense with the reading. After several minutes, Thomas again asked unanimous consent to dispense with the reading, and instantly brought down his gavel. Stark said later that he had objected, and Thomas had replied, 'You're too late.' Thomas then recognized Portman for an opening statement on the bill. Stark attempted to make a 'parliamentary inquiry,' and Thomas ignored him."
|
|
Read article...
|
|
Put-up-or-shut-up time for mammoth cloning project
Guardian | Submitted by: waldo
"After a six-year search Japanese scientists are preparing to clone prehistoric woolly mammoths from frozen DNA samples found in Siberia. ... researchers from Kagoshima and Kinki universities and the Gifu Science and Technology Centre began the search in 1997 for sperm or tissue from mammoths preserved in the tundra. ... The Japanese scientists collected samples of bone marrow, muscle and skin from mammoth remains found in Siberia last August. Yesterday, after a year fighting Russian bureaucracy, the samples arrived."
|
|
Read article...
|
|
White House no longer accepting anonymous emails
Seattle Post-Intelligencer | Submitted by: kade
"In the past, to tell President Bush -- or at least those assigned to read his mail -- what was on your mind it was only necessary to sit down at a personal computer connected to the Internet and dash off an e-mail to<EMAIL_ADDRESS>... those who want to send a message to Bush must now navigate as many as nine Web pages and fill out a detailed form that starts by asking whether the message sender supports White House policy or differs with it. ... '[The new system] provides an additional means for individuals to inquire about policy issues at the White House and get a personalized response in 24 to 48 hours,' said Orr, the Internet news director at the White House. ... Having sent his e-mail message on Tuesday, Matzzie said he was still waiting for a response."
|
|
Read article...
|
|
|
|
|


CONTROL STATEMENT
1. Decision Control 2. Loop Control 3. Case Control
1. DECISION CONTROL STATEMENTS
| Decision control statements | Syntax/Description |
|---|---|
| If | Syntax: if (condition) { Statements; } |
| if…else | Syntax: if ( |
| nested if | Syntax: if (condition1){ Statement1; } else_if(condition2) { Statement2; } else Statement 3; |
2. LOOP CONTROL STATEMENTS
| Loop Name | Syntax |
|---|---|
| For | for (exp1;exp2;expr3) { statements; } |
| While | while (condition) { statements; } |
| do while | do {statements; } while (condition); |
Difference Between While and Do-While loop
| While | do while |
|---|---|
| Loop is executed only when condition is true |
Loop is executed for first time irrespective of the condition. After executing while loop for first time, then condition is checked. |


>
This is part of the old website. New website begins at fontforge.github.io
Are you a web developer? Help us migrate this page on Github
You
invoke this dialog from the outline glyph view by selecting an anchor point
in that glyph and selecting Metrics->Anchor Control
. In the
example at right, the arabic letter Hamza was chosen. In the first pane of
the dialog are various controls, next to that is a pane displaying the letter
Hamza and showing the anchor point relative to that letter. You may move
the anchor point around to position it as you wish.
After this there is a scrollable region containing multiple sub-panes. Each sub-pane contains one combination of Hamza and a mark that fits on top of it. If you click in one of these sub-panes, FontForge changes the dialog to look at the mark you selected. Here we clicked on the Fathatan mark, and we now see all the base letters that fit underneath it. This dialog now gives you control of the anchor point in the Fathatan mark.
At the top of the control region is a pull down list containing the names of all glyphs in this anchor class. You may look at the combinations based on any of them. You may also use the Page Up and Page Down keys to cycle through this list.
You may control the pixelsize used to display the combinations. Sometimes it is important to get a close up view of a small pixelsize (which may be quite different from looking at a larger pixelsize) and the Magnification field allows for this.
You can also enter the anchor point's location by manual typing in the X,Y textfields at right.
You can also create something called a "Device Table", a name which is not very informative. When a font is rasterized at small pixel sizes rounding errors become important, and this is particularly true of mark positioning, where there are four things that get rounded: The locations of the each glyph's outlines (to fit them to a pixel grid), and the locations of the anchor points of each glyph. The result is that something which looks perfectly positioned at 150pixels may be either too close or too far apart at 12pixels.
You could adjust the anchor point's location slightly until it looked right
at 12pixels, of course, but that might break it at 14 pixels. So OpenType
has the concept of a Device Table which allows you to add small corrections
at particular point sizes. Simply set the Size to a small, but common, value
(say 10-24) and examine the positioning. If the results are ugly then type
a value into the appropriate Cor
(rection) field, and this will
change the spacing by that many pixels at the given display size (and no
other).
Note it may sometimes be better to define a correction in the matching glyph rather than the current one. Corrections will apply to all glyphs matched with the current one.
-- Back --


vignettes/examples/python.Rmd
python.Rmd
View the corresponding python.Rmd file to learn more about how this page was generated.
In this example, we’re using the continuumio/anaconda3 docker image to run Python.
3.8.8 (default, Apr 23 2021, 03:28:49)
Python 10.2.0] :: Anaconda, Inc. on linux
[GCC "help", "copyright", "credits" or "license" for more information.
Type >>> import numpy as np
>>> import pandas as pd
>>> import matplotlib
>>>
>>> matplotlib.use('agg')
>>> pd.__version__
'1.2.4'
Because knitractive
employs the tmuxr package under the hood, the python session is maintained, and we can continue where we left off.
>>> ts = pd.DataFrame({"value": np.random.randn(1000)},
=pd.date_range('1/1/2000',
... index=1000))
... periods>>> ts = ts.cumsum()
>>> ts.head()
| value | |
|---|---|
| 2000-01-01 | 1.639093 |
| 2000-01-02 | 2.367394 |
| 2000-01-03 | 3.013225 |
| 2000-01-04 | 3.994226 |
| 2000-01-05 | 3.874939 |
We’ve mapped the current working directory on the host to the directory /data/
inside the docker container, so that we can include generated figures.
>>> ts.plot()
View the corresponding python.Rmd file to learn more about how this page was generated.


# extends 'base.html' # block content
We are here to help you work every last one of your taste buds.
On DASPOTS only recommendations from people who are passionate about food - they grow it, make it, serve it, style it, enjoy it and everything in between. They work in the food industry, they care about great ingredients and they leave no bad vibes.
MEET THE INSIDERS
Discovering great places to grab a bite and have a drink in New York should be fun and easy. That's why we are here. We aren't your everyday mainstream recommendation site...we just share the cool, undiscovered and authentic places by insiders who love food as much as you.
DISCOVER OUR FAVORITE SPOTS


| Class and Description |
|---|
| CalendarUnit
A CalendarUnit represents a time interval whose duration is allowed to vary in order to
adjust to Daylight Saving Time where needed.
|
| DateTime
DateTime provides an immutable representation of Date and Time to the nearest nanosecond.
|
| DateTimeConfig
Establish global defaults for shaping DateTime behavior.
|
| DateTimeConfigBuilder
DateTimeConfig has numerous values, some of which we want to control, sometimes making minor changes.
|
| Duration
Duration is a fixed measurement of time.
|
| IDateTimeConfig
This interface defines methods essential for global configuration of the DateTime object.
|
| LocalConfig
LocalConfig is a wrapper class providing a cheap equivalent to the global instance of
DateTimeConfig with one or more methods (e.g.
|
| MonthMap
This is a language-agnostic mapping of month abbreviations to month numbers
|
| Shift
Shift describes an offset in time in terms of CalendarUnit increments of various proportions.
|
Copyright © 2014. All Rights Reserved.


Register GP
Name
Age
GP Number
Address
Password
Confirm password
Gender
Male
Female
Ethereum Address
Register
Login Page
Forgot Password?


|
Dear user,
You are required to provide information on the source of funds / cryptocurrencies.
You've requested this Questionnaire. Please see the attached document.
You'll need to send the scan copy of the filled and duly signed Questionnaire along with the supporting documents to<EMAIL_ADDRESS>|


django-sanity is an open source project that features a management command line tool built on top of the Django Web Development framework that has the ability to diagnose environment resources to determine if they are ‘sane’ - or working as per elaborated business requirements. As of 05/02/2011, django-sanity supports ‘sanity checks’ - unit tests - for Celery running with RabbitMQ.
Here are a few instructions that you can follow that will have you running environment sanity checks in no time.
pip install -e git+https://github.com/RobCombs/django-sanity.git@master#egg=django-sanity
(or git clone git+ssh://vcs.ddtc.cmgdigital.com/git-repos/django-sanity.git for CMGdigital employees)
Note: If you can't execute pip install for any reason, you can take the following alternate approach to get django-sanity installed:
- git clone git clone git@github.com:RobCombs/django-sanity.git(or git clone git+ssh://vcs.ddtc.cmgdigital.com/git-repos/django-sanity.git for CMGdigital employees)
- cd django-sanity
- python setup.py develop
INSTALLED_APPS = (
'sanity',
)
CELERY_IMPORTS = (
'sanity.tasks',
)
SANITY_CELERY_TIMEOUT=10 (optional, default value is 10 or you can pass --celery_timeout=10 to the sane management command)
from datetime import timedelta
CELERYBEAT_SCHEDULE = {
"runs-every-5-seconds": {
"task": "sanity.tasks.celerybeat_test",
"schedule": timedelta(seconds=5)
},
}
Installation complete!
You can test the installation by running django-admin.py(or python manage.py) sane. If the script attempts to execute the unit tests, then you’re done. If not, then refer to the TROUBLESHOOTING section.
Before you run these commands, first go to the directory where your Django code is deployed because django-sanity checks the code of your current directory against the code that the celery workers are running to see if they’re the same.
To run a suite of unit tests to determine if celery is sane, run this management command:
django-admin.py(or python manage.py) sane celery
To add a time out option in terms of seconds, you can do this:
django-admin.py(or python manage.py) sane celery --celery_timeout=15
To get some sane help, run this command:
django-admin.py(or python manage.py) sane --help
To run a suite of unit tests on a list of resources, you can just pass sane a list like this:
django-admin.py(or python manage.py) sane celery solr
To run a suite of all(Celery and a mock Solr test for now) of sane’s unit tests, run this management command:
django-admin.py(or python manage.py) sane
USAGE: You can execute django-admin.py sane –help or –h to get an output of the usage. Here is a copy and paste of that output. Usage: /Users/rcombs/devel/cms_aa/bin/django-admin.py sane <resource1 resource2 ...> [–celery_timeout] or /Users/rcombs/devel/cms_aa/bin/django-admin.py sane [–celery_timeout] to test all configured Sane modules or /Users/rcombs/devel/cms_aa/bin/django-admin.py sane list to get a list of Sane modules to be tested Available Resources to test: celery
| -v VERBOSITY, --verbosity=VERBOSITY | |
| Verbosity level; 0=minimal output, 1=normal output, 2=all output | |
| --settings=SETTINGS | |
| The Python path to a settings module, e.g. “myproject.settings.main”. If this isn’t provided, the DJANGO_SETTINGS_MODULE environment variable will be used. | |
| --pythonpath=PYTHONPATH | |
| A directory to add to the Python path, e.g. “/home/djangoprojects/myproject”. | |
| --traceback | Print traceback on exception |
| --ct=CELERY_TIMEOUT, --celery_timeout=CELERY_TIMEOUT | |
| Specify a time out in terms of seconds for tests. The default is the value defined in SANITY_CELERY_TIMEOUT. If that variable is not found, then it will fall back to 10 seconds. | |
| --version | show program’s version number and exit |
| -h, --help | show this help message and exit |
example: django-admin.py sane celery –celery_timeout=10; This tells django-sanity to test celery and to create a 10 sec timeout limit when attempting to talk to celery.
django-sanity will be a comprehensive resource diagnostic tool. The following list shows some additional resources that we’d like to automate tests for. Contributions are welcome.
- primarily for ad hoc use in dev environments right now
- figure out whether and how to automate it / integrate later
- possibly integrate into the deploy process: don't add a server back into the SLB rotation unless it is sane
- possibly incorporated into wsgi boot process
- Apache
- ping server-info module on localhost (obfuscated url?)
- check that vhosts match site_list
- WSGI daemon
- add server-info to medley (also nice for slb healthchecks)
- talk to them over their unix sockets (maybe)
- lighttpd
- static request, mod_status, or at least HEAD => 200
- mogrify
- scale some_image_that_will_always_be_here.png
- test for cached file
- delete cached file
- media mounts
- test MEDIA_ROOT, at the minimum
- more discovery required
- read & write
- make sure it's actually mounted
- permissions, and: who runs this script?
- templates
- verify existence of links pointing into medley-templates
- postgres
- make some queries (version, read/write)
- verify schema? ownership? constraints? compute pi to nth digit?
- replication??
- memcache
- set / get
- stats
- flush cache in reloadprod command (and rename reloadprod command!)
- solr
- fix solr so it reports its schema
- index & search (& remove)
- replication??
- also need to figure out how to NOT automatically install new schema
- but automate in VMs
- virtualenv
- python version
- packages match pip
- medley
- is it deployed where it's supposed to be deployed?
- have an endpoint to expose HEAD git hash
- signin
- test vhost and have sanity endpoint / server-info w/ code hash
- is it deployed where it's supposed to be deployed?


DingerDB: A modern baseball database and analytics platform
https://www.DingerDB.com
Brad Hurley
- Developer at IBM Watson Health
- Twitter: @sqlBrad
- Cleveland Indians Fan
- I like data and beer
Carter Danko
- Developer at IBM Watson Health
- Email<EMAIL_ADDRESS>- Twitter: @cmdanko
- Will code for beer
What is DingerDB
By The Numbers
| Data Type |
Row Counts |
| Players |
22,000+ |
| Games |
25,000+ |
| Pitches |
7,000,000+ |
| Venues |
90+ |
| Pick Off Attempts |
190,000+ |
| At Bats |
2,000,000+ |
| Innings |
200,000+ |
| Line Scores |
250,000+ |
| Base Runners |
1,700,000+ |
Inspiration
- RetroSheets
- Lahman Database
Tech Stack
- Python
- MySQL
- Superset
- Docker
- Amazon AWS
- Jenkins
- Redis
Data Acquisitions Process
- Flat files on webserver
- Folder based on year/month/day
- Walk os tree
- Separate parallel process downloads files
Raw Data
JSON :)
XML :(
At Bat
Roster
Player
Data Model
Classes defined in Python using SQLAlchemy
class AtBat(Base):
__tablename__ = "at_bat"
id = Column(Integer, primary_key=True)
game_join_id = Column(Integer)
home_team_runs = Column(Integer)
away_team_runs = Column(Integer)
b = Column(Integer)
s = Column(Integer)
o = Column(Integer)
on_1b = Column(Integer)
on_2b = Column(Integer)
on_3b = Column(Integer)
des = Column(String(450))
event_num = Column(Integer)
pitcher = Column(Integer)
batter = Column(Integer)
num = Column(Integer)
start_tfs_zulu = Column(TIMESTAMP)
start_tfs = Column(Time)
event = Column(String(50))
play_guid = Column(String(36))
stand = Column(String(1))
b_height = Column(String(4))
p_throws = Column(String(1))
Data Processing/Parsing
# Example Usage
team_parser = TeamParser(path=TEAM_URL)
team_parser.parse()
# TeamParser Snippet
class TeamParser(Parser):
def parse(self):
teams = Utilities.get_distinct_values("team", "team_id")
data = self.get_data()
root = etree.fromstring(data)
for element in root.iter():
if element.tag == 'team':
team = Team()
team.aws_club_slug = element.get('aws_club_slug')
team.mobile_url = element.get('mobile_url')
team.mobile_es_url = element.get('mobile_es_url')
team.mobile_url_base = element.get('mobile_url_base')
team.id = element.get('id')
Hosting
- AWS
- RDBMS isolated
- Cluster of Docker machines
- Treat the servers like cattle not pets
Superset Docker Config
SQLALCHEMY_DATABASE_URI = 'mysql://USER:PASSWORD@IP_ADDRESS/schema'
SECRET_KEY = 'APP_SECRET_KEY'
APP_NAME = "DingerDB"
LANGUAGES = {'en': {'flag': 'us', 'name': 'English'}}
CACHE_DEFAULT_TIMEOUT = 30 # 30s default timeout
ROW_LIMIT = 5000
VIZ_ROW_LIMIT = 1000
SQL_MAX_ROW = 2000
DISPLAY_SQL_MAX_ROW = 1000
CACHE_CONFIG = {
'CACHE_TYPE': 'redis',
'CACHE_DEFAULT_TIMEOUT': 30,
'CACHE_KEY_PREFIX': 'superset_',
'CACHE_REDIS_HOST': 'REDIS_IP',
'CACHE_REDIS_PORT': 6379,
'CACHE_REDIS_DB': 15,
'CACHE_REDIS_URL': 'redis://REDIS_IP:6379/15'
}
Bulk Loading Historical
- Multi-Threading
- Post Script
- Static Data
Daily Data Updates
- Had all historical data downloaded/processed, but no insight into a game from a week ago
- Created process to incrementally download and process data running on Jenkins
- Jenkins instance, along with jenkins job and environment can be rebuilt in 5 minutes
- Download -> Redis -> Process -> Archive -> Cleanup
Issues
- Dates, Times, and DateTime
- Tracking What Has Been Processed
- Generating Linking Keys
- Generating Good Linking Keys
- Adding Player Data
- AWS Operations headbanging
- Over Engineering
- Time
Future
- Open Source
- Stand Alone Database
- REST API
- Public Access
- Logo
- Sell Out
Demo
Questions
For access to https://www.DingerDB.com hit us up on twitter @dinger_db.


We now offer CUSTOM PIES! Build your wildest creation below!
Thank you for carefully crafting your own personal masterpiece. This isn't my idea of a perfect pie, but to each their own. This abomination will cost you $ .
This order will be delivered to:
Our driver will call you at when they are outside


ASCIIdoc is an extensive Python script that takes simple text files and
converts them into other formats. Three document types are supported.
article (the default)
book
manpage
ASCIIdoc uses .txt files by default.
The default output of ASCIIdoc is an HTML file (xhtml11).
The document types supported by ASCIIdoc are:
article - short documents, articles, and general documentation
book - similar to articles, but include level 0 book part sections
manpage - used to generate UNIX manual pages
Man pages are created by converting the ASCIIdoc text files to DocBook
refentry files, and then to standard roff man pages.
ASCIIdoc uses backend configuration files to output:
DocBook XML (docbook)
XHTML 1.1 with CCS2 (xhtml11; the default)
HTML 4.01 - unstyled (html4)
linuxdoc (no longer actively supported)
The backend configurations are called using the -b option.
Other tools can convert the docbook output ( -b docbook ) to:
PostScript
HTML
PDF
DVI
roff (man page source)
HTMLHelp
JavaHelp
text
etc.
ASCIIdoc has a DocBook Toolchain wrapper called a2x. You will need xsltproc,
DocBook XSL stylesheets, and optionally FOP (for PDF output) or lynx (for text
output) to benefit from its abilities, but it makes conversion very easy.
As an example:
a2x -f pdf .txt
xslfproc is in /usr/bin on OpenSolaris. FOP must be downloaded from the
Apache site (http://xml.apache.org/fop/) and installed.
gunzip fop-0.20.5-bin.tar.gz
tar xf fop-0.20.5-bin.tar
cd fop-0.20.5
cp fop.sh ../bin/
vi ~/bin/fop.sh
Set FOP_HOME
cd
ln -s fop-0.20.5 fop
unzip jimi1_0.zip
cd Jimi
unzip JimiProClasses.zip
cp ./examples/AppletDemo/JimiProClasses.jar ../fop-0.20.5/lib/
export JAVA_HOME=/usr/j2se
(I currently get an error "Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/fop/apps/Fop" using fop.)
You can use the -verbose switch to see the executed toolchain commands.
Formatting rules for the text file are fairly straight-forward though
there are a large number of "tags" used. The tags are much simpler than
HTML or XML tags; the purpose of ASCIIdoc is to let you concentrate on
text entry, not on tag entry and formatting.
Formatting text follows simple rules.
Emphasized text is enclosed in single quotes: 'emphasized'
Strong text (usually bold) in enclosed in asterisks: *strong*
Monospaced text is enclosed in backtick characters: `monospaced`
Quoted text is enclosed in doublee-quotes: "quoted"
- quoted text must not be flanked by alphanumeric characters
- quoting cannot be overlapped
- different quoting types can be nested
- to suppress quoted text formatting, place a backslash character before
the leading quote character(s). In the case of ambiguity between escaped
and non-escaped text you will need to escape both leading and trailing
quotes, in the case of multi-character quotes you may even need to escape
individual characters.
Put carets on either side of text to be superscripted: ^super^
Put tildes on either side of text to be subscripted: ~sub~
By default, tabs are replaced by 8 spaces. This can be over-ridden.
The following replacements are defined in the default AsciiDoc configuration:
(C) copyright, (TM) trademark, (R) registered trademark, ~-- em dash,
... ellipsis.
Line breaks (HTML/XHTML) are forced by a space followed by the "+" character
at the end of a line.
Rulers (HTML/XHTML) are generated by a line of three or more apostrophe
characters.
Headers consist of titles, equal signs, an author line, and a date line,
like this:
This Is A Title
{{{===============}}}
John Doe
v0.1 April 2006
There are five regular section levels supported. Book documents can have
level 0 sections; all documents can have level 1 through 4 sections.
Section levels are delineated by the section titles, which can either be
one-line or two-line titles:
One Line:
The number of equals signs (=) indicate the section level:
= Document Title (level 0)
== Section Title (level 1)
=== Section Title (level 2)
==== Section Title (level 3)
===== Section Title (level 4)
Two Lines:
Two-line titles consist of a title line (starting against the left margin),
and an underline. Section underlines consist of different underline
characters spanning the width of the title line:
=== Level 0 (top)
~--- Level 1
~~~ Level 2
^^^ Level 3
+++ Level 4
Paragraphs are delimited by a blank line, the end of the file, or the start
of a DelimitedBlock.
ASCIIdoc supports a wide range of other formatting codes, such as numerous
block styles, lists, paragrasph styles, callouts, and on and on. For all of
the features and codes, read the main manual that comes with the package
~--chances are that what you need is already there.
For working examples see the article.txt and book.txt documents in the
AsciiDoc ./doc distribution directory.
The asciidoc(1) command has a ~--help option which prints help topics to
stdout. The default topic summarizes asciidoc(1) usage:
$ asciidoc ~--help
To print a list of help topics:
$ asciidoc ~--help=3Dtopics
To print a help topic specify the topic name as a command argument.
Examples:
$ asciidoc ~--help=3Dmanpage
$ asciidoc ~--help=3Dsyntax
Here is a rundown of some of the more common items you may need.
AsciiDoc can process UTF-8 character sets but there are some things you
need to be aware of:
* Admonition captions, example block title prefixes, table title prefixes
and image block title prefixes default to English. You can customise
these captions and prefixes with the caption attribute. Alternatively
you could override the related AsciiDoc configuration file entries with
a custom configuration file.
Note: The caption attribute only applies if you are using the xhtml11
or html4 backends - if you are going the DocBook route you will
need to configure the XSL Stylesheets for your language.
* Some character sets display double-width characters (for example
Japanese). As far as title underlines are concerned they should be
treated as single character. If you think this looks untidy so you may
prefer to use the single line title format.
ListingBlocks are rendered verbatim in a monospaced font, they retain line
and whitespace formatting and AsciiDoc User Guide often distinguished by a
background or border. There is no text formatting or substitutions within
Listing blocks apart from Special Characters and Callouts. Listing blocks
are often used for code and file listings.
Here's an example:
~--------------------------------------
#include
int main() {
printf("Hello World!\n");
exit(0);
}
~--------------------------------------
A sidebar is a short piece of text presented outside the narrative flow of
the main text. The sidebar is normally presented inside a bordered box to
set it apart from the main text.
The sidebar body is treated like a normal section body.
Here's an example:
An Example Sidebar
************************************************
Any AsciiDoc SectionBody element (apart from
SidebarBlocks) can be placed inside a sidebar.
************************************************
The contents of CommentBlocks are not processed; they are useful for
annotations and for excluding new or outdated content that you don't want
displayed. Here's an example:
//////////////////////////////////////////
CommentBlock contents are not processed by
asciidoc(1).
//////////////////////////////////////////
ExampleBlocks encapsulate the DocBook Example element and are used for,
well, examples. Example blocks can be titled by preceding them with a
BlockTitle. DocBook toolchains normally number examples and generate a
List of Examples backmatter section.
Example blocks are delimited by lines of equals characters and you can put
any block elements apart from Titles, BlockTitles and Sidebars) inside an
example block. For example:
An example
{{{=======================================================================}}}
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens.
{{{=======================================================================}}}
The ExampleBlock definition includes a set of admonition styles (NOTE, TIP,
IMPORTANT, WARNING, CAUTION) for generating admonition blocks (admonitions
containing more than just a simple paragraph). Just precede the ExampleBlock
with an attribute list containing the admonition style name. For example:
[NOTE]
A NOTE block
{{{=======================================================================}}}
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens.
Fusce euismod commodo velit.
Vivamus fringilla mi eu lacus.
. Fusce euismod commodo velit.
. Vivamus fringilla mi eu lacus.
Donec eget arcu bibendum
nunc consequat lobortis.
{{{=======================================================================}}}
Bulleted list items start with a dash or an asterisk followed by a space or
tab character. Bulleted list
syntaxes are:
- List item.
* List item.
Numbered list items start with an optional number or letter followed by a
period followed by a space or tab character. List numbering is optional.
Numbered list syntaxes are:
Integer numbered list item.
1. Integer numbered list item with optional numbering.
. Lowercase letter numbered list item.
a. Lowercase letter numbered list item with optional numbering.
AsciiDoc comes pre-configured with a labeled list (:- label delimiter) for
generating DocBook glossary lists. Example:
A glossary term:-
The corresponding definition.
A second glossary term:-
The corresponding definition.
AsciiDoc comes with a predefined itemized list (+ item bullet) for
generating bibliography entries.
Example:
+ [[[taoup]]] Eric Steven Raymond. 'The Art of UNIX Programming'.
Addison-Wesley. ISBN 0-13-142901-9.
+ [[[walsh-muellner]]] Norman Walsh & Leonard Muellner. 'DocBook - The
Definitive Guide'. O'Reilly & Associates. 1999. ISBN 1-56592-580-7.
The [[[]]] syntax is a bibliography entry anchor, it generates
an anchor named and additionally displays [] at
the anchor position. For example
[[[taoup]]] generates an anchor named taoup that displays [taoup] at the
anchor position. Cite the reference from elsewhere your document using
<>, this displays a hyperlink ([taoup]) to the corresponding
bibliography entry anchor.
The shipped AsciiDoc configuration includes the footnote:[] inline
macro for generating footnotes. The footnote text can span multiple lines.
Example footnote:
A footnote footnote:[An example footnote.]
Footnotes are primarily useful when generating DocBook output -
DocBook conversion programs render footnote outside the primary text flow.
The shipped AsciiDoc configuration includes the inline macros for generating
document index entries.
indexterm:[,,] ,
++,,++ ,
This inline macro generates an index term (the and
attributes are optional).
For example indexterm:[Tigers,Big cats] (or, using the alternative syntax
++Tigers,Big cats++. Index terms that have secondary and tertiary entries
also generate separate index terms for the secondary and tertiary entries.
The index terms appear in the index, not the primary text flow.
indexterm2:[] , ++ ,
This inline macro generates an index term that appears in both the index and
the primary text flow.
The should not be padded to the left or right with white space
characters.
Two AsciiDoc inline macros are provided for creating hypertext links within
an AsciiDoc document. You can use either the standard macro syntax or the
(preferred) alternative.
anchor
Used to specify hypertext link targets:
[[,]]
anchor:[]
The is a unique identifier that must begin with a letter. The optional
is the text to be displayed by captionless xref macros that refer
to this anchor. The optional is only really useful when
generating DocBook output. Example anchor:
[[X1]]
You may have noticed that the syntax of this inline element is the same as
that of the BlockId block element, this is no coincidence since they are
functionally equivalent.
xref
Creates a hypertext link to a document anchor.
<<,>>
xref:[]
The refers to an existing anchor . The optional is the
link's displayed text. If is not specified then the , enclosed
in square brackets, is displayed. Example:
<>
Inline images are inserted into the output document using the image macro.
The inline syntax is:
image:[]
The contents of the image file is displayed. To display the image
it's file format must be supported by the target backend application. HTML
and DocBook applications normally support PNG or JPG files.
file name paths are relative to the location of the referring
document.
Tables are the most complex AsciiDoc elements; read the (long) Tables
section in the main document. AsciiDoc generates nice HTML tables, but the
current crop of DocBook toolchains render tables with varying degrees of
success. Use tables only when really necessary.
MANPAGE DOCUMENTS
Sooner or later, you may need to write a man page. By observing a couple
of additional conventions you can compose AsciiDoc files that will translate
to a DocBook refentry (man page) document. The resulting DocBook file can
then be translated to the native roff man page format (or other formats).
For example, the asciidoc.1.txt file in the AsciiDoc distribution ./doc
directory was used to generate both the asciidoc.1.css-embedded.html HTML
file the asciidoc.1 roff formatted asciidoc(1) man page.
Document Header
A document Header is mandatory. The title line contains the man page
name followed immediately by the manual section number in brackets, for
example ASCIIDOC(1). The title name should not contain white space and
the manual section number is a single digit optionally followed by a
single character.
The NAME Section
The first manpage section is mandatory, must be titled NAME and must
contain a single paragraph (usually a single line) consisting of a list
of one or more comma separated command name(s) separated from the command
purpose by a dash character. The dash must have at least one white space
character on either side. For example:
printf, fprintf, sprintf - print formatted output
The SYNOPSIS Section
The second manpage section is mandatory and must be titled SYNOPSIS.


what
responsively.js is a small, open-source JavaScript micro-library designed to help solve responsive design problems.
It is designed to work well with sites that use client-side templates (handlebars.js, mustache, ...). It is not intended to replace
more traditional responsive design techniques (media queries, grids, ...) -- it should be used as a tool to solve specific responsive
design problems that are not easily handled using traditional techniques alone.
responsively.js commonly can be helpful in two situations:
-
When content needs to be displayed differently based on the content dimensions rather than device dimensions.
For example, content adjacent to abnormally large content might need to be displayed differently so that both pieces of content can still fit next to each other.
-
Continuous device sizes.
Unlike media queries, which typically have specific resolution breakpoints, responsively.js will apply rules progressively when the content does not fit.
download
From Git:
git clone git://github.com/responsively/responsivelyjs.git
From Bower:
bower install responsively
usage
modules
responsively.js supports AMD-style modules. If not used as an AMD module, it will expose a responsively variable on the global window object.
responsively and renderer objects
responsively is a singleton function object which is invoked with a single options parameter. This returns a renderer instance which has the following properties:
-
render()
This causes the renderer to execute and process its rules.
-
update()
This updates the DOM that renderer is managing in-place. This is useful when a region of the screen needs to be dynamically updated and re-fit.
-
level
This returns the current level that the renderer has rendered to. This can be used to determine if something needs to be rendered in another way because it couldn't
fit into this renderer's parent element. For example, if you remove a "hints" element at level 2, and the renderer is at level 2, you know that
the "hints" element has been removed and might need to be displayed elsewhere on the page.
responsively options
The options object has the following options:
-
parentstring (selector) or jQuery object
This is the root element that is to be rendered.
-
constrainstring (selector), optional
Normally responsively.js attempts to constrain to the height and width of the parent element. If constrain is specified, it will constrain to the height and width of a
element matched by the constrain selector. This selector is relative to parent.
-
heightinteger (pixels), optional
Responsively will keep applying levels until the height of the parent (or constrain element, if specified) is less than or equal to the
specified height. This option is useful if the parent / constrain element do not have a fixed height.
-
innerstring (html), optional
The parent's inner HTML will be set to this string. The string is typically the output of a template.
-
outerstring (html), optional
The parent's outer HTML will be set to this string. The string is typically the output of a template. If the string is set to null, then the outer element will
be removed from the DOM. If both inner and outer are both specified, outer is applied first, then
inner.
-
menuobject (menu options)
This is an object which defines a top-level menu. The menu is drawn using Twitter Bootstrap dropdown conventions:
-
astring (selector), required
The menu will be rendered inside the element that this selector refers to. This selector is relative to parent.
-
overflowobject (overflow options)
This is an object which defines an overflow menu. responsively.js will progressively slide menu options into the overflow dropdown menu if there is not enough room to
display all of the top-level menu options at one time. This is similar to how if you resize a default Twitter Bootstrap site down to a small size, it will move all of the
top-level menu items into an overflow dropdown. responsively.js enhances this behavior by progressively migrating menu items into the dropdown -- no more "all or nothing".
responsively.js also allows top-level menus to degrade to showing only icons instead of icons & labels as well.
-
limitint
This specifies the maximum number of options which should be displayed on the top-level menu before moving options to the overflow menu.
-
All standard menu item options are also available. These define the appearance of the top-level overflow menu item itself.
-
itemsarray ('-', '|', and menu item options)
This is an array which contains a list of top-level menu items to display. A '-' means to insert a menu separator while a
'|' specifies that any following options should be forced into the overflow dropdown menu. An object means that it is
a menu item options object:
-
hideboolean, optional
The menu item will not be rendered if this is set.
-
elementhtml tag name, optional
Each menu item will be wrapped in the element specified. It defaults to 'li'. If you would like no wrapping element to be created,
specify null or an empty string.
-
labelstring, optional
The label for the menu item. A menu item should have either a label, icon, or label and icon defined.
-
iconstring, optional
If specified, this should be a set of classes for an icon to be added to the menu item. For example, 'glyphicon glyphicon-search'
(Glyphicons search icon) or 'fa fa-calendar' (Font Awesome calendar icon).
-
hrefurl, optional
This specifies the href for the menu item link.
-
targeturl, optional
This specifies the target for the menu item link. Menu items default to no target.
-
classesstring, optional
This specifies any extra classes to be added to the menu item's class attribute.
-
stylestring, optional
This specifies the style attribute for the menu item.
-
extrastring, optional
This allows you to add arbitrary HTML to the menu item opening tag. For example, to add "data-" or "ng-" attributes.
-
rulesarray (rule options)
This is an array which contains a list of rules to progressively apply. Each rule is its own options object:
-
whenboolean, optional
If this option is present and evalutes to false, this rule will be skipped. Typically when will be a function that returns a boolean.
-
levelinteger (level), optional
-
astring (selector), required by inner, outer, css, addClass, removeClass, and hide
This sets the anchor for this rule to the specified selector. This selector is relative to parent.
-
fnfunction, optional
This function is simply evaluated whenever this rule triggers. The return value is not used.
-
innerstring (html), optional
The anchor's inner HTML will be set to this string. The string is typically the output of a template.
-
outerstring (html), optional
The anchor's outer HTML will be set to this string. The string is typically the output of a template. If the string is set to null, then the outer element will
be removed from the DOM. If both inner and outer are both specified, outer is applied first, then
inner.
-
cssobject (css properties), optional
The given CSS properties will be applied to the anchor. The css properties should be a JSON object containing css property name: css property value bindings.
-
addClassstring (css class name), optional
The given CSS class properties will be added to the anchor.
-
removeClassstring (css class name), optional
The given CSS class properties will be removed from the anchor.
-
hideboolean, optional
The element a will be hidden (display: none).
-
menuLimitint, optional
This changes the maximum number of menu items which will be shown on the top-level menu before overflowing to the overflow dropdown.
-
menuIconsboolean, optional
If set, this forces menu items to drop the labels and only show menu icons.
Note: All options can also be functions. If a function is found, it will be invoked and the return value of the function will be used as the final value.
how it works
responsively.js first renders the parent outer and inner properties (if present). It then executes all level 0 rules in the
rules array.
If the content does not fit, it will then keep moving up levels and applying rules at that level until the content fits or it runs out of levels.
Rules should be written to gradually remove and/or rewrite content so that the content will fit as size becomes more constrained (either due to smaller devices
or larger content elements).
This rendering is done effectively "desktop-first" because this ensures that the algorithm never needs to backtrack. The rendering is done off-screen to increase performance and
reduce screen flicker. Possibly in the future render decisions can be cached to speed rendering further.
Multiple renderers can be used on the same page to manage different elements.
dependencies
responsively.js depends on jQuery 1.9 or later.
example
responsively({
parent: '.banner',
inner: template( 'bannerTemplate' ),
menu: {
a: '#menuPlaceholder', // menuPlaceholder should exist inside the output of template( 'bannerTemplate' ) in this example
overflow: {
label: 'More',
icon: 'fa fa-wrench'
},
items: [
{
label: 'Users',
href: '#users',
icon: 'fa fa-user'
},
{
label: 'Document',
href: '#documents',
icon: 'fa fa-file'
},
{
label: 'Help',
href: '#help',
icon: 'fa fa-help'
}
]
},
rules: [
{
// this will be called on the initial render, since it has no level, it is level 0. Level 0 is always called.
fn: function() {
view.initControls();
}
},
{
// remove hints if we are out of room
level: 1,
a: '.hints',
hide: true
},
{
level: 1, // this will be applied at the same time the preceding rule is, since they have the same level
fn: function() {
...
}
},
{
level: 2,
a: '.saveBtn',
inner: function() { return template( 'labellessSaveBtn' ); },
menuIcons: true
},
{
level: 3,
a: '.saveBtn',
css: {
'font-size': '12px'
}
}
]
}).render();
license
responsively.js is licensed under the
MIT License.


Run the Python app in your desktop or server.
Download from GitHub, or from your command line:
$ git clone https://github.com/bkdevtoronto/1882-Bot
Download PRAW (Python reddit API Wrapper):
$ pip install praw
Open up praw.ini
to add in the following:
If you don't have an app, you can create one by visiting reddit/prefs/apps. Ensure it is created as a script type in your bot's account.
Finally, open up the configuration file at config.py
where you can add your bot's details, sub details, and turn on and off features.
You can even customise the messages, flairs and other actions that 1882-Bot takes.
Use the Config File Generator


Press n or j to go to the next uncovered block, b, p or k for the previous block.
| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| complex-js |
|
0% | 0/125 | 0% | 0/1 | 0% | 0/56 | 0% | 0/125 |
| complex-js/compiler |
|
0% | 0/138 | 0% | 0/19 | 0% | 0/32 | 0% | 0/128 |
| complex-js/functions |
|
1.26% | 5/397 | 1.83% | 3/164 | 3.03% | 1/33 | 1.26% | 5/397 |
| complex-js/internal |
|
25% | 2/8 | 20% | 4/20 | 25% | 1/4 | 25% | 2/8 |
| complex-js/methods |
|
2.54% | 6/236 | 1.92% | 2/104 | 3.57% | 1/28 | 2.56% | 6/234 |


Passionate, driven Air Force veteran who loves Linux, cybersecurity and IT Operations. My time with the Air Force has taught me the importance of integrity and service before self, it has helped me excel in all positions and teams since.
Responsible for all Patching/maintenance and logging/monitoring solutions for METECS corporate offices as well as bash scripting and sysadmin work for NASA’s RFID-enabled Autonomous Logistics Management (REALM) service for the International Space Station
Corporate duties: Patching/maintenance of (primarily) Linux servers, break/fix for developers, implementing centralized logging, Nagios for monitoring/alerting, defense-in-depth planning and implementation with METECS IT team. DevOps project work using Jira, AWS EC2 server management, IAM, and security auditing through CloudTrail, ScoutSuite, and Greenbone Vulnerability Manager.
NASA Project Work: Logging/Monitoring for REALM server/network infrastructure and embedded readers aboard the ISS. Python/Bash log automation solutions to increase situational awareness of the REALM team. Linux OS Development work for embedded readers: custom systemd services, bug-fixing and feature implementation for existing scripts, primarily Bash/python3.
Primary project: implementing an encrypted file share solution to protect sensitive data and ensure compliance with FERPA and university security controls. Creating Systems documentation for server maintenance, encryption key management, and Service Desk documentation for end-user support and user experience.
Additional Duties: Writing PowerShell scripts to cleanup and automate management of our Active Directory service. Working with our cybersecurity policies analyst to ensure project and division compliance with A&M security controls.
Resolved tickets submitted to agency Helpdesk, in ServiceNow, hardware/software troubleshooting. Extensive use of SCCM, Active Directory and OU memberships / security groups. Heavily focused on CAC / certificates / encryption issues for active duty service members and civilian contractors supporting A&M’s Corps of Cadets. Created multiple ServiceNow knowledge base articles for standard processes, worked with systems team to automate configuration changes needed for Corps support staff via group policy and OS imaging.
Worked with leadership in creating and establishing a training agenda for new airmen and transitioning airmen from aircraft using different avionics systems. Trained ten new and incoming avionics apprentices in advanced troubleshooting and maintenance skills on communications, navigations and electronic warfare systems, leading to 10 of 10 apprentices obtaining journeyman licensure.
Expert in aircraft avionics systems including communications, navigation, and electronic warfare. Worked independently and as part of a small, focused team to troubleshoot and maintain electrical systems. Integral to 500+ US Air Force missions generated during this time frame.
Installed and troubleshot home satellite TV systems. Awarded employee of the month 5 times in 22 months. Regularly created new home cable outlets, installed wall-mounted TVs and surround sound systems for customers.
Worked with customers to resolve technical support issues from A/V cabling and remote control operations to connectivity issues.
In my free time I'm an avid reader, photographer, hiker and traveler. I'm a huge fan of astrophotography and the stars in general. When indoors I love learning new things, listening to music, and studying history.
Chosen by A&M's Student Spotlight committee to share my story as a non-traditional student, you can read the article on my Student Spotlight page.
First ever recipient of the Division of Student Affairs, Department of IT Stellar Student award. Given the honor creating the award description and choosing the traveling trophy that will pass from winner to winner.


Antec Announces An Improved DP501 White Chassis
by Mike SandersWe are more than a little familiar with the Antec DP501 chassis design. We did, after all, recently see it utilized within the Novatech Elite Sentinel gaming PC system of which you can check out our review via the link here!
If there was one criticism to be made of the chassis, however, it was that in terms of aesthetics, it was a little bland. It seems though that Antec may have been listening though as following a brand new updated release, Antec is now offering the case in a new and improved stylish white design.
Antec DP501 White
Now, you might at this point be wondering if there are any other changes (except the colouring) between this and the prior model. The good news is that there are some legitimate upgrades.
For example, the prior acrylic side panel has now been upgraded to tempered glass. This includes additional support added to the overall chassis design to compensate for the additional weight.  Minor touches yes, but in our eyes quite significant improvements.
What Does Antec Have to Say?
“DP501 White is the first gaming case of another Antec new gaming series – Dark Phantom. As the Original Dark Phantom, DP501 White exudes a beautiful simplicity and provides fair room for high-end components and cooling system. The design is simple but not flashy. Even though, we still make every detail perfect with effort. The ARGB blade front panel design reflects the simplicity of DP501 White. It is also a perfect choice for gamers who don’t want fancy elements.”
What Do We Think?
While the changes sound rather basic, on the whole, they do (at least to us) make quite a substantial difference in improving some of the weakest areas of the original DP501’s design. Namely, that it wasn’t particularly eye-catching in the rather bland black and, let’s face it, acrylic isn’t nice.
With a price of around £60-70 as well, it doesn’t even cost any notably more than the original black models. As such, unless you really don’t like the white, there’s no good reason why you wouldn’t choose this updated release.
For more information, you can check out the official product website via the link here!
What do you think? Do you like the design and aesthetics of this chassis? – Let us know in the comments!


OTPCL meta-commands.
These commands all pertain to modifying the OTPCL interpreter's execution state/environment from within an OTPCL program; if you intend for your OTPCL-based DSL or what have you to be Turing-complete, this would be the module to either import or reimplement (and likewise, if you don't want your OTPCL-based DSL or what have you to be Turing-complete - e.g. for restricted/safe configuration files - this would be the module to exclude).funs() = map()
vars() = map()
| 'CMD_apply'/2 | Executes the specified command or function with the given arguments (if any). |
| 'CMD_cmd'/2 | Gets or sets the definition for the given command. |
| 'CMD_get'/2 | Get the value of the named variable. |
| 'CMD_import'/2 | Imports commands from an Erlang module. |
| 'CMD_set'/2 | Set the value of the named variable. |
| 'CMD_subcmd'/2 | Returns a subcommand dispatcher. |
| 'CMD_unset'/2 | Unset the named variable, as if it never existed. |
| 'CMD_use'/2 | Creates a command representing a module. |
| 'CMD_var'/2 | Get (and optionally set) the named variable. |
| apply/3 | |
| cmd/2 | |
| cmd/3 | |
| get/2 | |
| import/2 | |
| import/3 | |
| set/3 | |
| subcmd/2 | |
| unset/2 | |
| use/2 | |
| use/3 | |
| var/2 | |
| var/3 |
'CMD_apply'(Args, State) -> any()
Executes the specified command or function with the given arguments (if any).
If a function, assumes it's able to operate as an OTPCL command (that is: it's a 2-arity function that takes a list of arguments and a state). Ifpure
precedes the function, instead assumes that the
function is meant to be an ordinary Erlang function and is "wrapped"
(i.e. the input state and output state are identical, aside from a
different $RETVAL
).
'CMD_cmd'(Args, State) -> any()
Gets or sets the definition for the given command.
First argument is the command name. Second argument is either a
function (i.e. the kind produced via fun
in Erlang or OTPCL; this
function should be a 2-arity function accepting a list of arguments
and an OTPCL state) or the argument list for the first of one or
more pairs of argument lists and command bodies. Like Erlang
functions, OTPCL commands support multiple definitions via pattern
matching; unlike Erlang functions, they lack a concept of "arity",
and also do not currently support guards (though this will hopefully
be fixed in future versions of OTPCL).
If no argument is passed to cmd
after the command name, cmd
will
instead return the Erlang function backing that command.
'CMD_get'(X1, X2) -> any()
Get the value of the named variable.
Mostly useless from within OTPCL, but quite handy when manipulating OTPCL states from within Erlang or some other situation external to OTPCL.'CMD_import'(Names, State) -> any()
Imports commands from an Erlang module.
Will import either all commands (if only a module name is provided)
or specifically-named commands (if any are passed after the module
name). If an exported function's name starts with CMD_
, import
will treat that function as a proper state-altering OTPCL command
named after whatever follows that prefix (e.g. CMD_foo
becomes
foo
). Otherwise, import
will treat that function as an ordinary
Erlang function, creating an OTPCL command with the same name.
To summarize:
import foo # imports everything in module foo import foo bar baz # imports only bar and baz from foo
It's usually preferable to choose use
over import
, since use
avoids namespace clashes. Both mechanisms are provided, though, for
those who prefer brevity.
'CMD_set'(X1, X2) -> any()
Set the value of the named variable.
'CMD_subcmd'(Args, State) -> any()
Returns a subcommand dispatcher. The resulting function (when set as a command) will treat the first argument as a subcommand name, look it up against an internal dictionary of subcommand names, and execute the corresponding subcommand function.
Note that this is not strictly necessary in order to implement commands that use the subcommand pattern; OTPCL, like any good child of Erlang, will happily let you do the same thing ahead-of-time by allowing you to specify multiple argument specs and pattern match against the subcommand names.subcmd
is more intended for dynamic
generation of subcommand dispatchers (e.g. for the use
command in
this very module). There's certainly nothing stopping you from
using subcmd
instead of / in addition to ahead-of-time pattern
matching, though.
'CMD_unset'(X1, X2) -> any()
Unset the named variable, as if it never existed.
'CMD_use'(X1, State) -> any()
Creates a command representing a module.
The generated command will dispatch subcommands against the list of exported functions in the module (i.e. each function becomes a subcommand of the final command). To summarize:
use foo # create command foo with foo's funs as subcommands use foo as bar # create command bar with foo's funs as subcommands(Warning for "stringy" interpreter users: this command dynamically creates atoms!)
'CMD_var'(X1, X2) -> any()
Get (and optionally set) the named variable.
If setting a new value for an existing variable, this will return the old value (else, it'll returnok
).
apply(Fun, Args, State) -> any()
cmd(Name, State) -> any()
cmd(Name, Body, State) -> any()
get(Name, State) -> any()
import(Name, Exports, State) -> any()
set(Name, Value, State) -> any()
subcmd(Args, State) -> any()
unset(Name, State) -> any()
use(Name, State) -> any()
use(Name, Alias, State) -> any()
var(Name, State) -> any()
var(Name, Value, State) -> any()
Generated by EDoc


State grains
WHEAT (BU): .00 to .01 higher. 3.47-4.05.
Davis 3.47; Frederick, Hooker 3.86; Hobart, Keyes 3.91; Lawton, Temple
3.94; Buffalo 3.98; Clinton 4.00; Eldorado, Manchester, Okeene, Shattuck
4.01; Cherokee 4.02; Perry, Stillwater, Weatherford 4.03; Medford, Ponca
City 4.04; Alva, Banner, El Reno, Geary, Okarche, Watonga 4.05; Gulf
5.26.
MILO (CWT): .05 to .07 lower. 5.36-5.84.
Eldorado N/A; Buffalo 5.36; Alva 5.54; Ponca City, Weatherford 5.57;
Medford, Shattuck 5.64; Manchester 5.66; Keyes, Lawton 5.75; Hobart,
Hooker 5.84.
SOYBEANS (BU): .06 to .07 lower. 7.65-8.30.
Hooker 7.65; Shattuck 7.95; Buffalo 8.00; Weatherford 8.13; Manchester
8.15; Alva 8.18; Medford 8.26; Ponca City 8.28; Stillwater 8.30; Gulf
N/A.
CORN (BU): .03 to .04 lower. 3.42-3.82.
Lawton 3.42; Manchester, Medford, Ponca City 3.50; Weatherford 3.69;
Shattuck 3.76; Keyes 3.77; Hooker 3.82; Gulf 4.19 1/4.
Grade 41, Leaf 4, Staple 34 Cotton in Southwestern Oklahoma average
58.78 cents per pound.
Source: Oklahoma Dept of AG-USDA Market News


Paqueta then Coutinho: Brazil's two great goals against Korea
by BeSoccerBrazil opened the scoring after just nine minutes against South Korea, with a good header from Paqueta. Coutinho then made it two thanks to a great free-kick which went into the top corner.
In the first half of the encounter between Brazil and South Korea, Brazil showed their quality and attacking threat against a South Korean side who could not hit on the target. Alisson had next to nothing to do early on.
After just nine minutes of the fame, Coutinho, with the ball at his boots, cut inside the box, laid it off for Renan Lodi with a pass with the inside of his foot and Paqueta headed his cross brilliantly past goalkeeper Cho Hyun-Woo.
Featured links
- Pochettino sacked as Tottenham manager
- The latest football transfers news and rumours
- Who has the most free-kicks goals: Messi or Cristiano?
- Luis Enrique returns to Spain national team
Before the end of the first half, Bayern's Philippe Coutinho hit a lovely free-kick to double Brazil's lead.
The 27 year-old striker placed the ball near the corner of the Korean box and he hit a sweet strike with his right foot in the top left hand corner of the goal. It was an absolute stunner by Coutinho.


Patient Medical Record
Personal Information
Medical Information
Financial Information
Biometric
Validate
First Name
*
Middle Name
Last Name
*
Gender
Male
Female
Other
Date of Birth
Parent/Guardian Name
Marital Status
*
Married
Unmarried
Spouse Name
Number of Children(if any)
Contact Number
*
Phone Type
Mobile
Home
Alternate Phone
City
*
State
*
Rajasthan
Tamil Nadu
Uttar Pradesh
Permanent Address
*
Address
City
Postal Code
Email
*
Education Details
*
Add Education Details.
Education
Continue
Emergency Contact
Name
Phone
Address
Medical Information
Height
Weight
Blood Group
Family Health History
Medical History
Allergies
Surgeries
Vaccines
Insurance Information
Insurance Provider
Group Name
Address
Policy Name
Continue
Occupation
Company Name
Employee ID
Worked Since
Office Address
Office Phone
Annual Income
PAN Number
Governmental Schemes Enrolled (if any)
Bank Information
Account Holder Name
Account Number
Bank Name
IFSC Code
Branch
Bank Address
Bank State
Bank District
Continue
Biometric Input
Continue
Success:
Entry Successful!


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.expr.Tokenizer
Tokenizer for expressions and inputs. This code was originally derived from James Clark's xt, though it has been greatly modified since. See copyright notice at end of file.
| Field Summary | |
static int |
AND
Operator "and" |
static int |
ASSIGN
":=" symbol (XQuery only) |
static int |
AT
At token, "@" |
static int |
ATTRIBUTE_QNAME
composite token <'attribute' QNAME> (XQuery only) |
static int |
AXIS
Token representing the name of an axis and the following "::" symbol |
static int |
BARE_NAME_STATE
State in which a name is NOT to be merged with what comes next, for example "(" |
static int |
CASE
Keyword "case" |
static int |
CAST_AS
operator "cast as" |
static int |
CASTABLE_AS
operator "castable as" |
static int |
COLONCOLON
"::" symbol |
static int |
COLONSTAR
":*" symbol |
static int |
COMMA
Comma token |
int |
currentToken
The number identifying the most recently read token |
int |
currentTokenStartIndex
The position in the input expression where the current token starts |
java.lang.String |
currentTokenValue
The string value of the most recently read token |
static int |
DECLARE_BASEURI
"declare base-uri" |
static int |
DECLARE_DEFAULT
"declare default" |
static int |
DECLARE_FUNCTION
"define function" |
static int |
DECLARE_NAMESPACE
"declare namespace" |
static int |
DECLARE_VALIDATION
"declare validation" |
static int |
DECLARE_VARIABLE
"define variable" |
static int |
DECLARE_XMLSPACE
"declare xmlspace" |
static int |
DEFAULT
Keyword "default" |
static int |
DEFAULT_STATE
Initial default state of the Tokenizer |
static int |
DIV
Operator "div" |
static int |
DOLLAR
"$" symbol |
static int |
DOT
"." symbol |
static int |
DOTDOT
".." symbol |
static java.util.HashMap |
doubleKeywords
Lookup table for composite (two-keyword) tokens |
static int |
ELEMENT_QNAME
composite token <'element' QNAME> (XQuery only) |
static int |
ELSE
Keyword "else" |
static int |
EOF
Pseudo-token representing the end of the expression |
static int |
EQUALS
Equals token ("=") |
static int |
EVERY
Keyword "every" |
static int |
EXCEPT
Operator "except" |
static int |
FEQ
operator "eq" |
static int |
FGE
operator "ge" |
static int |
FGT
operator "gt" |
static int |
FLE
opeartor "le" |
static int |
FLT
operator "lt" |
static int |
FNE
operator "ne" |
static int |
FOLLOWS
Operator ">>" |
static int |
FOR
"for" keyword |
static int |
FUNCTION
Token representing the name of a function and the following "(" symbol |
static int |
GE
Operator ">=" |
static int |
GT
Operator ">" |
static int |
IDIV
operator "idiv" |
static int |
IF
Keyword "if" |
static int |
IMPORT_MODULE
"import module" |
static int |
IMPORT_SCHEMA
"import schema" |
static int |
IN
Keyword "in" |
java.lang.String |
input
The string being parsed |
int |
inputIndex
The current position within the input string |
static int |
INSTANCE_OF
operator "instance of" |
static int |
INTERSECT
Operator "intersect" |
static int |
IS
Operator "is" |
static int |
KEYWORD_CURLY
composite token: |
java.lang.String |
lastPragma
|
static int |
LCURLY
"{" symbol (XQuery only) |
static int |
LE
Operator "<=" |
static int |
LET
"let" keyword (XQuery only) |
static int |
LPAR
Left parenthesis |
static int |
LSQB
Left square bracket |
static int |
LT
Operator "<" |
static int |
MINUS
Binary minus operator |
static int |
MOD
Operator "mod" |
static int |
MODULE_NAMESPACE
"module namespace" |
static int |
MULT
Multiply operator, "*" when used in an operator context |
static int |
NAME
Name token (a QName, in general) |
static int |
NE
Operator "!=" |
static int |
NEGATE
Unary minus sign |
static int |
NODEKIND
Node kind, e.g. |
static int |
NUMBER
Numeric literal |
static int |
OPERATOR_STATE
State in which the next thing to be read is an operator |
static int |
OR
Operator "or" |
static int |
PI_QNAME
composite token <'pi' QNAME> (XQuery only) |
static int |
PLUS
Operator "+" |
static int |
PRECEDES
Operator "<<" |
static int |
PREFIX
"prefix:*" token |
static int |
QMARK
"?" symbol |
static int |
RCURLY
"}" symbol (XQuery only) |
boolean |
recognizePragmas
|
static int |
RETURN
Keyword "return" |
static int |
RPAR
Right parenthesis |
static int |
RSQB
Right square bracket |
static int |
SATISFIES
Keyword "satisfies" |
static int |
SEMICOLON
semicolon separator |
static int |
SEQUENCE_TYPE_STATE
State in which the next thing to be read is a SequenceType |
static int |
SLASH
Forwards "/" |
static int |
SLSL
Double forwards slash, "//" |
static int |
SOME
Keyword "some" |
static int |
STAR
"*" symbol when used as a wildcard |
static int |
STRING_LITERAL
String literal |
static int |
SUFFIX
"*:local-name" token |
static int |
TAG
"<" at the start of a tag (XQuery only). |
static int |
THEN
Ketword "then" |
static int |
TO
Operator "to" |
static java.lang.String[] |
tokens
The following strings are used to represent tokens in error messages |
static int |
TREAT_AS
operator "treat as" |
static int |
TYPESWITCH
Keyword "typeswitch" |
static int |
TYPETEST
"type(" |
static int |
UNION
"union" or "|" token |
static int |
UNKNOWN
Pseudo-token representing the start of the expression |
static int |
VALIDATE
Various compound symbols supporting XQuery validation expression |
static int |
VALIDATE_CONTEXT
|
static int |
VALIDATE_GLOBAL
|
static int |
VALIDATE_LAX
|
static int |
VALIDATE_SKIP
|
static int |
VALIDATE_STRICT
|
static int |
WHERE
Keyword "where" |
static int |
XQUERY_VERSION
"xquery version" |
| Constructor Summary | |
Tokenizer()
|
| Method Summary | |
int |
getLineNumber()
Get the line number of the current token |
int |
getState()
|
void |
lookAhead()
Look ahead by one token. |
void |
next()
Get the next token from the input expression. |
char |
nextChar()
Read next character directly. |
java.lang.String |
recentText()
Get the most recently read text (for use in an error message) |
void |
setState(int state)
|
void |
tokenize(java.lang.String input,
int start,
int end)
Prepare a string for tokenization. |
void |
treatCurrentAsOperator()
Force the current token to be treated as an operator if possible |
void |
unreadChar()
Step back one character |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DEFAULT_STATE
public static final int BARE_NAME_STATE
public static final int SEQUENCE_TYPE_STATE
public static final int OPERATOR_STATE
public static final int UNKNOWN
public static final int EOF
public static final int UNION
public static final int SLASH
public static final int AT
public static final int LSQB
public static final int LPAR
public static final int EQUALS
public static final int COMMA
public static final int SLSL
public static final int OR
public static final int AND
public static final int GT
public static final int LT
public static final int GE
public static final int LE
public static final int PLUS
public static final int MINUS
public static final int MULT
public static final int DIV
public static final int MOD
public static final int IS
public static final int DOLLAR
public static final int NE
public static final int INTERSECT
public static final int EXCEPT
public static final int RETURN
public static final int THEN
public static final int ELSE
public static final int WHERE
public static final int TO
public static final int IN
public static final int SOME
public static final int EVERY
public static final int SATISFIES
public static final int FUNCTION
public static final int AXIS
public static final int IF
public static final int PRECEDES
public static final int FOLLOWS
public static final int COLONCOLON
public static final int COLONSTAR
public static final int INSTANCE_OF
public static final int CAST_AS
public static final int TREAT_AS
public static final int FEQ
public static final int FNE
public static final int FGT
public static final int FLT
public static final int FGE
public static final int FLE
public static final int IDIV
public static final int CASTABLE_AS
public static final int ASSIGN
public static final int LCURLY
public static final int KEYWORD_CURLY
public static final int ELEMENT_QNAME
public static final int ATTRIBUTE_QNAME
public static final int PI_QNAME
public static final int TYPESWITCH
public static final int CASE
public static final int DEFAULT
public static final int XQUERY_VERSION
public static final int DECLARE_NAMESPACE
public static final int DECLARE_DEFAULT
public static final int DECLARE_VALIDATION
public static final int DECLARE_BASEURI
public static final int DECLARE_XMLSPACE
public static final int IMPORT_SCHEMA
public static final int IMPORT_MODULE
public static final int DECLARE_VARIABLE
public static final int DECLARE_FUNCTION
public static final int MODULE_NAMESPACE
public static final int VALIDATE
public static final int VALIDATE_STRICT
public static final int VALIDATE_LAX
public static final int VALIDATE_SKIP
public static final int VALIDATE_GLOBAL
public static final int VALIDATE_CONTEXT
public static final int SEMICOLON
public static final int NAME
public static final int STRING_LITERAL
public static final int RSQB
public static final int RPAR
public static final int DOT
public static final int DOTDOT
public static final int STAR
public static final int PREFIX
public static final int NUMBER
public static final int NODEKIND
public static final int FOR
public static final int SUFFIX
public static final int QMARK
public static final int TYPETEST
public static final int RCURLY
public static final int LET
public static final int TAG
public static final int NEGATE
public static java.lang.String[] tokens
public static java.util.HashMap doubleKeywords
public int currentToken
public java.lang.String currentTokenValue
public int currentTokenStartIndex
public java.lang.String input
public int inputIndex
public boolean recognizePragmas
public java.lang.String lastPragma
| Constructor Detail |
public Tokenizer()
| Method Detail |
public int getState()
public void setState(int state)
public void tokenize(java.lang.String input, int start, int end) throws XPathException.Static
input
- the string to be tokenizedstart
- start point within the stringend
- end point within the string (last character not read):
-1 means end of string
XPathException.Static
- if a lexical error occurs, e.g. unmatched
string quotespublic void next() throws XPathException.Static
XPathException.Static
- if a lexical error is detectedpublic void treatCurrentAsOperator()
public void lookAhead() throws XPathException.Static
XPathException.Static
- if a lexical error occurspublic char nextChar() throws java.lang.StringIndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException
- if an attempt is made to read beyond
the end of the string. This will only occur in the event of a syntax error in the
input.public void unreadChar()
public java.lang.String recentText()
public int getLineNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


|
|
| CStringOP (string S) |
| |
|
| CStringOP (string S, CRxnNetwork *R) |
| |
|
CStringOP & | operator= (const CStringOP &P) |
| |
|
| CStringOP (const CStringOP &P) |
| |
|
vector< string > | breakparents (string S) |
| |
|
vector< int > | breakops (string S) |
| |
|
|
vector< CStringOP > | terms |
| |
|
int | nterms |
| |
|
int | nopts |
| |
|
vector< int > | operators |
| |
|
bool | physical_ch |
| |
|
bool | constant |
| |
|
bool | parameter |
| |
|
bool | s_concentration |
| |
|
bool | concentration |
| |
|
bool | function |
| |
|
bool | s_block |
| |
|
bool | t_block |
| |
|
bool | a_block |
| |
|
double | value |
| |
|
int | number |
| |
|
int | phase |
| |
|
int | particle_type |
| |
|
string | expression |
| |
Definition at line 21 of file StringOP.h.
The documentation for this class was generated from the following files:


Order Demo REST API Service
GET /orders to see all the orders.
GET /orders?customer_name=Bob to see all of the orders with that customer_name.
GET /orders/{id} retrieves a order from the DB using an ID.
PUT /orders/{id} updates a order using an ID.
DELETE /orders/{id} removes a order from the DB using an ID.
POST /orders creates an new order.
POST /orders/{id} duplicates an existing order.
Example Data:
{
"customer_name": "Bob",
"amount_paid": 200
}
Try it now:
|


A blockchain is an ever-increasing list of records, called blocks.
These blocks are linked using cryptography.
Each block has a cryptographic hash of the previous block, a transaction, and timestamp.
Blockchain is the technology the underpins digital currencies such as Bitcoin, Ethereum and Ripple.
Blockchain allows digital info to be distributed, but does not allow it to be copied.
Each piece of data can only be in the possession of one person.
More InfoThis is a new term for the technological developments that are expected to bring computers into the physical environment that are without the need for human direction.
They will be freely-moving and capable of interacting with humans and other objects.
An example of an autonomous thing is the SGR-A1 sentry gun that was deployed to help South Korean troops protect the Korean Demilitarised Zone.
It is considered the first unit of its kind to have an integrated system that has voice recognition, surveillance, tracking, and firing.
An everyday example would be a vacuum cleaner that can navigate around a house autonomously to clean floors.

The perception is created by surrounding the user of the VR system by stimuli that create a convincing environment.
VR is most commonly used in entertainment applications such as video gaming and 3D cinema.
is the use of robots that are remotely controlled in dangerous environments such as space.
In psychology and social sciences, VR offers a cost-effective tool to study and replicate interactions in a controlled environment.
VR can be used to simulate surgical environments. VR provides cheap and risk-free medical training.
More Info


{title}
Current Version: {version}
Change log:
1.1:
Added multithreading capabilities
Added a built-in link for updates
Optimized Hack method in Ceasar Cipher
Created new Dictionary file (derived from Google ngrams) to avoid potential licensing issues
Added "Format" submenu in the options menu
1.0:
Made into package
Redesigned underlying code
Added Vigenègre Cipher
Added Hill Cipher
Added Simple Transposition Cipher
Fixed Playfair Cipher and Enigma Machine
Added a module to report bugs or contact me
0.3a1:
Redesigned user interface with PySide
0.2a1:
Added Playfair Cipher
Added Hide
Added null cipher
Added Enigma Machine
Added key options menu (Depreciated later in 0.3)
Made source code modular
0.1a2:
Added Substitution Cipher
0.1a1:
Created new tkinter-based GUI. (Depreciated later in 0.3)
0.0a1:
Combination of two previous projects:
Ceasar Cipher (2.0)
One-Time Pad Cipher (0.1)
To Do:
Find a way to fix problems with contact module
Fix bug where logo images don't show up after compiling installer
Fix bug in Playfair where letters coupled with the missing letter disappear
Figure out how to allow dynamic theme changes. This
PySide demo
seems to provide a good way. I'll try that.
The above link does not work as expected...
Make font option affect all text
Write Additional Ciphers. Suggestions Welcome. Tentative List:
Leet?
RSA
Affine Cipher


Home
Contact
WebVR
About
Enter 360
Desktop
: Keyboard (WASD/arrows) and mouse.
VR headset
: Hand controllers and teleport with trigger.
Mobile
: Gaze cursor and teleportation.


Refugee Lighthouse connects locals with refugees for simple
social interactions. This could be an afternoon coffee, walk in the park,
a visit to a museum or whatever your saturday afternoon brings you.
Our service connects two refugees with two locals that have similar profiles to form a group of four .
Interested in meeting some new people and doing your part to help our society to funciton as one? Why not answer a few questions to see if this is for you?
This application is still under development. Your will not receive any emails detailing a match. However please register and test our application. Your feedback is appreciated


In this lab you will be taken through the creation of the DB2 LUW Administrative Task Scheduler (ATS) module located under the menu entry:
If you have never worked or modified table definition within the Technology Explorer you should first start with the first tutorial of this workshop: 1. Customizing the TE. It will give you an overview of how you can customize the Technology Explorer.
The DB2 LUW Administrative Task Scheduler allows the DB2 server to perform administrative tasks at a predefined schedule, similar to a cron job on UNIX based systems. These tasks are performed against the database, independent of the Database Administration Server (DAS) functionality. Administrative tasks are limited to running only cataloged stored procedures.
In this lab you will:


Example: Before and After Events
Connect a gamepad to the computer, then press the Start and Select buttons and see the numbers update below.
Select pressed: 0 times.
Start pressed: 0 times.
This is achieved using the .before()
and .after()
event handlers.
And it can be really convenient in many situations: setting up timers, mimic a single press
instead of a continuous one, etc.
How it works
The .before()
and .after()
methods work in a similar way to how
.on()
does:
gamepad.before(EVENTNAME, CALLBACK);
gamepad.on(EVENTNAME, CALLBACK);
gamepad.after(EVENTNAME, CALLBACK);
These methods can be chained to allow a more fluid development. So the example above could also be written as:
gamepad.before(EVENTNAME, CALLBACK);
.on(EVENTNAME, CALLBACK);
.after(EVENTNAME, CALLBACK);


You can generate QR Code symbols conveniently on this web page, powered by the TypeScript version of this library.