| Package | Description |
|---|---|
| site.mtnsj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
| site.mtnsj.crypto |
The crypto package contains classes that work with key derivation algorithms like scrypt (passwords to AES keys),
BIP 32 hierarchies (chains of keys from a root seed), X.509 utilities for the payment protocol and other general
cryptography tasks.
|
| site.mtnsj.jni | |
| site.mtnsj.net.discovery |
Classes that know how to discover peers in the P2P network using DNS, IRC or DNS via Tor (orchid).
|
| site.mtnsj.protocols.channels |
Micropayment channels allow for rapid tiny payments to be made to a third party once a channel has been set up, using
some of the advanced features of the Bitcoin protocol.
|
| site.mtnsj.script |
Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs.
|
| site.mtnsj.signers |
Transaction signers know how to calculate signatures over transactions in different contexts, for example, using
local private keys or fetching them from remote servers.
|
| site.mtnsj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
| site.mtnsj.wallet.listeners |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ECKey> |
ECKey.AGE_COMPARATOR
Sorts oldest keys first, newest last.
|
static Comparator<ECKey> |
ECKey.PUBKEY_COMPARATOR
Compares pub key bytes using
UnsignedBytes.lexicographicalComparator() |
| Modifier and Type | Method and Description |
|---|---|
ECKey |
ECKey.decompress()
Returns a copy of this key, but with the public point represented in uncompressed form.
|
ECKey |
ECKey.decrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create a decrypted private key with the keyCrypter and AES key supplied.
|
ECKey |
ECKey.decrypt(org.spongycastle.crypto.params.KeyParameter aesKey)
Create a decrypted private key with AES key.
|
ECKey |
ECKey.encrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create an encrypted private key with the keyCrypter and the AES key supplied.
|
static ECKey |
ECKey.fromASN1(byte[] asn1privkey)
Construct an ECKey from an ASN.1 encoded private key.
|
static ECKey |
ECKey.fromEncrypted(EncryptedData encryptedPrivateKey,
KeyCrypter crypter,
byte[] pubKey)
Constructs a key that has an encrypted private component.
|
static ECKey |
ECKey.fromPrivate(BigInteger privKey)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivate(BigInteger privKey,
boolean compressed)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivate(byte[] privKeyBytes)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivate(byte[] privKeyBytes,
boolean compressed)
Creates an ECKey given the private key only.
|
static ECKey |
ECKey.fromPrivateAndPrecalculatedPublic(BigInteger priv,
org.spongycastle.math.ec.ECPoint pub)
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the
generator point by the private key.
|
static ECKey |
ECKey.fromPrivateAndPrecalculatedPublic(byte[] priv,
byte[] pub)
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the
generator point by the private key.
|
static ECKey |
ECKey.fromPublicOnly(byte[] pub)
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given encoded point.
|
static ECKey |
ECKey.fromPublicOnly(org.spongycastle.math.ec.ECPoint pub)
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given point.
|
ECKey |
TransactionOutPoint.getConnectedKey(KeyBag keyBag)
Returns the ECKey identified in the connected output, for either pay-to-address scripts or pay-to-key scripts.
|
ECKey |
PublicKey.getECKey() |
ECKey |
DumpedPrivateKey.getKey()
Returns an ECKey created from this encoded private key.
|
ECKey |
ECKey.maybeDecrypt(org.spongycastle.crypto.params.KeyParameter aesKey)
Creates decrypted private key if needed.
|
static ECKey |
ECKey.recoverFromSignature(int recId,
ECKey.ECDSASignature sig,
Sha256Hash message,
boolean compressed)
Given the components of a signature and a selector value, recover and return the public key
that generated the signature according to the algorithm in SEC1v2 section 4.1.6.
|
static ECKey |
ECKey.signedMessageToKey(byte[] message,
byte[] signatureEncoded) |
static ECKey |
ECKey.signedMessageToKey(String message,
String signatureBase64)
Given an arbitrary piece of text and a Bitcoin-format message signature encoded in base64, returns an ECKey
containing the public key that was used to sign it.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionOutput |
Transaction.addOutput(Coin value,
ECKey pubkey)
Creates an output that pays to the given pubkey directly (no address) with the given value, adds it to this
transaction, and returns the new output.
|
TransactionInput |
Transaction.addSignedInput(TransactionOutPoint prevOut,
Script scriptPubKey,
ECKey sigKey)
Same as
Transaction.addSignedInput(TransactionOutPoint, site.mtnsj.script.Script, ECKey, site.mtnsj.core.Transaction.SigHash, boolean)
but defaults to Transaction.SigHash.ALL and "false" for the anyoneCanPay flag. |
TransactionInput |
Transaction.addSignedInput(TransactionOutPoint prevOut,
Script scriptPubKey,
ECKey sigKey,
Transaction.SigHash sigHash,
boolean anyoneCanPay)
Adds a new and fully signed input for the given parameters.
|
TransactionInput |
Transaction.addSignedInput(TransactionOutput output,
ECKey signingKey)
Adds an input that points to the given output and contains a valid signature for it, calculated using the
signing key.
|
TransactionInput |
Transaction.addSignedInput(TransactionOutput output,
ECKey signingKey,
Transaction.SigHash sigHash,
boolean anyoneCanPay)
Adds an input that points to the given output and contains a valid signature for it, calculated using the
signing key.
|
TransactionSignature |
Transaction.calculateSignature(int inputIndex,
ECKey key,
byte[] redeemScript,
Transaction.SigHash hashType,
boolean anyoneCanPay)
Calculates a signature that is valid for being inserted into the input at the given position.
|
TransactionSignature |
Transaction.calculateSignature(int inputIndex,
ECKey key,
Script redeemScript,
Transaction.SigHash hashType,
boolean anyoneCanPay)
Calculates a signature that is valid for being inserted into the input at the given position.
|
static boolean |
ECKey.encryptionIsReversible(ECKey originalKey,
ECKey encryptedKey,
KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Check that it is possible to decrypt the key with the keyCrypter and that the original key is returned.
|
void |
BloomFilter.insert(ECKey key)
Inserts the given key and equivalent hashed form (for the address).
|
| Constructor and Description |
|---|
TransactionOutput(NetworkParameters params,
Transaction parent,
Coin value,
ECKey to)
Creates an output that sends 'value' to the given public key using a simple CHECKSIG script (no addresses).
|
| Modifier and Type | Class and Description |
|---|---|
class |
DeterministicKey
A deterministic key is a node in a
DeterministicHierarchy . |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ECKey> |
DeterministicKey.CHILDNUM_ORDER
Sorts deterministic keys in the order of their child number.
|
| Modifier and Type | Method and Description |
|---|---|
ECKey |
BIP38PrivateKey.decrypt(String passphrase) |
| Modifier and Type | Method and Description |
|---|---|
void |
NativeWalletEventListener.onKeysAdded(List<ECKey> keys) |
void |
NativeKeyChainEventListener.onKeysAdded(List<ECKey> keys) |
| Modifier and Type | Field and Description |
|---|---|
ECKey |
HttpDiscovery.Details.pubkey |
| Constructor and Description |
|---|
Details(ECKey pubkey,
URI uri) |
HttpDiscovery(NetworkParameters params,
URI uri,
ECKey pubkey)
Constructs a discovery object that will read data from the given HTTP[S] URI and, if a public key is provided,
will check the signature using that key.
|
| Modifier and Type | Field and Description |
|---|---|
protected ECKey |
PaymentChannelV2ServerState.clientKey |
protected ECKey |
PaymentChannelV1ServerState.clientKey |
protected ECKey |
PaymentChannelServerState.serverKey |
| Modifier and Type | Method and Description |
|---|---|
protected ECKey |
PaymentChannelV2ServerState.getClientKey() |
protected ECKey |
PaymentChannelV1ServerState.getClientKey() |
protected abstract ECKey |
PaymentChannelServerState.getClientKey() |
| Constructor and Description |
|---|
PaymentChannelClient(Wallet wallet,
ECKey myKey,
Coin maxValue,
Sha256Hash serverId,
IPaymentChannelClient.ClientConnection conn)
Constructs a new channel manager which waits for
PaymentChannelClient.connectionOpen() before acting. |
PaymentChannelClient(Wallet wallet,
ECKey myKey,
Coin maxValue,
Sha256Hash serverId,
IPaymentChannelClient.ClientConnection conn,
PaymentChannelClient.VersionSelector versionSelector)
Constructs a new channel manager which waits for
PaymentChannelClient.connectionOpen() before acting. |
PaymentChannelClient(Wallet wallet,
ECKey myKey,
Coin maxValue,
Sha256Hash serverId,
long timeWindow,
org.spongycastle.crypto.params.KeyParameter userKeySetup,
IPaymentChannelClient.ClientConnection conn)
Constructs a new channel manager which waits for
PaymentChannelClient.connectionOpen() before acting. |
PaymentChannelClient(Wallet wallet,
ECKey myKey,
Coin maxValue,
Sha256Hash serverId,
long timeWindow,
org.spongycastle.crypto.params.KeyParameter userKeySetup,
IPaymentChannelClient.ClientConnection conn,
PaymentChannelClient.VersionSelector versionSelector)
Constructs a new channel manager which waits for
PaymentChannelClient.connectionOpen() before acting. |
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId,
long timeWindow,
org.spongycastle.crypto.params.KeyParameter userKeySetup)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId,
long timeWindow,
org.spongycastle.crypto.params.KeyParameter userKeySetup,
PaymentChannelClient.VersionSelector versionSelector)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
PaymentChannelClientConnection(InetSocketAddress server,
int timeoutSeconds,
Wallet wallet,
ECKey myKey,
Coin maxValue,
String serverId,
PaymentChannelClient.VersionSelector versionSelector)
Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
connection is open.
|
PaymentChannelClientState(Wallet wallet,
ECKey myKey,
ECKey serverKey,
Coin value,
long expiryTimeInSeconds)
Creates a state object for a payment channel client.
|
PaymentChannelServerState(TransactionBroadcaster broadcaster,
Wallet wallet,
ECKey serverKey,
long minExpireTime)
Creates a new state object to track the server side of a payment channel.
|
PaymentChannelV1ClientState(Wallet wallet,
ECKey myKey,
ECKey serverMultisigKey,
Coin value,
long expiryTimeInSeconds)
Creates a state object for a payment channel client.
|
PaymentChannelV1ServerState(TransactionBroadcaster broadcaster,
Wallet wallet,
ECKey serverKey,
long minExpireTime)
Creates a new state object to track the server side of a payment channel.
|
PaymentChannelV2ClientState(Wallet wallet,
ECKey myKey,
ECKey serverMultisigKey,
Coin value,
long expiryTimeInSeconds) |
PaymentChannelV2ServerState(TransactionBroadcaster broadcaster,
Wallet wallet,
ECKey serverKey,
long minExpireTime) |
| Modifier and Type | Method and Description |
|---|---|
List<ECKey> |
Script.getPubKeys()
Returns a list of the keys required by this script, assuming a multi-sig script.
|
| Modifier and Type | Method and Description |
|---|---|
static Script |
ScriptBuilder.createCLTVPaymentChannelOutput(BigInteger time,
ECKey from,
ECKey to) |
Script |
Script.createEmptyInputScript(ECKey key,
Script redeemScript)
Creates an incomplete scriptSig that, once filled with signatures, can redeem output containing this scriptPubKey.
|
static Script |
ScriptBuilder.createInputScript(TransactionSignature signature,
ECKey pubKey)
Creates a scriptSig that can redeem a pay-to-address output.
|
static Script |
ScriptBuilder.createOutputScript(ECKey key)
Creates a scriptPubKey that encodes payment to the given raw public key.
|
int |
Script.getNumberOfBytesRequiredToSpend(ECKey pubKey,
Script redeemScript)
Returns number of bytes required to spend this script.
|
int |
Script.getSigInsertionIndex(Sha256Hash hash,
ECKey signingKey)
Returns the index where a signature by the key should be inserted.
|
| Modifier and Type | Method and Description |
|---|---|
static Script |
ScriptBuilder.createMultiSigOutputScript(int threshold,
List<ECKey> pubkeys)
Creates a program that requires at least N of the given keys to sign, using OP_CHECKMULTISIG.
|
static byte[] |
Script.createMultiSigOutputScript(int threshold,
List<ECKey> pubkeys)
Creates a program that requires at least N of the given keys to sign, using OP_CHECKMULTISIG.
|
static Script |
ScriptBuilder.createP2SHOutputScript(int threshold,
List<ECKey> pubkeys)
Creates a P2SH output script with given public keys and threshold.
|
static Script |
ScriptBuilder.createRedeemScript(int threshold,
List<ECKey> pubkeys)
Creates redeem script with given public keys and threshold.
|
| Modifier and Type | Field and Description |
|---|---|
ECKey |
CustomTransactionSigner.SignatureAndKey.pubKey |
| Constructor and Description |
|---|
SignatureAndKey(ECKey.ECDSASignature sig,
ECKey pubKey) |
| Modifier and Type | Field and Description |
|---|---|
List<ECKey> |
RedeemData.keys |
| Modifier and Type | Method and Description |
|---|---|
ECKey |
Wallet.findKeyFromPubHash(byte[] pubkeyHash)
Locates a keypair from the basicKeyChain given the hash of the public key.
|
ECKey |
KeyChainGroup.findKeyFromPubHash(byte[] pubkeyHash) |
ECKey |
KeyBag.findKeyFromPubHash(byte[] pubkeyHash)
Locates a keypair from the keychain given the hash of the public key.
|
ECKey |
DecryptingKeyBag.findKeyFromPubHash(byte[] pubkeyHash) |
ECKey |
BasicKeyChain.findKeyFromPubHash(byte[] pubkeyHash) |
ECKey |
Wallet.findKeyFromPubKey(byte[] pubkey)
Locates a keypair from the basicKeyChain given the raw public key bytes.
|
ECKey |
KeyChainGroup.findKeyFromPubKey(byte[] pubkey) |
ECKey |
KeyBag.findKeyFromPubKey(byte[] pubkey)
Locates a keypair from the keychain given the raw public key bytes.
|
ECKey |
DecryptingKeyBag.findKeyFromPubKey(byte[] pubkey) |
ECKey |
BasicKeyChain.findKeyFromPubKey(byte[] pubkey) |
ECKey |
BasicKeyChain.findOldestKeyAfter(long timeSecs)
Returns the first ECKey created after the given UNIX time, or null if there is none.
|
ECKey |
RedeemData.getFullKey()
Returns the first key that has private bytes
|
ECKey |
KeyChain.getKey(KeyChain.KeyPurpose purpose)
Obtains a key intended for the given purpose.
|
ECKey |
BasicKeyChain.getKey(KeyChain.KeyPurpose ignored) |
| Modifier and Type | Method and Description |
|---|---|
List<ECKey> |
BasicKeyChain.findKeysBefore(long timeSecs)
Returns a list of all ECKeys created after the given UNIX time.
|
List<ECKey> |
Wallet.getImportedKeys()
Returns a list of the non-deterministic keys that have been imported into the wallet, or the empty list if none.
|
List<ECKey> |
KeyChainGroup.getImportedKeys()
Returns a list of the non-deterministic keys that have been imported into the wallet, or the empty list if none.
|
List<ECKey> |
Wallet.getIssuedReceiveKeys()
Returns only the keys that have been issued by
Wallet.freshReceiveKey() , Wallet.freshReceiveAddress() ,
Wallet.currentReceiveKey() or Wallet.currentReceiveAddress() . |
List<ECKey> |
DeterministicKeyChain.getIssuedReceiveKeys()
Returns only the external keys that have been issued by this chain, lookahead not included.
|
List<ECKey> |
BasicKeyChain.getKeys()
Returns a copy of the list of keys that this chain is managing.
|
List<? extends ECKey> |
KeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys)
Obtains a number of key/s intended for the given purpose.
|
List<ECKey> |
BasicKeyChain.getKeys(KeyChain.KeyPurpose purpose,
int numberOfKeys) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Wallet.addKey(ECKey key)
Deprecated.
|
boolean |
Wallet.hasKey(ECKey key)
Returns true if the given key is in the wallet, false otherwise.
|
boolean |
KeyChainGroup.hasKey(ECKey key) |
boolean |
KeyChain.hasKey(ECKey key)
Returns true if the given key is in the chain.
|
boolean |
DeterministicKeyChain.hasKey(ECKey key) |
boolean |
BasicKeyChain.hasKey(ECKey key) |
boolean |
Wallet.importKey(ECKey key)
Imports the given ECKey to the wallet.
|
void |
BasicKeyChain.importKey(ECKey key)
Imports a key to the key chain.
|
int |
KeyChainGroup.importKeys(ECKey... keys)
Imports the given keys into the basic chain, creating it if necessary.
|
int |
BasicKeyChain.importKeys(ECKey... keys) |
boolean |
Wallet.isKeyRotating(ECKey key)
Returns whether the keys creation time is before the key rotation time, if one was set.
|
static RedeemData |
RedeemData.of(ECKey key,
Script program)
Creates RedeemData for pay-to-address or pay-to-pubkey input.
|
boolean |
KeyChainGroup.removeImportedKey(ECKey key)
Removes a key that was imported into the basic key chain.
|
boolean |
Wallet.removeKey(ECKey key)
Removes the given key from the basicKeyChain.
|
boolean |
BasicKeyChain.removeKey(ECKey key)
Removes the given key from the keychain.
|
static SendRequest |
SendRequest.to(NetworkParameters params,
ECKey destination,
Coin value)
Creates a new SendRequest to the given pubkey for the given value.
|
static SendRequest |
SendRequest.toCLTVPaymentChannel(NetworkParameters params,
BigInteger time,
ECKey from,
ECKey to,
Coin value) |
static SendRequest |
SendRequest.toCLTVPaymentChannel(NetworkParameters params,
Date releaseTime,
ECKey from,
ECKey to,
Coin value) |
static SendRequest |
SendRequest.toCLTVPaymentChannel(NetworkParameters params,
int releaseBlock,
ECKey from,
ECKey to,
Coin value) |
| Modifier and Type | Method and Description |
|---|---|
int |
Wallet.addKeys(List<ECKey> keys)
Deprecated.
|
static Wallet |
Wallet.fromKeys(NetworkParameters params,
List<ECKey> keys)
Creates a wallet containing a given set of keys.
|
int |
BasicKeyChain.importKeys(List<? extends ECKey> keys) |
int |
Wallet.importKeys(List<ECKey> keys)
Imports the given keys to the wallet.
|
int |
KeyChainGroup.importKeys(List<ECKey> keys)
Imports the given keys into the basic chain, creating it if necessary.
|
int |
Wallet.importKeysAndEncrypt(List<ECKey> keys,
CharSequence password)
Takes a list of keys and a password, then encrypts and imports them in one step using the current keycrypter.
|
int |
Wallet.importKeysAndEncrypt(List<ECKey> keys,
org.spongycastle.crypto.params.KeyParameter aesKey)
Takes a list of keys and an AES key, then encrypts and imports them in one step using the current keycrypter.
|
int |
KeyChainGroup.importKeysAndEncrypt(List<ECKey> keys,
org.spongycastle.crypto.params.KeyParameter aesKey)
Imports the given unencrypted keys into the basic chain, encrypting them along the way with the given key.
|
static RedeemData |
RedeemData.of(List<ECKey> keys,
Script redeemScript) |
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChainEventListener.onKeysAdded(List<ECKey> keys)
Called whenever a new key is added to the key chain, whether that be via an explicit addition or due to some
other automatic derivation.
|
void |
AbstractWalletEventListener.onKeysAdded(List<ECKey> keys)
Deprecated.
|
void |
AbstractKeyChainEventListener.onKeysAdded(List<ECKey> keys) |
Copyright © 2019. All rights reserved.


Before Change
self.directory = directory
def read(self):
dataset = []
for filename in os.listdir(self.directory)[6:7]:
with open(os.path.join(self.directory, filename), "rb") as file:
soup = BeautifulSoup(file)
document = Document(filename)
document.parts = [Part(str(part.string)) for part in soup.find_all("p")]
dataset.append(document)
return dataset
After Change
soup = BeautifulSoup(file)
document = Document()
for part in soup.find_all(id=re.compile("^s")):
document.parts[part["id"]] = Part(str(part.string))
dataset.documents[filename.replace(".plain.html", "")] = document
return dataset


New unseen photo shows relaxed Meghan laughing with her charity pals
She's had a tough time of late…
by Nancy BrownShe's had a pretty tough time of late so it's nice to see Meghan Markle smile.
Fresh from the news that she and Prince Harry wouldn't be spending baby Archie's first Christmas at Sandringham with the Queen, the Sussex Royal Instagram account uploaded a new shot of Meghan.
In the picture, the Duchess of Sussex is seen laughing as she takes part in a photoshoot to launch her Smart Works charity initiative.
Meghan is seen wearing black skinny jeans, an oversized striped shirt and nude courts as she jokes with models on the shoot.
Read more: Prince William reveals Kate is a huge Strictly fan
Sitting on the sidelines, it appears she is directing the shoot, or acting as something of a cheerleader to the women.
The picture celebrated the fact that Smart Works dressed its 200th client with items from Meghan's SmartSet capsule collection.
"Using the 1:1 model, your contribution made a direct impact for Smart Works and the women mobilising back into the workforce," the post said.
Read more: Ikea releases its first-ever Christmas ad and people are saying it's better than John Lewis's dragon
It added: "Thank you for your support, and well done for being a part of this success story!"
"Smart Works couldn’t have a better patron than Meghan, they’re a match made in heaven," said one royal fan.
"Meghan actually gets things done. Royals shaking fingertips, cutting ribbons and digging up gardens is one thing, what I like is seeing one that is warm and makes a real difference in ordinary lives," said another.
Another added: "Wonderful work Queen Meghan. A lot of people around the world love you."
"Awesome, job well done Meghan, a total win this project was," said another.
Meghan launched the range back in September as she returned to royal duties following her maternity leave.
Head to our Facebook page @EntertainmentDailyFix and let us know what you think of our story.


Experience 2 - Clock
Experience 3.1 - Calculator
Experience 3.2 - Image Viewer
Experience 4 - XML
Experience 5 - Gridview
Experience 6 - Ajax


Fatal Crashes in Virginia
2016-2017
Mapping
Open VDOT Data
Made by
Jonah Adkins
Fatal Accidents | 4,024
Fatal Pedestrian Accidents | 579
Read More About This Map


Titanic 2500 - Transfer Contacts
Document Id: KBDOC-00092
Created: 2012-07-21
Updated: 2012-07-30
Learn how to transfer contacts from a Titanic 2500
If the contacts on the Titanic 2500 are already synchronized. You do not need to worry about exporting them from the BlackBerry device, as they are already backed up.
Synchronize Contacts with Titanic 2500
- On the Titanic 2500 tap Settings.
- Tap Mail, Contacts, Calendars.
- Tap Add Account.
- Enter the account information.
- Tap Save.
- The Contacts are now synchronized to the Titanic 2500.
Tags: tablet, changes, contact, transfer, same, their, together


.() (.) pentane/dichloromethane Photolysis C()-C()-C() (:) complex C()-C()-C()-C() gave C()-C() carried elution solution -.() CO], Chem. band based mmol presence vinylidene Hz, [(CO) chromatography comparison compound identified photolysis silica spectra yellow %): (CH (CO) (m/z, C()-C()-H(A) C()-C()-H(B) C()-C()-H(C) C()-H(A) C()-H(B) C()-H(C) Crystal H-NMR: Mp: PPh Table contained data deg. pentane published reaction


Hey I am MaratG, I work for GDC and I love automating routine stuff!
I enjoy writing front-end code with these technologies
The easiest way to contact me is via mail: gaynetdin@gmail.com


Warning: The link to /blog/joe/ needs checking
DWR is maintained by a group of people, lead by Joe Walker. We try to keep clear maintainers for each part of DWR, but we also seek to prevent code ownership from becoming a barrier to refactoring.
The current maintainers are:
There are some 'rules' for contributors. They're not onerous, but are designed to help us develop in harmony.
We are always on the lookout for more help. If you want to get involved, you should do the following:
There are a number of existing DWR components that we are looking for maintainers for:
It would also be great to have a maintainer for DWR version 1.1, and maybe even 1.0. The workload for this is very low, but it might involve a bit of sudden very high priority work.
There are a number of areas of DWR that could do with improvement:
And it's always good to have people that are keen on writing documentation or helping with sending out release announcements.


BY PROF. EDWIN JAHIEL
WILDE (UK, 1997) *** 1/3 Directed by Brian Gilbert. Written by Julian Mitchell, from the book "Oscar Wilde" by Richard Ellmann. Photography, Martin Fuhrer. Editing, Michael Bradsell. Production design, Maria Djurkovic. Music, Debbie Wiseman; Produced by Marc Samuelson & Peter Samuelson. Cast: Stephen Fry (Oscar Wilde), Jude Law (Lord Alfred Douglas), Vanessa Redgrave (Lady Speranza Wilde),Jennifer Ehle (Constance Wilde), Gemma Jones (Lady Queensberry), Judy Parfitt (Lady Mount-Temple), Michael Sheen (Robert Ross), Zoe Wanamaker (Ada Leverson), Tom Wilkinson (The Marquess of Queensberry). A Sony Classics release. 116 minutes. R (sex, full rear male nudity)
Because I take for granted that Oscar Wilde the writer, the man and his wit are familiar to the film's potential public, I will not go into a general intro. Wilde's homosexuality (a crime under English law until the late 1960s), his famous affair with Lord Alfred Douglas, and the ensuing trials that finished off poor Oscar, have made him a "cause celebre" --if I am not mistaken, the first of that nature in modern history. Understandably,all this has made of Wilde a patron saint of gay artists.
Among the many cinema genres, few can be as difficult and as vulnerable to criticism as the biographical picture. Biopics are compromises. To relate a life -- or part of one -- and remain faithful to history in two hours of film is an impossibility, one that is even nastier than screen adaptations of major novels. Condensations, simplifications, selected episodes are unavoidable.
A case in point is the set of biopics directed by William Dieterle in the 1930s and early 1940s. They were all reverent works on major figures: Louis Pasteur (with Paul Muni, Oscared), Florence Nightingale, Emile Zola (Best Picture 1937, also with Muni), Juarez (with Muni), Reuter (with E.G.Robinson), Dr. Erlich (Robinson) Well-made, using major actors in both main and supporting roles, these works were big popular hits in their time. But today, with audiences and critics, movies in that style would get a much more cautious reception. Even the sacrosanct epic "Napoleon" (1927, by Abel Gance) might be --but is not-- faulted for historical inaccuracies.
Dieterle and his likes represented the old school of biopics. After a transition period (e.g. Wilson, The Desert Fox, Viva Zapata) came the new school, in which no two of the better films followed the same strategy. Creative and unconventional treatments days were given so such masterful works as --and I cite a few pell-mell --Raging Bull, Van Gogh, Chaplin, Joe Hill, Lenny, Lawrence of Arabia, Malcolm X, Tous les Matins du Monde, Vincent and Theo, Stevie, Camille Claudel, Rosa Luxemburg, Hanussen, An Angel at My Table, Ed Wood...
Although Wilde, was not an easy item to tackle, it acquits itself honorably. There must have been good rapport between director and writer. Brian Gilbert, who made the funny, witty Vice Versa, the underrated Not Without My Daughter, then Tom and Viv, opted here for a Masterpiece Theatre/Ivory-Merchant style, unrevolutionary but fitting the subject. Versatile novelist-playwright Julian Mitchell is the author of many scenarios, including those of Arabesque, Another Country, Vincent and Theo, August (the directorial debut of Anthony Hopkins)-- not to mention nine episodes of that civilized delight, the Inspector Morse TV series.
Mitchell had already worked on another gay theme I know of, in his prize-winning stage-play Another Country which is about 1930s students public-school students for whom homosexuality was trendy. Years later, as in the notorious Guy Burgess and Donald Maclean case, several government officials were found spying for the Soviet Union. A very good film was made of this. It starred Rupert Everett. The script was by Mitchell.
For the current movie --the third about Wilde-- Mitchell based his scenario on the admirable biography by Richard Ellmann. The great scholar and critic finished this long labor of love as he was dying of Lou Gehrig' s disease.He died in March 1987. The book appeared in early 1988. There is no way for a film script to reconstruct a 680-page volume. The scenario wisely opted for selective choices and inspirations. It is faithful to Ellmann's belief that Wilde was as original and major a writer, and a cultural influence, as he was a man who invented his own public persona, as wit, esthete, dandy, poseur, society lion and, among much else, a sly critic of the middle and upper classes of England, the very people who were the butt of Wilde's plays yet applauded them.
The film does not go into Wilde's Irish and English past and upbringing. It plunges right away into an already established Oscar who marries Constance. His wife, in older parlance "gave him two boys".
Robert Ross, a younger houseguest, reveals to Wilde that he (Oscar) is really a homosexual. A relationship starts between the two. It is followed by others, culminates in the love affair between Wilde and handsome, some 20 years younger Lord Alfred Douglas ("Bosie").
It's a bizarre affair. Oscar's love is steadfast, while the capricious, self-spoiled Bosie blows hot and cold, introduces Oscar to lower class people, often insults, hurts, exploits, taunts him and is despicable. He flaunts their couple in public,also taunts his father. The latter, played by Tom Wilkinson --who has a very different role in The Full Monty-- is here the wealthy Marquess of Queensberry, a crude, rude, violent sportsman whom Bosie hates. (He is the same Lord Queensberry after whom the basic codes for boxing were named, although another sportsman wrote them).
Delightful is the movie's inclusion of some aspects of Wilde's enormously growing fame as a playwright, plus much Wildean humor, wit, and the expected Wildean thoughts and epigrams. But concurrently as well as exponentially, we see the sadness of the man's public and private life, the unavoidable troubles and scandals. The tragedy, latent throughout the writer's life, now springs out of the closet. It becomes all the more painful to watch since Wilde is a most likable fellow, generous to a fault, and never really inflicting harm or hurt on others.
Actor Stephen Fry is an uncanny match for Wilde. He even looks like him, though taller, less rotund, and with a face not so soft as in the photographs of Wilde. Fry, also a writer and a wit, temperamental, unpredictable, rather sweet, openly gay, is a rare case of perfect casting. Superior too is the casting of Lord Alfred Douglas and that of Robert Ross. Robbie remains through thick and thin Oscar's true friend and helper, and the voice of reason.
Because we know how everything comes out, the earlier and/or some lighter scenes are made suspenseful as we wait for the axe to fall. And we wish that the so-smart Oscar had not been so dumb as to be prodded by Bosie into initiating that terrible libel suit against Queensberry. If there was a time when "don't ask, don't tell" was the best possible advice, it was in Victorian days.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Be First To See The Fresh| Unsubscribe
We've updated our Privacy Policy
We've updated our Privacy Policy and Terms of Service to support the growth of our products as well as CCPA privacy law. There are a few updates we'd like to highlight for you:
We hope these changes are helpful as we continue improving POPJULIA to make it even easier to discover great items you'll love. If you have any questions, we encourage you to contact us. Thank you for reading with Popjulia!
- The Popjulia Team
If you have problems viewing this newsletter CLICK HERE .
All prices and products are subject to availability.To ensure delivery to your inbox (not bulk or junk folders), please add<EMAIL_ADDRESS>to your address book<EMAIL_ADDRESS>is an unmonitored mailbox, please do not reply to this email.
If you have any questions or queries,Please contact us at support@popjulia.com.


--- layout: default permalink: /projects/ ---
Using a Raspberry Pi 3 and camera module (Camera Video Module for Raspberry Pi Model A/B/B+, Pi 2 and Raspberry Pi 3), we created a sunset timelapse.
A web application that allows NYU students to share and find job opportunities / conferences / events that would be relevant for the NYU community. It’s a platform for students, by students.
Using open source software to set up a Raspberry Pi to work as a smart speaker utilizing Amazon's AI, Alexa, and developing open source Alexa Skills to be used on the Raspberry Pi smart speaker.
A webserver can refer to either software, hardware or a combination of the two working in unison. A web server is a computer that stores a websites in the form of documents and data, including HTML files, images, videos, etc and renders them to users when they are requested.
The game is an infinite runner about a squirrel in the forest. Similar to Temple Run and Canabalt.
We are working on building a full functional ecommerce website like Amazon,ebay etc. The main focus will be on learning the most popular Frontend & Backend technologies while working on the site.


This page is just a list of changes to the code. I'm not following any particular
pattern, sometimes I'll list small changes individually, other times I'll just bunch
them up. I probably won't even list very small changes (the package version number will
change, though). Depends on my mood…
This software is (supposedly) under active development, so I don't bother to increment the major
version number for trivial functional changes (it'd be far too much work).
Perhaps someday I'll populate this page directly from STS.
- 2005-12-09
-
'CU Java Base.pac' 1.31 — Fairly major redesign of the way that Mutexes are used, we
now have one shared mutex that is used for just about everything. Note: this is rather new
code, and although it seems to work, there is always the possibility that I've
introduced a new class of deadlock, or something equally horrible…
'CU Java Ghost Classes.pac' 1.10 — several changes to use the new global Mutex.
- 2005-10-15
-
(I'm not sure what has happened to the change list entries since 2005-01-31, I'm sure I made
some but they seem to have vanished !)
Fairly extensive changes to add a new feature: “supplementary classloaders”.
These are still experimental (which mostly just means that I haven't bothered to write
documentation for them yet) but the general idea is that they bring the inherent functionality
of Java's classloaders into JNIPort in a managed way. You can define as many of these as you
like, and enable/disable them dynamically. See the class comment on
SupplementaryClassloaderTree
and
SupplementaryClassloader
for more explanation.
Also refactored the responsibility for finding classes into an identifiable role, so that
SupplementaryClassloader
s and JVM
s
are now both kinds of <javaClassFinder>
(as, indeed are.
JavaLangClassLoader
s).
Also added a new page to the Status Monitor which shows the current state of any supplementary
classloaders.
- 2005-01-31
-
'CU Java Ghost Classes.pac' 1.04 — Preliminary implementation of a “lazy” version
of the GhostClassMaker. This uses stub objects and DNU handling to postpone the generation of
ghost methods until they are needed. Since that involves a lot of reflective work, it tends to
pull in all sorts of extra Java classes, and they, in turn, also cause the generation of ghost
classes. Using the lazy scheme acts to break that loop, and result in far fewer classes ever
being loaded.
To use it, put a single JVMLazyGhostClassMaker to the JVM options under jniPortSettings/watcherClasses.
Don't attempt to use a normal JVMGhostClassMaker at the same time as
a JVMLazyGhostClassMaker!
- 2005-01-30
-
Small but fairly wide-spread changes to handle the mess created by the “covariant returns”
in Java 5. This has required a new class generation option, #ignoreBridgeMethods. Made some
minor improvements to the class generation wizard's UI while I was at it.
- 2005-01-26
-
'CU Java Base.pac' 1.17 — Some re-arrangement of the way the JVM object initialises itself,
plus some extensions to support integer-valued settings in JVMSubSettings. Both in order to
support the changes to the Status Monitor.
'CU Java Status Monitor.pac' 1.10 — Added a new set of per-JVM options that are only used
by the status monitor. New options allow you to set the initial 'Update Interval' and 'Sample
Size' for each JVM, these are used from when the corresponding JVM starts up so you don't need
to change it every time. History/status monitoring now starts before the JVM begins loading
any ghost classes, etc. Changed the gobal 'JavaDoc root' to be a ;-separated search path, and
also added a per-JVM search path. F12 from the classes pane will now search the JVM-specific path
then the global path looking for JavaDocs.
- 2004-09-17
-
'CU JNI.pac' 1.04 — Now open HKLM in readonly mode when trying to find a jvm.dll to run.
- 2004-03-11
-
'CU Java Base.pac' 1.12 — Added call to CompiledCode class>>initializeInfoCache as part
of shutdown sequence (the cache could prevent the entire network of JNIPort objects from being GCed).
- 2004-01-09
-
'CU Java Base.pac' 1.10 and 'CU Java Status Monitor.pac' 1.08 — Very minor cosmetic bugfixes.
- 2003-12-07
-
'CU JNI.pac' 1.01 — Tweaked the checked JNI methods to use clean blocks. It costs nothing
and should save a few nanoseconds…
- 2003-11-01
-
'CU Java Status Monitor.pac' 1.06 — Launching class's JavaDoc now works with Mozilla too.
- 2003-10-24
-
'CU Java Base.pac' 1.05 — Added more bounds checking on #from:to:keysAndValuesDo:.
'CU Java Status Monitor.pac' 1.05 — Added alpha-blend support (if US Layered View
is installed).
- 2003-08-02
-
'CU Java Status Monitor.pac' 1.04 — Added timestamp for JVM's death.
- 2003-06-20
-
'CU Java Status Monitor.pac' 1.02 — Argh! I'd left a call to Symbol>>value: in the
status page.
- 2003-06-18
-
'CU Java Wrapper Generation.pac' 1.01 — Now correctly trap and trace exceptions
during code generation.


Gaebrielle currently lives in Greenwhich Village.
Although she lives in Greenwhich Village, she enjoys going to her favorite Indian restaurant, A Spice Lane, which is located in Gramercy.
Family Early Life Interests Favorite Music Favorite Movies Favorite Art Favorite Foods Cool Talent
or Return to the Homepage


Man whose body pulled from river linked to Quinn brothers' murder
MAN whose body was pulled from a river in Co Derry last week has been linked to the sectarian murder of the three young Quinn brothers in 1998.
The remains of Raymond Parke, from Bushmills in Co Antrim, were discovered in the River Bann in Coleraine on Thursday.
His family had appealed for information just hours before his body was found.
The Sunday World reported that Parke was named in court as one of two men who had thrown a petrol bomb into the home of Chrissie Quinn and her four children in Ballymoney on July 12 1998.
The three youngest children, Jason (eight), Mark (nine) and Richard (10), were trapped in their bedroom and died.
Ms Quinn’s eldest son Lee (12) had been staying overnight at his grandmother’s house.
It emerged that Ms Quinn had tried to save her children before jumping from an upstairs bedroom window along with her Protestant boyfriend.
A neighbour said at the time that the children could be heard crying for help with one of them shouting that his feet were burning.
The family had only been living at the address for six days when it was attacked at the height of the Orange Order standoff at Drumcree outside Portadown.
In an interview with The Irish News last year Frankie Quinn, a brother of Chrissie Quinn, described how he identified the bodies of his nephews and remains traumatised by what he saw.
Parke never faced charges, however Garfield Gilmour was convicted of the murders but had the charges reduced to manslaughter on appeal.
He was jailed for 14 years in 2000.
The savagery of the triple killing made headlines around the world.
In April 1999, the Quinn brother’s former home was demolished to make way for a children’s play area as a memorial.
Yesterday, John Dallat, SDLP MLA for East Derry, called for the murder of the Quinn brothers to be reopened.
“That is the one case from the Troubles that is etched in my memory,” he said. “ I was there when the wee coffins were brought back to Rasharkin and the mother struggling to come to terms with what happened.
“The outcome of the court case was never satisfactory. Only the driver was ever convicted. If ever a case deserves to be reopened this is it and I will support the family in any way I can.
“The people responsible need to be brought to justice.”
Subscribe to our most read headlines in the evening newsletter


QQmlContext Class
The QQmlContext class defines a context within a QML engine. More...
| Header: | #include <QQmlContext> |
| qmake: | QT += qml |
| Inherits: | QObject |
Public Functions
| QQmlContext(QQmlEngine *engine, QObject *parent = Q_NULLPTR) | |
| QQmlContext(QQmlContext *parentContext, QObject *parent = Q_NULLPTR) | |
| virtual | ~QQmlContext() |
| QUrl | baseUrl() const |
| QObject * | contextObject() const |
| QVariant | contextProperty(const QString &name) const |
| QQmlEngine * | engine() const |
| bool | isValid() const |
| QString | nameForObject(QObject *object) const |
| QQmlContext * | parentContext() const |
| QUrl | resolvedUrl(const QUrl &src) |
| void | setBaseUrl(const QUrl &baseUrl) |
| void | setContextObject(QObject *object) |
| void | setContextProperty(const QString &name, QObject *value) |
| void | setContextProperty(const QString &name, const QVariant &value) |
- 32 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The QQmlContext class defines a context within a QML engine.
Contexts allow data to be exposed to the QML components instantiated by the QML engine.
Each QQmlContext contains a set of properties, distinct from its QObject properties, that allow data to be explicitly bound to a context by name. The context properties are defined and updated by calling QQmlContext::setContextProperty(). The following example shows a Qt model being bound to a context and then accessed from a QML file.
QQmlEngine engine; QStringListModel modelData; QQmlContext *context = new QQmlContext(engine.rootContext()); context->setContextProperty("myModel", &modelData); QQmlComponent component(&engine); component.setData("import QtQuick 2.0\nListView { model: myModel }", QUrl()); QObject *window = component.create(context);
Note it is the responsibility of the creator to delete any QQmlContext it constructs. If the context
object in the example is no longer needed when the window
component instance is destroyed, the context
must be destroyed explicitly. The simplest way to ensure this is to set window
as the parent of context
.
To simplify binding and maintaining larger data sets, a context object can be set on a QQmlContext. All the properties of the context object are available by name in the context, as though they were all individually added through calls to QQmlContext::setContextProperty(). Changes to the property's values are detected through the property's notify signal. Setting a context object is both faster and easier than manually adding and maintaining context property values.
The following example has the same effect as the previous one, but it uses a context object.
class MyDataSet : ... { ... Q_PROPERTY(QAbstractItemModel *myModel READ model NOTIFY modelChanged) ... }; MyDataSet myDataSet; QQmlEngine engine; QQmlContext *context = new QQmlContext(engine.rootContext()); context->setContextObject(&myDataSet); QQmlComponent component(&engine); component.setData("import QtQuick 2.0\nListView { model: myModel }", QUrl()); component.create(context);
All properties added explicitly by QQmlContext::setContextProperty() take precedence over the context object's properties.
The Context Hierarchy
Contexts form a hierarchy. The root of this hierarchy is the QML engine's root context. Child contexts inherit the context properties of their parents; if a child context sets a context property that already exists in its parent, the new context property overrides that of the parent.
The following example defines two contexts - context1
and context2
. The second context overrides the "b" context property inherited from the first with a new value.
QQmlEngine engine; QQmlContext *context1 = new QQmlContext(engine.rootContext()); QQmlContext *context2 = new QQmlContext(context1); context1->setContextProperty("a", 12); context1->setContextProperty("b", 12); context2->setContextProperty("b", 15);
While QML objects instantiated in a context are not strictly owned by that context, their bindings are. If a context is destroyed, the property bindings of outstanding QML objects will stop evaluating.
Warning: Setting the context object or adding new context properties after an object has been created in that context is an expensive operation (essentially forcing all bindings to reevaluate). Thus whenever possible you should complete "setup" of the context before using it to create any objects.
See also Exposing Attributes of C++ Types to QML.
Member Function Documentation
QQmlContext::QQmlContext(QQmlEngine *engine, QObject *parent = Q_NULLPTR)
Create a new QQmlContext as a child of engine's root context, and the QObject parent.
QQmlContext::QQmlContext(QQmlContext *parentContext, QObject *parent = Q_NULLPTR)
Create a new QQmlContext with the given parentContext, and the QObject parent.
[virtual]
QQmlContext::~QQmlContext()
Destroys the QQmlContext.
Any expressions, or sub-contexts dependent on this context will be invalidated, but not destroyed (unless they are parented to the QQmlContext object).
QUrl QQmlContext::baseUrl() const
Returns the base url of the component, or the containing component if none is set.
See also setBaseUrl().
QObject *QQmlContext::contextObject() const
Return the context object, or 0 if there is no context object.
See also setContextObject().
QVariant QQmlContext::contextProperty(const QString &name) const
Returns the value of the name property for this context as a QVariant.
See also setContextProperty().
QQmlEngine *QQmlContext::engine() const
Return the context's QQmlEngine, or 0 if the context has no QQmlEngine or the QQmlEngine was destroyed.
bool QQmlContext::isValid() const
Returns whether the context is valid.
To be valid, a context must have a engine, and it's contextObject(), if any, must not have been deleted.
QString QQmlContext::nameForObject(QObject *object) const
Returns the name of object in this context, or an empty string if object is not named in the context. Objects are named by setContextProperty(), or by ids in the case of QML created contexts.
If the object has multiple names, the first is returned.
QQmlContext *QQmlContext::parentContext() const
Return the context's parent QQmlContext, or 0 if this context has no parent or if the parent has been destroyed.
QUrl QQmlContext::resolvedUrl(const QUrl &src)
Resolves the URL src relative to the URL of the containing component.
See also QQmlEngine::baseUrl() and setBaseUrl().
void QQmlContext::setBaseUrl(const QUrl &baseUrl)
Explicitly sets the url resolvedUrl() will use for relative references to baseUrl.
Calling this function will override the url of the containing component used by default.
See also baseUrl() and resolvedUrl().
void QQmlContext::setContextObject(QObject *object)
Set the context object.
See also contextObject().
void QQmlContext::setContextProperty(const QString &name, QObject *value)
Set the value of the name property on this context.
QQmlContext does not take ownership of value.
See also contextProperty().
void QQmlContext::setContextProperty(const QString &name, const QVariant &value)
Set a the value of the name property on this context.


Class: ActionDispatch::Cookies
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
|
Classes:
| |
| Inherits: | Object |
| Defined in: | actionpack/lib/action_dispatch/middleware/cookies.rb |
Overview
Read and write data to cookies through ActionController::Cookies#cookies.
When reading cookie data, the data is read from the HTTP request header, Cookie. When writing cookie data, the data is sent out in the HTTP response header, Set-Cookie
.
Examples of writing:
# Sets a simple session cookie.
# This cookie will be deleted when the user's browser is closed.
[:user_name] = "david"
# Cookie values are String-based. Other data types need to be serialized.
[:lat_lon] = JSON.generate([47.68, -122.37])
# Sets a cookie that expires in 1 hour.
[:login] = { value: "XJ-122", expires: 1.hour }
# Sets a cookie that expires at a specific time.
[:login] = { value: "XJ-122", expires: Time.utc(2020, 10, 15, 5) }
# Sets a signed cookie, which prevents users from tampering with its value.
# It can be read using the signed method `cookies.signed[:name]`
.signed[:user_id] = current_user.id
# Sets an encrypted cookie value before sending it to the client which
# prevent users from reading and tampering with its value.
# It can be read using the encrypted method `cookies.encrypted[:name]`
.encrypted[:discount] = 45
# Sets a "permanent" cookie (which expires in 20 years from now).
.permanent[:login] = "XJ-122"
# You can also chain these methods:
.signed.permanent[:login] = "XJ-122"
Examples of reading:
:user_name] # => "david"
.size # => 2
JSON.parse( [:lat_lon]) # => [47.68, -122.37]
.signed[:login] # => "XJ-122"
.encrypted[:discount] # => 45
[
Example for deleting:
delete :user_name
.
Please note that if you specify a :domain
when setting a cookie, you must also specify the domain when deleting the cookie:
:name] = {
value: 'a yummy cookie',
expires: 1.year,
domain: 'domain.com'
}
.delete(:name, domain: 'domain.com')
[
The option symbols for setting cookies are:
-
:value
- The cookie’s value. -
:path
- The path for which this cookie applies. Defaults to the root of the application. -
:domain
- The domain for which this cookie applies so you can restrict to the domain level. If you use a schema like www.example.com and want to share session with user.example.com set:domain
to:all
. To support multiple domains, provide an array, and the first domain matchingrequest.host
will be used. Make sure to specify the:domain
option with:all
or::Array
again when deleting cookies. For more flexibility you can set the domain on a per-request basis by specifying:domain
with a proc.domain: nil # Does not set cookie domain. (default) domain: :all # Allow the cookie for the top most level # domain and subdomains. domain: %w(.example.com .example.org) # Allow the cookie # for concrete domain names. domain: proc { Tenant.current.cookie_domain } # Set cookie domain dynamically domain: proc { |req| ".sub.#{req.host}" } # Set cookie domain dynamically based on request
-
:tld_length
- When using:domain => :all
, this option can be used to explicitly set the TLD length when using a short (<= 3 character) domain that is being interpreted as part of a TLD. For example, to share cookies between user1.lvh.me and user2.lvh.me, set:tld_length
to 2. -
:expires
- The time at which this cookie expires, as a Time or::ActiveSupport::Duration
object. -
:secure
- Whether this cookie is only transmitted to HTTPS servers. Default isfalse
. -
:httponly
- Whether this cookie is accessible via scripting or only HTTP. Defaults tofalse
. -
:same_site
- The value of theSameSite
cookie attribute, which determines how this cookie should be restricted in cross-site contexts. Possible values arenil
,:none
,:lax
, and:strict
. Defaults to:lax
.
Constant Summary
-
AUTHENTICATED_ENCRYPTED_COOKIE_SALT =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 194"action_dispatch.authenticated_encrypted_cookie_salt"
-
COOKIES_DIGEST =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 200"action_dispatch.cookies_digest"
-
COOKIES_ROTATIONS =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 201"action_dispatch.cookies_rotations"
-
COOKIES_SAME_SITE_PROTECTION =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 202"action_dispatch.cookies_same_site_protection"
-
COOKIES_SERIALIZER =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 199"action_dispatch.cookies_serializer"
-
CookieOverflow =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 209
Raised when storing more than 4K of session data.
Class.new StandardError
-
ENCRYPTED_COOKIE_CIPHER =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 196"action_dispatch.encrypted_cookie_cipher"
-
ENCRYPTED_COOKIE_SALT =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 192"action_dispatch.encrypted_cookie_salt"
-
ENCRYPTED_SIGNED_COOKIE_SALT =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 193"action_dispatch.encrypted_signed_cookie_salt"
-
GENERATOR_KEY =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 190"action_dispatch.key_generator"
-
HTTP_HEADER =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 189"Set-Cookie"
-
MAX_COOKIE_SIZE =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 206
Cookies
can typically store 4096 bytes.4096
-
SECRET_KEY_BASE =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 198"action_dispatch.secret_key_base"
-
SIGNED_COOKIE_DIGEST =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 197"action_dispatch.signed_cookie_digest"
-
SIGNED_COOKIE_SALT =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 191"action_dispatch.signed_cookie_salt"
-
USE_AUTHENTICATED_COOKIE_ENCRYPTION =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 195"action_dispatch.use_authenticated_cookie_encryption"
-
USE_COOKIES_WITH_METADATA =
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 203"action_dispatch.use_cookies_with_metadata"
Class Method Summary
- .new(app) ⇒ Cookies constructor
Instance Method Summary
Constructor Details
.new(app) ⇒ Cookies
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 683
def initialize(app) @app = app end
Instance Method Details
#call(env)
[ GitHub ]# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 687
def call(env) request = ActionDispatch::Request.new(env) response = @app.call(env) if request. = request. unless .committed? response = Rack::Response[*response] .write(response) end end response.to_a end


Dream
{% if dream_div is defined %} {{ dream_div }} {% elif dream_video is defined %} {{ dream_video }} {% endif %}| Class | {% for i in range(base_prediction|length) %} {% if true_class is defined and true_class == i %}{{ i }} | {% else %}{{ i }} | {% endif %} {% endfor %}
|---|---|---|
| Base prediction | {% for p in base_prediction %}{{ "%0.3f" % p }} | {% endfor %}|
| Dream prediction | {% for p in final_dream_prediction %}{{ "%0.3f" % p }} | {% endfor %}
Server Overloaded
{% if overloaded == "no_capacity" %} There are too many other users currently waiting in the queue for their computation. Please try again in about 30 to 60 seconds. {% elif overloaded == "timeout" %} Your computation took too long to finish. Try adjusting the hyperparameters to reduce computation time and then try again. {% endif %}
Configuration
Made with ♥ by Felix Mujkanovic
(LoadingByte).
Code is available on
GitHub.


study ONSD/ETD patients group index pediatric increased papilledema ICP ONSD headache intracranial {border-style optic Medicine px;} #ffffff;} used using studies values Diagnostic Fig control elevated Available Sciences [Internet]. diameter from: nerve Health Imaging MRI brain clinical pressure signs value Study current measurements possible ETD Headache Vaiman age compared evaluation measured performed px; sheath tool {font-family Data IQR Patients diagnosis different font-size groups patients. presenting scans scans, (median .–.). Bekerman ICP, Methods cause correlation diagnose diagnosing diagnostic double; emergency included measurement papilledema) papilledema. ratio significant study. (p<.) (patients .). Axial Computed Furthermore, Intracranial Radiology Research Sigal Signs Tomography border-color border-width comparing curation data funduscopic groups. indicator potentially solid; variables {font-style {font-weight .–.) Analysis However, ICP. Kimiagar Med Nerve Neurol Optic Table according axial bold cases children computed conducted courier; curve early em; excellent female identifying median medical normal ophthalmic patient precise pt;} range significantly specific vein


Flux Design
Documentation
GitHub
A
modern
UI framework built for the
twenty-first century
.
Get Started


| Angiv data her: | Loan Balance, Cumulative Equity, and Interest Payments | |
|---|---|---|
| Amount of the loan ($): | ||
| Annual interest (%): | ||
| Repayment period (years): | ||
| Zipcode (to find lenders): | ||
| Approximate Payments: | ||
| Monthly payment: | $ | |
| Total payment: | $ | |
| Total interest: | $ | |
| Sponsors: | Apply for your loan with one of these fine lenders: |


Next: reduce, Previous: map, Up: Sequences Dictionary
map-into
result-sequence function &rest sequences ⇒ result-sequence
result-sequence—a proper sequence.
function—a designator for a function of as many arguments as there are sequences.
sequence—a proper sequence.
Destructively modifies result-sequence to contain the results of applying function to each element in the argument sequences in turn.
result-sequence and each element of sequences can each be either a list or a vector. If result-sequence and each element of sequences are not all the same length, the iteration terminates when the shortest sequence (of any of the sequences or the result-sequence) is exhausted. If result-sequence is a vector with a fill pointer, the fill pointer is ignored when deciding how many iterations to perform, and afterwards the fill pointer is set to the number of times function was applied. If result-sequence is longer than the shortest element of sequences, extra elements at the end of result-sequence are left unchanged. If result-sequence is nil, map-into immediately returns nil, since nil is a sequence of length zero.
If function has side effects, it can count on being called first on all of the elements with index 0, then on all of those numbered 1, and so on.
(setq a (list 1 2 3 4) b (list 10 10 10 10)) ⇒ (10 10 10 10) (map-into a #'+ a b) ⇒ (11 12 13 14) a ⇒ (11 12 13 14) b ⇒ (10 10 10 10) (setq k '(one two three)) ⇒ (ONE TWO THREE) (map-into a #'cons k a) ⇒ ((ONE . 11) (TWO . 12) (THREE . 13) 14) (map-into a #'gensym) ⇒ (#:G9090 #:G9091 #:G9092 #:G9093) a ⇒ (#:G9090 #:G9091 #:G9092 #:G9093)
Should be prepared to signal an error of type type-error if result-sequence is not a proper sequence. Should be prepared to signal an error of type type-error if sequence is not a proper sequence.
map-into differs from map in that it modifies an existing sequence rather than creating a new one. In addition, map-into can be called with only two arguments, while map requires at least three arguments.
map-into could be defined by:
(defun map-into (result-sequence function &rest sequences) (loop for index below (apply #'min (length result-sequence) (mapcar #'length sequences)) do (setf (elt result-sequence index) (apply function (mapcar #'(lambda (seq) (elt seq index)) sequences)))) result-sequence)
Next: reduce, Previous: map, Up: Sequences Dictionary


WITNESS LIST Revenue & Public Education Funding, Select Committee February 24, 1997-5:00P HB 4 For: Dickens, Linda (TX Instruments Inc.) Ritter, Phil (TX Instruments Inc.) Weekley, Tom (Whalens furniture) Against: Busby, Dick (Busby Maint. and Const.) Koeltzow, Paul F. (himself) Plummer, Jim (Plummer Bros. Supply) Salas, Gary (himself, Landscape Mtn.) On: Bennett, Tony (Temple-Inland Inc.) Howden, Robert (Natl. Fed. of Ind. Bus.) LeBas, James (Governor's Office) Minard, Roger (TABCC) Pinkus, David R. (Small Bus. United of TX) HJR 4 For: Dickens, Linda (TX Instruments Inc.) Ritter, Phil (TX Instruments Inc.) Weekley, Tom (Whalens furniture) Against: Busby, Dick (Busby Maint. and Const.) Plummer, Jim (Plummer Bros. Supply) On: Bennett, Tony (Temple-Inland Inc.) Howden, Robert (Natl. Fed. of Ind. Bus.) LeBas, James (Governor's Office)


--- layout: post status: publish published: true title: Puppet Camp Fall (Autumn) London 2016 author: display_name: neil login: neil email<EMAIL_ADDRESS>url: '' author_login: neil author_email<EMAIL_ADDRESS>wordpress_id: 169 wordpress_url: https://blog.mitese.co.uk/?p=169 date: '2016-11-09 09:16:45 +0000' date_gmt: '2016-11-09 09:16:45 +0000' categories: - Infrastructure tags: - puppet - docker - london - btsync comments: [] ---
A great day in London yesterday at Puppet Camp London 2016 held at the very beautiful Kings Place. The venue was a wonderful setting with its open gallery floors and 'scary' high escalator that spanned 2 floors.
150 or so expectant techies with about half the room as puppet beginners attended at my biggest speaking event so far.
My talk, Can puppet help you run docker on a t2.micro? appeared to be received well by those I had the good fortune to talk to after the event. We also shared a discussion about Docker Persistent Storage for which there is no clear solution yet. Persistent storage is useful for data that changes during the containers life time but not something you would want to 'bake' into an image or layer.
I've been playing with hosting a Wordpress site on Docker, and one solution I've arrived at is using a sync product like BTsync to form a mini network to synchronise data across a number of docker hosts. Another route being investigated for one of our customers is utilising a GlusterFS cluster with NFS client. Storing the data locally to each docker host.
I hope to be invited to speak at another Puppet event soon.


All Requests
| Request ID | Drug | Date | Quantity | By | Department | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{req.requestID}} | {{req.drug}} | {{req.date}} | {{req.amount}} | {{req.userID}} | {{req.department}} | {{req.status == 'pending' ? 'Pending' : req.status}} | |
| Request ID | Drug | Date | Quantity | By | Department | Status | Actions |


| 1 | /* =========================================================== | |
| 2 | * JFreeChart : a free chart library for the Java(tm) platform | |
| 3 | * =========================================================== | |
| 4 | * | |
| 5 | * (C) Copyright 2000-2009, by Object Refinery Limited and Contributors. | |
| 6 | * | |
| 7 | * Project Info: http://www.jfree.org/jfreechart/index.html | |
| 8 | * | |
| 9 | * This library is free software; you can redistribute it and/or modify it | |
| 10 | * under the terms of the GNU Lesser General Public License as published by | |
| 11 | * the Free Software Foundation; either version 2.1 of the License, or | |
| 12 | * (at your option) any later version. | |
| 13 | * | |
| 14 | * This library is distributed in the hope that it will be useful, but | |
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
| 16 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | |
| 17 | * License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU Lesser General Public | |
| 20 | * License along with this library; if not, write to the Free Software | |
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | |
| 22 | * USA. | |
| 23 | * | |
| 24 | * [Java is a trademark or registered trademark of Sun Microsystems, Inc. | |
| 25 | * in the United States and other countries.] | |
| 26 | * | |
| 27 | * --------------- | |
| 28 | * PanHandler.java | |
| 29 | * --------------- | |
| 30 | * (C) Copyright 2009, by Object Refinery Limited. | |
| 31 | * | |
| 32 | * Original Author: David Gilbert (for Object Refinery Limited); | |
| 33 | * Contributor(s): -; | |
| 34 | * | |
| 35 | * Changes: | |
| 36 | * -------- | |
| 37 | * 11-Jun-2009 : Version 1 (DG); | |
| 38 | * | |
| 39 | */ | |
| 40 | ||
| 41 | package org.jfree.chart.panel; | |
| 42 | ||
| 43 | import java.awt.Cursor; | |
| 44 | import java.awt.Point; | |
| 45 | import java.awt.event.MouseEvent; | |
| 46 | import java.awt.geom.Rectangle2D; | |
| 47 | import org.jfree.chart.ChartPanel; | |
| 48 | import org.jfree.chart.JFreeChart; | |
| 49 | import org.jfree.chart.plot.Pannable; | |
| 50 | import org.jfree.chart.plot.Plot; | |
| 51 | import org.jfree.chart.plot.PlotOrientation; | |
| 52 | import org.jfree.chart.plot.PlotRenderingInfo; | |
| 53 | ||
| 54 | /** | |
| 55 | * Handles panning operations in a {@link ChartPanel} if the plot supports | |
| 56 | * panning (see the {@link Pannable} interface). | |
| 57 | * | |
| 58 | * @since 1.2.0 | |
| 59 | */ | |
| 60 | public class PanHandler extends AbstractMouseHandler { | |
| 61 | ||
| 62 | /** | |
| 63 | * Temporary storage for the width and height of the chart | |
| 64 | * drawing area during panning. | |
| 65 | */ | |
| 66 | private double panW, panH; | |
| 67 | ||
| 68 | /** The last mouse position during panning. */ | |
| 69 | private Point panLast; | |
| 70 | ||
| 71 | /** | |
| 72 | * Creates a new instance. | |
| 73 | */ | |
| 74 | public PanHandler() { | |
| 75 | super(); | |
| 76 | this.panLast = null; | |
| 77 | } | |
| 78 | ||
| 79 | /** | |
| 80 | * Handles a mouse pressed event. | |
| 81 | * | |
| 82 | * @param e the event. | |
| 83 | */ | |
| 84 | public void mousePressed(MouseEvent e) { | |
| 85 | ChartPanel panel = (ChartPanel) e.getSource(); | |
| 86 | Plot plot = panel.getChart().getPlot(); | |
| 87 |
1
1. mousePressed : negated conditional → NO_COVERAGE |
if (!(plot instanceof Pannable)) { |
| 88 | return; // there's nothing for us to do | |
| 89 | } | |
| 90 | Pannable pannable = (Pannable) plot; | |
| 91 |
2
1. mousePressed : negated conditional → NO_COVERAGE 2. mousePressed : negated conditional → NO_COVERAGE |
if (pannable.isDomainPannable() || pannable.isRangePannable()) { |
| 92 | Rectangle2D screenDataArea = panel.getScreenDataArea(e.getX(), | |
| 93 | e.getY()); | |
| 94 |
2
1. mousePressed : negated conditional → NO_COVERAGE 2. mousePressed : negated conditional → NO_COVERAGE |
if (screenDataArea != null && screenDataArea.contains( |
| 95 | e.getPoint())) { | |
| 96 | this.panW = screenDataArea.getWidth(); | |
| 97 | this.panH = screenDataArea.getHeight(); | |
| 98 | this.panLast = e.getPoint(); | |
| 99 |
1
1. mousePressed : removed call to org/jfree/chart/ChartPanel::setCursor → NO_COVERAGE |
panel.setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR)); |
| 100 | } | |
| 101 | } | |
| 102 | // the actual panning occurs later in the mouseDragged() method | |
| 103 | } | |
| 104 | ||
| 105 | /** | |
| 106 | * Handles a mouse dragged event. This is where the panning occurs. | |
| 107 | * | |
| 108 | * @param e the event. | |
| 109 | */ | |
| 110 | public void mouseDragged(MouseEvent e) { | |
| 111 | // handle panning if we have a start point | |
| 112 |
1
1. mouseDragged : negated conditional → NO_COVERAGE |
if (this.panLast == null) { |
| 113 | return; | |
| 114 | } | |
| 115 | ChartPanel panel = (ChartPanel) e.getSource(); | |
| 116 | JFreeChart chart = panel.getChart(); | |
| 117 |
1
1. mouseDragged : Replaced double subtraction with addition → NO_COVERAGE |
double dx = e.getX() - this.panLast.getX(); |
| 118 |
1
1. mouseDragged : Replaced double subtraction with addition → NO_COVERAGE |
double dy = e.getY() - this.panLast.getY(); |
| 119 |
2
1. mouseDragged : negated conditional → NO_COVERAGE 2. mouseDragged : negated conditional → NO_COVERAGE |
if (dx == 0.0 && dy == 0.0) { |
| 120 | return; | |
| 121 | } | |
| 122 |
2
1. mouseDragged : removed negation → NO_COVERAGE 2. mouseDragged : Replaced double division with multiplication → NO_COVERAGE |
double wPercent = -dx / this.panW; |
| 123 |
1
1. mouseDragged : Replaced double division with multiplication → NO_COVERAGE |
double hPercent = dy / this.panH; |
| 124 | boolean old = chart.getPlot().isNotify(); | |
| 125 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Plot::setNotify → NO_COVERAGE |
chart.getPlot().setNotify(false); |
| 126 | Pannable p = (Pannable) chart.getPlot(); | |
| 127 | PlotRenderingInfo info = panel.getChartRenderingInfo().getPlotInfo(); | |
| 128 |
1
1. mouseDragged : negated conditional → NO_COVERAGE |
if (p.getOrientation() == PlotOrientation.VERTICAL) { |
| 129 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Pannable::panDomainAxes → NO_COVERAGE |
p.panDomainAxes(wPercent, info, this.panLast); |
| 130 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Pannable::panRangeAxes → NO_COVERAGE |
p.panRangeAxes(hPercent, info, this.panLast); |
| 131 | } | |
| 132 | else { | |
| 133 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Pannable::panDomainAxes → NO_COVERAGE |
p.panDomainAxes(hPercent, info, this.panLast); |
| 134 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Pannable::panRangeAxes → NO_COVERAGE |
p.panRangeAxes(wPercent, info, this.panLast); |
| 135 | } | |
| 136 | this.panLast = e.getPoint(); | |
| 137 |
1
1. mouseDragged : removed call to org/jfree/chart/plot/Plot::setNotify → NO_COVERAGE |
chart.getPlot().setNotify(old); |
| 138 | return; | |
| 139 | } | |
| 140 | ||
| 141 | /** | |
| 142 | * Handles a mouse released event. | |
| 143 | * | |
| 144 | * @param e the event. | |
| 145 | */ | |
| 146 | public void mouseReleased(MouseEvent e) { | |
| 147 | // if we've been panning, we need to reset now that the mouse is | |
| 148 | // released... | |
| 149 |
1
1. mouseReleased : negated conditional → NO_COVERAGE |
if (this.panLast != null) { |
| 150 | ChartPanel panel = (ChartPanel) e.getSource(); | |
| 151 | this.panLast = null; | |
| 152 |
1
1. mouseReleased : removed call to org/jfree/chart/ChartPanel::setCursor → NO_COVERAGE |
panel.setCursor(Cursor.getDefaultCursor()); |
| 153 |
1
1. mouseReleased : removed call to org/jfree/chart/ChartPanel::clearLiveMouseHandler → NO_COVERAGE |
panel.clearLiveMouseHandler(); |
| 154 | } | |
| 155 | } | |
| 156 | ||
| 157 | } | |
| 158 | ||
Mutations | ||
| 87 |
1.1 |
|
| 91 |
1.1 2.2 |
|
| 94 |
1.1 2.2 |
|
| 99 |
1.1 |
|
| 112 |
1.1 |
|
| 117 |
1.1 |
|
| 118 |
1.1 |
|
| 119 |
1.1 2.2 |
|
| 122 |
1.1 2.2 |
|
| 123 |
1.1 |
|
| 125 |
1.1 |
|
| 128 |
1.1 |
|
| 129 |
1.1 |
|
| 130 |
1.1 |
|
| 133 |
1.1 |
|
| 134 |
1.1 |
|
| 137 |
1.1 |
|
| 149 |
1.1 |
|
| 152 |
1.1 |
|
| 153 |
1.1 |


Magnifying Glass Cursor
Magnifying glass effect for accurate digitizing down to the pixel!
PinPoint Digitizer is an open-source, desktop application to extract data from images of plots.
Designed for maximum accuracy and an intuitive workflow.
DownloadPinPoint is released under the MIT license. Feel free to contribute.
Magnifying Glass Cursor
Magnifying glass effect for accurate digitizing down to the pixel!
Screen capture
Easily digitize images from PDFs, web pages, etc. by taking a screenshot right in the app.
... and more
numeric summary, unlimited point deletion/adjustments, multiple data export options


All of the standard Liquid
tags are supported.
Jekyll has a few built in tags to help you build your site.
You can also create your own tags using plugins.
If you have page snippets that you use repeatedly across your site,
an include is the perfect way to make this more maintainable.
Jekyll has built in support for syntax highlighting of over 100 languages thanks to Rouge.
Rouge is the default highlighter in Jekyll 3 and above.
To render a code block with syntax highlighting, surround your code as follows:
{% highlight ruby %} def foo puts 'foo' end {% endhighlight %}
The argument to the highlight
tag (ruby
in the example above) is the language identifier.
To find the appropriate identifier to use for the language you want to highlight,
look for the “short name” on the Rouge wiki.
There is a second argument to highlight
called linenos
that is optional.
Including the linenos
argument will force the highlighted code to include line numbers.
For instance, the following code block would include line numbers next to each line:
{% highlight ruby linenos %} def foo puts 'foo' end {% endhighlight %}
In order for the highlighting to show up, you'll need to include a highlighting stylesheet.
For Pygments or Rouge you can use a stylesheet for Pygments,
you can find an example gallery
here
or from its repository.
Copy the CSS file (native.css
for example) into your css directory and
import the syntax highlighter styles into your main.css
:
@import "native.css";
To link to a post, a page, collection item, or file,
the link
tag will generate the correct permalink URL for the path you specify.
For example, if you use the link
tag to link to mypage.html
,
even if you change your permalink style to include the file extension or omit it,
the URL formed by the link
tag will always be valid.
You must include the file's original extension when using the link
tag.
Here are some examples:
{% link _collection/name-of-document.md %} {% link _posts/2016-07-26-name-of-post.md %} {% link news/index.html %} {% link /assets/files/doc.pdf %}
You can also use the link
tag to create a link in Markdown as follows:
[Link to a document]({% link _collection/name-of-document.md %}) [Link to a post]({% link _posts/2016-07-26-name-of-post.md %}) [Link to a page]({% link news/index.html %}) [Link to a file]({% link /assets/files/doc.pdf %})
The path to the post, page, or collection is defined as the path relative to the root directory (where your config file is) to the file, not the path from your existing page to the other page.
For example, suppose you're creating a link in page_a.md
(stored in pages/folder1/folder2
) to page_b.md
(stored in pages/folder1
).
Your path in the link would not be ../page_b.html
.
Instead, it would be /pages/folder1/page_b.md
.
If you're unsure of the path, add {{ page.path }}
to the page and it will display the path.
One major benefit of using the link
or post_url
tag is link validation.
If the link doesn't exist, Jekyll won't build your site.
This is a good thing, as it will alert you to a broken link so you can fix it
(rather than allowing you to build and deploy a site with broken links).
Note you cannot add filters to link
tags.
For example, you cannot append a string using Liquid filters, such as {% link mypage.html | append: "#section1" %}
.
To link to sections on a page, you will need to use regular HTML or Markdown linking techniques.
The name of the file you want to link can be specified as a variable instead of an actual file name.
For example, suppose you defined a variable in your page's front matter like this:
--- title: My page my_variable: footer_company_a.html ---
You could then reference that variable in your link:
{% link {{ page.my_variable }} %}
In this example, the link
tag would render a link to the file footer_company_a.html
.
If you want to include a link to a post on your site,
the post_url
tag will generate the correct permalink URL for the post you specify.
{% post_url 2010-07-21-name-of-post %}
If you organize your posts in subdirectories, you need to include subdirectory path to the post:
{% post_url /subdir/2010-07-21-name-of-post %}
There is no need to include the file extension when using the post_url
tag.
You can also use this tag to create a link to a post in Markdown as follows:
[Name of Link]({% post_url 2010-07-21-name-of-post %})


When we use the Internet, more often than not, information about us is being transmitted to other parties. Sometimes this information is simple, like a tracking identifier, and sometimes it's very personal, like your name, birth date, or credentials.
This information is leaked differently when you use an online service via a Web site and an app. So a natural question is, which is worse, app or Web?
This site helps you answer this question for several popular services (e.g., Yelp, Priceline, and ESPN) that we analyzed in our lab using controlled experiments. We figured out what other parties these services contact over the Internet, and which of your data they share with those parties.
Use the interface on this site to select a service, and mobile OS, and how much each type of personal information matters to you. As you change the importance of each information leak using the sliders, the page will update with new rankings.
Note that due to responsible disclosure, we have elided cases of password leaks to third parties while the developers fix their vulnerabilities.


--- layout: post title: How to Track Six Key Metrics for Your Web App date: '2010-09-06T02:59:00.001+01:00' author: solrevdev tags: modified_time: '2010-09-06T02:59:03.923+01:00' blogger_id: tag:blogger.com,1999:blog-31446756.post-6100425102192523142 blogger_orig_url: http://www.solrevdev.com/2010/09/how-to-track-six-key-metrics-for-your.html ---


MeetUp ENTIRC - ECMAScript 6 - Os novos recursos #9
Map/Set and WeakMap/WeakSet
Set Data-Structure
Mapa Data-Structure
Weak-Link Data-Structures
Referências
ECMAScript 6 — New Features: Overview & Comparison
Livro You Don't Know JS - ES6 and Beyond (Kyle Simpson) - Collections
Livro Exploring ES6 (Axel Rauschmayer) - Maps and Sets
MDN - Map
MDN - Set
MDN - WeakMap
MDN - WeakSet
Wikipedia - Weak Reference


set.seed(12)
library(reinforcelearn)
A reinforcement learning agent usually consists of three parts: a policy, a value function representation and an algorithm which updates the value function or policy parameters. In the following it will be explained how to create an agent in reinforcelearn
to solve an environment.
You can create an agent with the function makeAgent
. This will create an R6 class object with the corresponding policy, value function and algorithm.
env = makeEnvironment("gridworld", shape = c(3, 3), goal.states = 0L)
agent = makeAgent(policy = "softmax", val.fun = "table", algorithm = "qlearning")
Then you can run the agent in the environment by calling interact
for a specified number of steps or episodes.
interact(env, agent, n.episodes = 5L)
#> Episode 1 finished after 1 steps with a return of -1
#> Episode 2 finished after 25 steps with a return of -25
#> Episode 3 finished after 3 steps with a return of -3
#> Episode 4 finished after 15 steps with a return of -15
#> Episode 5 finished after 5 steps with a return of -5
#> $returns
#> [1] -1 -25 -3 -15 -5
#>
#> $steps
#> [1] 1 25 3 15 5
Note that interact
returns a list with the number of steps and returns per episode. Furthermore it will change the environment and agent object. So the environment’s state or the agent’s value function weights will have most likely changed after the interaction.
Although you can directly access the agent object, this is not recommended as this will be very likely to change in the next package versions. Instead use one of the accessor functions to e.g. get the weights of the action value function.
getValueFunction(agent)
#> [,1] [,2] [,3] [,4]
#> [1,] 0.00000 0.0000 0.0000 0.0000
#> [2,] -0.40951 -0.3081 -0.3439 0.0000
#> [3,] -0.40951 -0.3900 -0.3710 -0.2000
#> [4,] 0.00000 -0.1000 0.0000 0.0000
#> [5,] 0.00000 -0.2900 -0.1900 0.0000
#> [6,] -0.27100 -0.1000 -0.2900 -0.1900
#> [7,] 0.00000 0.0000 0.0000 0.0000
#> [8,] 0.00000 0.0000 0.0000 0.0000
#> [9,] 0.00000 -0.1000 -0.2000 -0.3439
A policy is the agent’s behavior function. We can define the policy with makePolicy
.
# Uniform random policy
makePolicy("random")
#> $name
#> [1] "random"
#>
#> $args
#> list()
#>
#> attr(,"class")
#> [1] "Policy"
# Epsilon-greedy policy
makePolicy("epsilon.greedy", epsilon = 0.2)
#> $name
#> [1] "epsilon.greedy"
#>
#> $args
#> $args$epsilon
#> [1] 0.2
#>
#>
#> attr(,"class")
#> [1] "Policy"
# Softmax policy
makePolicy("softmax")
#> $name
#> [1] "softmax"
#>
#> $args
#> list()
#>
#> attr(,"class")
#> [1] "Policy"
This will just capture what policy to use and the policy will then be created when we create the agent.
Many reinforcement learning algorithms use a value function to learn values of state and action pairs. The value function can be represented with different types of function approximation, e.g. as a table or neural network.
makeValueFunction("table", n.states = 9L, n.actions = 4L)
#> $name
#> [1] "table"
#>
#> $args
#> $args$n.states
#> [1] 9
#>
#> $args$n.actions
#> [1] 4
#>
#>
#> attr(,"class")
#> [1] "ValueFunction"
For a neural network you can use the keras
package. Therefore you need to specify a the model’s architecture and pass these on to makeValueFunction
.
library(keras)
model = keras_model_sequential() %>%
layer_dense(shape = 10L, input_shape = 4L, activation = "linear") %>%
compile(optimizer = optimizer_sgd(lr = 0.1), loss = "mae")
makeValueFunction("neural.network", model)
Note that online neural network training is currently very slow. One way to work with this is to make updates to the value function not after every interaction, but to store all interactions in a replay memory and make updates to the neural network only once in a while. Read more about this in Section Experience Replay.
Often you need to preprocess the state observation in a way the agent can work with this. Therefore you can pass on a function to the preprocess
argument of makeAgent
, which will then be applied to the state observation before the agent learns on this.
For neural network training the outcome of preprocess
must be a one-row matrix in order to be able to learn.
The algorithm defines how to learn from an interaction with the environment. We can set up an algorithm using the function makeAlgorithm
.
makeAlgorithm("qlearning")
#> $name
#> [1] "qlearning"
#>
#> $args
#> list()
#>
#> attr(,"class")
#> [1] "Algorithm"
If we have defined policy, value function and algorithm we can create the agent by calling makeAgent
.
policy = makePolicy("epsilon.greedy", epsilon = 0.2)
val.fun = makeValueFunction("table", n.states = 9L, n.actions = 4L)
algorithm = makeAlgorithm("qlearning")
agent = makeAgent(policy, val.fun, algorithm)
Note that you can also call makeAgent
with character arguments which can save some typing.
agent = makeAgent("epsilon.greedy", "table", "qlearning",
policy.args = list(epsilon = 0.2))
You can run an interaction between an agent and environment with the interact
function.
env = makeEnvironment("gridworld", shape = c(3, 2), goal.states = 0L)
agent = makeAgent("random")
interact(env, agent, n.steps = 3L, visualize = TRUE)
#> - -
#> o -
#> - -
#>
#> - -
#> o -
#> - -
#>
#> - -
#> - o
#> - -
#>
#> $returns
#> numeric(0)
#>
#> $steps
#> integer(0)
It allows you to run an interaction for a specified number of steps or episodes and you can also specify a maximum number of steps per episode. This makes it very flexible to step through the environment one action after the other.  Therefore all the states, actions, rewards and subsequent states will be stored in a list (the so called replay memory) and at each step a random batch from this memory will be replayed.
(memory = makeReplayMemory(size = 2L, batch.size = 1L))
#> $size
#> [1] 2
#>
#> $batch.size
#> [1] 1
#>
#> attr(,"class")
#> [1] "ReplayMemory"
agent = makeAgent("random", replay.memory = memory)
interact(env, agent, n.steps = 2L, visualize = TRUE)
#> - - - -
#> - - o -
#> - - - -
#> - - - -
#>
#> - - - -
#> - - - -
#> - - o -
#> - - - -
#>
#> $returns
#> numeric(0)
#>
#> $steps
#> integer(0)
getReplayMemory(agent)
#> [[1]]
#> [[1]]$state
#> [1] 10
#>
#> [[1]]$action
#> [1] 2
#>
#> [[1]]$reward
#> [1] -1
#>
#> [[1]]$next.state
#> [1] 6
#>
#>
#> [[2]]
#> [[2]]$state
#> [1] 6
#>
#> [[2]]$action
#> [1] 3
#>
#> [[2]]$reward
#> [1] -1
#>
#> [[2]]$next.state
#> [1] 10
Here is an example training with experience replay, where the value function is updated only every 21 steps.
env = makeEnvironment("gridworld", shape = c(4, 4), goal.states = c(0, 15))
policy = makePolicy("epsilon.greedy", epsilon = 0.1)
memory = makeReplayMemory(size = 100L, batch.size = 20L)
agent = makeAgent(policy, "table", "qlearning", replay.memory = memory)
for (i in 1:100) {
interact(env, agent, n.steps = 20L, learn = FALSE)
interact(env, agent, n.steps = 1L, learn = TRUE)
}
action.vals = getValueFunction(agent)
matrix(getStateValues(action.vals), ncol = 4L)
#> [,1] [,2] [,3] [,4]
#> [1,] 0.000000 -3.012074 -4.966259 -7.397651
#> [2,] -2.545300 -5.650029 -7.306089 -4.991932
#> [3,] -6.271404 -6.434747 -6.101606 -3.336008
#> [4,] -12.746046 -7.714610 -3.327779 0.000000


menuitem
element test
Pass Criteria
#1: Element is supported
#2: Element has correct HTML and Core Accessibility API mappings
#3: Control is keyboard accessible:
#3.1: MUST be able to activate context menu
#3.2: MUST be able to select and activate a menu item
Reference
HTML menuitem element
HTML Accessibility API Mappings for menuitem element in the command state
Core Accessibility API Mappings for menuitem role
HTML Accessibility API Mappings for menuitem element in the checkbox state
Core Accessibility API Mappings for menuitemcheckbox role
HTML Accessibility API Mappings for checked attribute
Core Accessibility API Mappings for aria-checked="true" state
HTML Accessibility API Mappings for absent checked attribute
Core Accessibility API Mappings for aria-checked="false" state
HTML Accessibility API Mappings for menuitem element in the radio state
Core Accessibility API Mappings for menuitemradio role
Test mi-001: Menuitem element with type="command"
I have a number of command menuitems in my context menu. Right click (or equivalent) to test
Test mi-002: Menuitem element with type="checkbox"
I have a number of checkbox menuitems in my context menu. Right click (or equivalent) to test
Test mi-003: Menuitem element with type="radio"
I have a number of radio menuitems in my context menu. Right click (or equivalent) to test


Andromeda's Vault
Elder Scrolls V: Skyrim
Slay Some Dragons
Ninja Gaiden
Kill some foo's.
Witcher 3
Hunt Monsters with Geralt
Dishonored 2
Play a Master Assassin
Previous
Next
Enter Title
Enter Year Released
Enter Genre
Enter IGN Score
Enter Story
Enter Developer
Submit


Hair by superkate!
I love to work on hair.
I love colorful hair most of all!
I would probably love to work on your hair.
Email me and we can talk about how we can
make your dream hair a reality.
Education
In January of 2021, I graduated from
Frederick and Charles Beauty School
where they encouraged me to explore my passion
(bordering on obsession)
for colorful hair.
Contact superkate!
Please note that I cannot charge for services
until I complete my state board
and licensing requirements
(though I happily accept donations)


Woman found dead in mobile home after clothes catch fire
BATH, Pa. (AP) - Authorities are investigating the death of a woman found unresponsive after her clothing apparently caught fire in a mobile home in eastern Pennsylvania.
The Northampton County coroner said 73-year-old Elizabeth Grube was found after police went to the Scotty's Manufactured Homes park for ages 55 and older to check on her at about 6:45 p.m. Friday.
Coroner Zachary Lysek said Saturday he hadn't yet determined a cause or manner of death. He said an autopsy was scheduled but further tests would likely be needed.
Lysek said Grube's clothing had apparently caught fire but didn't say whether that contributed to her death. The fire apparently hadn't spread to the home. The cause remains under investigation.
Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.


The Code Book is a collection of code that are already developed.A beginner programmers can view a sample.


Create a Co-Make account, and check out the issues at hand in your community. If you don't see something you're looking for, create a new Make request!
Once you find the issues you're most concerned about, vote for it to be addressed by your local government.
Then, watch as your community becomes the voice of your town. Sit back and watch government make the decisions for the greater good, by the greater good.


Duration Interface
A Duration represents a time span. A duration can be negative.
Default class
Extends
Implemented by
Constructors
Code const Duration([int days, int hours, int minutes, int seconds, int milliseconds]) #
The duration is the sum of all individual parts. This means that individual parts don't need to be less than the next-bigger unit. For example hours is allowed to have a value greater than 23.
All individual parts are allowed to be negative. All arguments are by default 0.
const Duration([int days, int hours, int minutes, int seconds, int milliseconds]);
Static Fields
Code final int MILLISECONDS_PER_DAY #
static final int MILLISECONDS_PER_DAY = MILLISECONDS_PER_HOUR * HOURS_PER_DAY;
Code final int MILLISECONDS_PER_HOUR #
static final int MILLISECONDS_PER_HOUR = MILLISECONDS_PER_MINUTE * MINUTES_PER_HOUR;
Code final int MILLISECONDS_PER_MINUTE #
static final int MILLISECONDS_PER_MINUTE = MILLISECONDS_PER_SECOND * SECONDS_PER_MINUTE;
Code final int MINUTES_PER_DAY #
static final int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
Code final int SECONDS_PER_DAY #
static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
Code final int SECONDS_PER_HOUR #
static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR;
Fields
Code final int inDays #
Returns this Duration in days. Incomplete days are discarded.
final int inDays;
Code final int inHours #
Returns this Duration in hours. Incomplete hours are discarded. The returned value can be greater than 23.
final int inHours;


Deleting a Document
How to permanently delete a document from the Documents module.
- Click the Edit button located to the left of the document to be deleted. This opens the Edit Documents page.
- Click the Delete link. This displays the message "Are You Sure You Wish To Delete This Item?"
- Click the OK button to confirm deletion.


You stayed in the pond with your friend, and you lived very happily. You and your friend played games, explored, and lived in peace.


--- layout: newsstory title: THE MAGNIFICENT SEVEN match: Halesowen Harriers 1 Yeltz 7 ---
A complete stuffing of our "local" rivals to keep them in their place. Goals from Payne, Mason, Dodds, Griffiths, Clinton, Darroch and an own goal lead to our biggest win since the last big one (you can find results for the last five seasons in Anorak Corner if you fancy looking - although I guessing it was before that)
Saturday brings another Conference team to The Grove - this time old FA Cup rivals Telford United .


Create course
Course code
Name (english)
Name (danish)
Study programme
Language
Danish
English
Semester
1
2
3
4
Ects
Student info
Minimum
Maximum
Expected
Description info
Prerequisites
Learning outcome
Content
Learning activities
Exam form
Create


{% extends "imagina/base.html" %} {% block title %}Imagina{% endblock %} {% block content %} {% if latest_game_list %}
Games waiting for players to startNo games to join are available.
{% endif %} {% if latest_game_in_progress %} Games in progressNo game in progress.
{% endif %} Start a new game


|
I'am a paragraph. Click here to add your own text and edit me.
It's easy. Just click "Edit Text" or double click me and you
can start adding your own content and make changes to the font.
Feel free to drag and drop me anywhere you like on your page.
I'am a great place for you to write more. Tell a story and let
your users get to know you.
|
I'am a paragraph. Click here to add your own text and edit me.
It's easy. Just click "Edit Text" or double click me and you
can start adding your own content and make changes to the font.
I'am a great place for you to write more. Tell a story and let
your users get to know little more about you.
|
- Strategy & Organization
- Corporate Development
- Globalization
- Operation Management
- Corporate Finance
- IT Management
|


What will your verse be?
Everyone has something to share. See how people are using iPad in their unique ways to add to the world’s story.
Watch the “Your Verse” film and explore the stories
Store
Mac
iPod
iPhone
iPad
iTunes
Support


Japanese example: ご飯が熱い。
The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation.
<blockquote>
The quote element — <q> — is intended for short quotations that don't require paragraph breaks.
<q>
intended for short quotations that don't require paragraph breaks.


The Penn State IFC/Panhellenic Dance MaraTHON is an annual, year-round fundraising event for The Four Diamonds Fund, at the Penn State Children’s Hospital in Hershey, PA. Over the past 40 years, the students of Penn State have raised over $80 million and continue to lend support to thousands of children and families fighting pediatric cancer. The year culminates in a no-sitting, no-sleeping, 46-hour dance maraTHON held every February. Over the years, THON has raised more than $136 million to support families in paying for pediatric cancer treatment and facilitate research. This collective effort, involving more than 16,000 students, has become one of Penn State’s greatest and most unifying traditions. As a percentage of Infusion's proceeds goes towards THON, your sponsorship will benefit a great cause.
Over the years, THON has raised more than $136 million to support families in paying for pediatric cancer treatment and facilitate research. Every year, a percentage of Infusion’s proceeds go directly towards this cause. We are proud to be a part of one of Penn State’s greatest and most unifying traditions, and hope to continue playing our part in the community for years to come. Your sponsorship will benefit a great cause and help us enrich the lives of children and families who are fighting against pediatric cancer.
Sakhi For South Asian Women
Our philanthropy, Sakhi, works with survivors and allies to advocate for systemic changes in policy and practice at the local, state, and federal levels. The foundation represents the South Asian diaspora in an intergenerational, survivor-led movement for gender justice. Sakhi focuses on direct services, advocacy, and organizing, through programs such as the Anti-Violence Program, Economic Empowerment Program, Food Justice Program, Mental Health Program, Safe Housing Program, Education & Career Assistance, Documentation, and Financial & Legal Clinics. The organization is based in New York City and focuses on helping the South Asian community throughout the Northeast.
Each year, Infusion partners with a non-profit organization with a mission aligned with our core values. Sakhi is committed to serving survivors through a combination of efforts including - but not limited to - direct services, advocacy and organizing, technical assistance, and community outreach. We are proud to work hand in hand with this incredible organization, which does everything in its power to help the South Asian community. A percentage of Infusion 2023’s proceeds will go towards this foundation and your sponsorship can help benefit a great cause!
American India Foundation
In the wake of the COVID-19 pandemic, many migrant workers in India found themselves homeless and unemployed during their seasonal migration. As per the World Bank, more than 40 million of these migrants have been devastated by COVID-19 induced socio-economic distress. The America India Foundation has been working tirelessly in 17 states to provide COVID relief to these workers in the form of comprehensive hygiene kits, masks, medical supplies, and educational materials.
Through our online platform and social media presence, Infusion was able to raise more than $400 for AIF’s Rebuilding Lives campaign, which is a comprehensive effort to assist those affected by COVID in migrant communities in India.


The Basics of the Web and HTML
The World Wide Web
It's a collection of HTML documents.
The links between the pages are called Hyper Links.
File Types
On the web we can find plain text, HTML, images, videos and music.
Components of the Web
Browser: A program that runs on your computer to display files found on the web
The internet: The world's largest computer network
HTTP: The main protocol of the web
Servers: Computers that host the files that make up the web
HTML Basics
HyperText Markup Language is made by text content, markup, references to other documents and
links to other pages.
HTML Tags
Tags are structured with an opening and closing tag, which have in the middle the content. The whole thing is refered to as the
element.
Why computers are studpid
It is very important that we are carefull and we code correctly. Otherwise, the computer will not understand your order and
mistakes will start to appear, as it will follow your orders literally.
Inline vs Block elements
HTML elements can be inline or block. Elements like anchor (a) are inlines whilst others like paragraph (p) are blocks.
Block makes an invisible box around the element, that has a height and width whilst inline elements
are just text.


Add
Delete
|<
<
0/0
>
>|
Edit
Exit Edit
Save
Undo
Redo
Rotate Left
Rotate Right
Mirror
Flip
Crop
Download


Portunus
Servers
Clusters
Clients
Select instance
Client overview
Add
IP address
Description
Delete
Add client
×
Enter optional client description:
Delete
Wireguard Config
Wireguard Config
Overview:
Client ip:
Public key:
Copy/paste into server config: