Base for all objects that can be part of the index file , namely Tree, Blob and SubModule objects
Absolute path to this index object in the file system ( as opposed to the .path field which is a path relative to the git repository ).
The returned path will be native to the system and contains ‘’ on windows.
Implements an Object which may be Blobs, Trees, Commits and Tags
This Object also serves as a constructor for instances of the correct type:
inst = Object.new(repo,id)
inst.sha # objects sha in hex
inst.size # objects uncompressed data size
inst.data # byte string containing the whole data of the object
Writes our data directly to the given output stream
Wraps a git Commit object.
This class will act lazily on some of its attributes and will query the value on demand only if it involves calling the git binary.
Count the number of commits reachable from this commit
Commit the given tree, creating a commit object.
Find all commits matching the given criteria.
Iterate _all_ parents of this commit.
Create a git stat from changes between this commit and its first parent or from all changes done if this is the very first commit.
Module containing all object based types.
Tress represent a ordered list of Blobs and other Trees. Hence it can be accessed like a list.
Tree’s will cache their contents after first retrieval to improve efficiency.
Tree as a list:
Access a specific blob using the
tree['filename'] notation.
You may as well access by index
blob = tree[0]
For documentation, see utils.Traversable.traverse
Trees are set to visist_once = False to gain more performance in the traversal
Module for general utility functions
Class wireing all calls to the contained Process instance.
Use this type to hide the underlying process to provide access only to a specified stream. The process is usually wrapped into an AutoInterrupt class to kill it if the instance goes out of scope.
Simple interface to perforam depth-first or breadth-first traversals into one direction. Subclasses only need to implement one function. Instances of the Subclass must be hashable
Parse out the actor (author or committer) info from a line like:
author Tom Preston-Werner<EMAIL_ADDRESS>1191999972 -0700
The Git class manages communication with the Git binary.
It provides a convenient interface to calling the Git binary, such as in:
g = Git( git_dir )
g.init() # calls 'git init' program
rval = g.ls_files() # calls 'git ls-files' program
Kill/Interrupt the stored process instance once this instance goes out of scope. It is used to prevent processes piling up in case iterators stop reading. Besides all attributes are wired through to the contained process object.
The wait method was overridden to perform automatic status code checking and possibly raise.
Wait for the process and return its status code.
Clear all kinds of internal caches to release resources.
Currently persistent commands will be interrupted.
Handles executing the command on the shell and consumes and returns the returned information (stdout)
Returns:
str(output) # extended_output = False (Default)
tuple(int(status), str(stdout), str(stderr)) # extended_output = True
if ouput_stream is True, the stdout value will be your output stream:
output_stream # extended_output = False
tuple(int(status), output_stream, str(stderr))# extended_output = True
As get_object_header, but returns object data as well
Use this method to quickly examine the type and size of the object behind the given ref.
Module containing module parser implementation able to properly read and write configuration files
A Diff contains diff information between two Trees.
It contains two sides a and b of the diff, members are prefixed with “a” and “b” respectively to inidcate that.
Diffs keep information about the changed blob objects, the file mode, renames, deletions and new files.
There are a few cases where None has to be expected as member variable value:
New File:
a_mode is None
a_blob is None
Deleted File:
b_mode is None
b_blob is None
Working Tree Blobs
When comparing to working trees, the working tree blob will have a null hexsha as a corresponding object does not yet exist. The mode will be null as well. But the path will be available though. If it is listed in a diff the working tree version of the file must be different to the version in the index or tree, and hence has been modified.
Implements an Index for diffs, allowing a list of Diffs to be queried by the diff properties.
The class improves the diff handling convenience
Member of DiffIndex.change_type, namely
‘A’ for added paths
‘D’ for deleted paths
‘R’ for renamed paths
‘M’ for paths with modified data
Common interface for all object that can be diffed against another object of compatible type.
Creates diffs between two items being trees, trees and index or an index and the working tree.
Rename detection will only work if create_patch is True.
On a bare repository, ‘other’ needs to be provided as Index or as as Tree/Commit, or a git command error will occour
Module containing all exceptions thrown througout the git package,
Module containing Index implementation, allowing to perform all kinds of index manipulations such as querying and merging.
Small Brother of an index entry which can be created to describe changes done to the index in which case plenty of additional information is not requried.
As the first 4 data members match exactly to the IndexEntry type, methods expecting a BaseIndexEntry can also handle full IndexEntries even if they use numeric indices for performance reasons.
Predicate to be used by iter_blobs allowing to filter only return blobs which match the given list of directories or files.
The given paths are given relative to the repository.
Thrown if a file could not be checked out from the index as it contained changes.
The .failed_files attribute contains a list of relative paths that failed to be checked out as they contained changes that did not exist in the index.
The .failed_reasons attribute contains a string informing about the actual cause of the issue.
The .valid_files attribute contains a list of relative paths to files that were checked out successfully and hence match the version stored in the index
Allows convenient access to IndexEntry data without completely unpacking it.
Attributes usully accessed often are cached in the tuple whereas others are unpacked on demand.
See the properties for a mapping between names and tuple indices.
Uncompressed size of the blob
Implements an Index that can be manipulated using a native implementation in order to save git command function calls wherever possible.
It provides custom merging facilities allowing to merge without actually changing your index or your working tree. This way you can perform own test-merges based on the index only without having to deal with the working copy. This is useful in case of partial working trees.
Entries The index contains an entries dict whose keys are tuples of type IndexEntry to facilitate access.
Otherwise changes to it will be lost when changing the index using its methods.
Merge the given treeish revisions into a new index which is returned. The original index will remain unaltered
One, two or three Tree Objects or Commits. The result changes according to the amount of trees. If 1 Tree is given, it will just be read into a new index If 2 Trees are given, they will be merged into a new index using a
two way merge algorithm. Tree 1 is the ‘current’ tree, tree 2 is the ‘other’ one. It behaves like a fast-forward. If 3 Trees are given, a 3-way merge will be performed with the first tree being the common ancestor of tree 2 and tree 3. Tree 2 is the ‘current’ tree, tree 3 is the ‘other’ one
In the three-way merge case, –aggressive will be specified to automatically resolve more cases in a commonly correct manner. Specify trivial=True as kwarg to override that.
As the underlying git-read-tree command takes into account the current index, it will be temporarily moved out of the way to assure there are no unsuspected interferences.
Resolve the blobs given in blob iterator. This will effectively remove the index entries of the respective path at all non-null stages and add the given blob as new stage null blob.
For each path there may only be one blob, otherwise a ValueError will be raised claiming the path is already at stage 0.
Reread the contents of our index file, discarding all cached information we might have.
Write the current state to our file path or to the given one
Writes the Index in self to a corresponding Tree file into the repository object database and returns it as corresponding Tree object.
Decorator for functions that alter the index using the git command. This would invalidate our possibly existing entries dictionary which is why it must be deleted to allow it to be lazily reread later.
Module containing all ref based objects
Special case of a Symbolic Reference as it represents the repository’s HEAD reference.
Reset our HEAD to the given commit optionally synchronizing the index and working tree. The reference we refer to will be set to commit as well.
A Head is a named reference to a Commit. Every Head instance contains a name and a Commit object.
Examples:
>>> repo = Repo("/path/to/repo")
>>> head = repo.heads[0]
>>> head.name
'master'
>>> head.commit
<git.Commit "1c09f116cbc2cb4100fb6935bb162daa4723f455">
>>> head.commit.sha
'1c09f116cbc2cb4100fb6935bb162daa4723f455'
Checkout this head by setting the HEAD to this reference, by updating the index to reflect the tree we point to and by updating the working tree to reflect the latest index.
The command will fail if changed working tree files would be overwritten.
Create a new head. repo
Repository to create the head in
Delete the given heads
Rename self to a new path
Represents a named reference to any object. Subclasses may apply restrictions though, i.e. Heads can only point to commits.
Create a new reference. repo
Repository to create the reference in
Represents a reference pointing to a remote head.
Delete the given remote references.
NOTE: The returned name is usually not qualified enough to uniquely identify a branch
Represents a special case of a reference such that this reference is symbolic. It does not point to a specific commit, but to another Head, which itself specifies a commit.
A typical example for a symbolic reference is HEAD.
Create a new symbolic reference, hence a reference pointing to another reference. repo
Repository to create the reference in
Delete the reference at the given path
Find all refs in the repository
git.SymbolicReference[], each of them is guaranteed to be a symbolic ref which is not detached.
List is lexigraphically sorted The returned objects represent actual subclasses, such as Head or TagReference
Rename self to a new path
| Returns: | string with a full path name which can be used to initialize |
|---|
a Reference instance, for instance by using Reference.from_path
Class representing a lightweight tag reference which either points to a commit ,a tag object or any other object. In the latter case additional information, like the signature or the tag-creator, is available.
This tag object will always point to a commit object, but may carray additional information in a tag object:
tagref = TagReference.list_items(repo)[0]
print tagref.commit.message
if tagref.tag is not None:
print tagref.tag.message
Create a new tag reference.
If not None, the message will be used in your tag object. This will also create an additional tag object that allows to obtain that information, i.e.:
tagref.tag.message
Module implementing a remote object allowing easy access to git remotes
Carries information about the results of a fetch operation of a single head:
info = remote.fetch()[0]
info.ref # Symbolic Reference or RemoteReference to the changed
# remote head or FETCH_HEAD
info.flags # additional flags to be & with enumeration members,
# i.e. info.flags & info.REJECTED
# is 0 if ref is SymbolicReference
info.note # additional notes given by git-fetch intended for the user
info.old_commit # if info.flags & info.FORCED_UPDATE|info.FAST_FORWARD,
# field is set to the previous location of ref, otherwise None
Carries information about the result of a push operation of a single head:
info = remote.push()[0]
info.flags # bitflags providing more information about the result
info.local_ref # Reference pointing to the local reference that was pushed
# It is None if the ref was deleted.
info.remote_ref_string # path to the remote reference located on the remote side
info.remote_ref # Remote Reference on the local side corresponding to
# the remote_ref_string. It can be a TagReference as well.
info.old_commit # commit at which the remote_ref was standing before we pushed
# it to local_ref.commit. Will be None if an error was indicated
info.summary # summary line providing human readable english text about the push
Provides easy read and write access to a git remote.
Everything not part of this interface is considered an option for the current remote, allowing constructs like remote.pushurl to query the pushurl.
NOTE: When querying configuration, the configuration accessor will be cached to speed up subsequent accesses.
Create a new remote to the given repository repo
Repository instance that is to receive the new remote
You can only own one writer at a time - delete it to release the configuration file and make it useable by others.
To assure consistent results, you should only query options through the writer. Once you are done writing, you are free to use the config reader once again.
Create a new remote to the given repository repo
Repository instance that is to receive the new remote
Fetch the latest changes for this remote
A “refspec” is used by fetch and push to describe the mapping between remote ref and local ref. They are combined with a colon in the format <src>:<dst>, preceded by an optional plus sign, +. For example: git fetch $URL refs/heads/master:refs/heads/origin means “grab the master branch head from the $URL and store it as my origin branch head”. And git push $URL refs/heads/master:refs/heads/to-upstream means “publish my master branch head as to-upstream branch at $URL”. See also git-push(1).
Taken from the git manual
Pull changes from the given branch, being the same as a fetch followed by a merge of branch with your local branch.
Push changes from source branch in refspec to target branch in refspec.
IterableList of RemoteReference objects. It is prefixed, allowing you to omit the remote path portion, i.e.:
remote.refs.master # yields RemoteReference('/refs/remotes/origin/master')
Rename self to the given new_name
IterableList RemoteReference objects that do not have a corresponding head in the remote reference anymore as they have been deleted on the remote side, but are still available locally.
The IterableList is prefixed, hence the ‘origin’ must be omitted. See ‘refs’ property for an example.
Fetch all changes for this remote, including new branches which will be forced in ( in case your local remote branch is not part the new remote branches ancestry anymore ).
Handler providing an interface to parse progress information emitted by git-push and git-fetch and to dispatch callbacks allowing subclasses to react to the progress.
Called whenever the progress changes
Integer allowing to be compared against Operation IDs and stage IDs.
Stage IDs are BEGIN and END. BEGIN will only be set once for each Operation ID as well as END. It may be that BEGIN and END are set at once in case only one progress message was emitted due to the speed of the operation. Between BEGIN and END, none of these flags will be set
Operation IDs are all held within the OP_MASK. Only one Operation ID will be active per call.
You may read the contents of the current line in self._cur_line
Represents a git repository and allows you to query references, gather commit information, generate diffs, create and clone repositories query the log.
The following attributes are worth using:
‘working_dir’ is the working directory of the git command, wich is the working tree directory if available or the .git directory in case of bare repositories
‘working_tree_dir’ is the working tree directory, but will raise AssertionError if we are a bare repository.
‘git_dir’ is the .git repository directoy, which is always set.
The name of the currently active branch.
Archive the tree at the given revision. ostream
file compatible stream object to which the archive will be written
Examples:
>>> repo.archive(open("archive"))
<String containing tar.gz archive>
The blame information for the given file at the given revision.
A list of Head objects representing the branch heads in this repo
Create a clone from this repository.
The Commit object for the specified revision
GitConfigParser allowing to read the full git configuration, but not to write it
The configuration will include values from the system, user and repository configuration files.
NOTE: On windows, system configuration cannot currently be read as the path is unknown, instead the global path will be used.
Create a new head within the repository.
For more documentation, please see the Head.create method.
Create a new remote.
For more information, please see the documentation of the Remote.create methods
Create a new tag reference.
For more documentation, please see the TagReference.create method.
Delete the given heads
A list of Head objects representing the branch heads in this repo
Initialize a git repository at the given path if specified
Examples:
git.Repo.init('/var/git/myrepo.git',bare=True)
A list of Commit objects representing the history of a given ref/commit
revision specifier, see git-rev-parse for viable options. If None, the active branch will be used.
Note: to receive only commits between two named revisions, use the “revA..revB” revision specifier
Note: Takes all arguments known to iter_commits method
A list of Reference objects representing tags, heads and remote references.
A list of Reference objects representing tags, heads and remote references.
A list of Remote objects allowing to access and manipulate remotes
A list of Tag objects that are available in this repo
The Tree object for the given treeish revision
Examples:
repo.tree(repo.heads[0])
list(str,...)
Files currently untracked as they have not been staged yet. Paths are relative to the current working directory of the git command.
Represents stat information as presented by git at the end of a merge. It is created from the output of a diff operation.
Example:
c = Commit( sha1 )
s = c.stats
s.total # full-stat-dict
s.files # dict( filepath : stat-dict )
stat-dict
A dictionary with the following keys and values:
deletions = number of deleted lines as int
insertions = number of inserted lines as int
lines = total number of lines changed as int, or deletions + insertions
full-stat-dict
In addition to the items in the stat-dict, it features additional information:
files = number of changed files as int
This class facilitates a safe write operation to a file on disk such that we:
- lock the original file
- write to a temporary file
- rename temporary file back to the original one on close
- unlock the original file
This type handles error correctly in that it will assure a consistent state on destruction
Defines an interface for iterable items which is to assure a uniform way to retrieve and iterate items within the git repository
For more information about the arguments, see list_items Return:
iterator yielding Items
Find all items of this type - subclasses can specify args and kwargs differently. If no args are given, subclasses are obliged to return all items if no additional arguments arg given.
Note: Favor the iter_items method as it will
List of iterable objects allowing to query an object by id or by named index:
heads = repo.heads
heads.master
heads['master']
heads[0]
It requires an id_attribute name to be set which will be queried from its contained items to have a means for comparison.
A prefix can be specified which is to be used in case the id returned by the items always contains a prefix that does not matter to the user, so it can be left out.
Provides methods to obtain, check for, and release a file based lock which should be used to handle concurrent access to the same file.
As we are a utility class to be derived from, we only use protected methods.
Locks will automatically be released on destruction
Wrapper around a file-like object that remembers the SHA1 of the data written to it. It will write a sha when the stream is closed or if the asked for explicitly usign write_sha.
A python2.4 workaround for the sha/hashlib module fiasco


data.py¶
-
class
data.
Data
(path)¶ An instance of this class stores the data used for learning and prediction. The stored information includes:
- labeled data
- unlabeled data (if uploaded)
- labeled file name
- unlabeled file name (if uploaded)
- number of samples in labeled data
- number of samples in unlabeled data (if uploaded)
- number of features
- type of features (individual and overall)
- number of valid classes
- number of samples per class
- encoded data (integer and one-hot encoding)
Variables: - labeled_data (pandas dataframe) – labeled data for learning classifiers
- unlabeled_data (pandas dataframe) – unlabeled data for prediction
- labeled_name (str) – name of the labeled dataset
- unlabeled_name (str) – name of the unlabeled dataset
- labeled_num_samples (int) – number of samples in the labeled dataset
- unlabeled_num_samples (int) – number of samples in the unlabeled dataset
- num_features_ (int) – number of features
- individual_feature_type (dict) – type of each feature in a dictionary whose keys are feature names
- global_feature_type (str) – an overall summary of feature types (‘continuous’, ‘discrete’, ‘mixed’)
- num_classes_ (int) – number of valid classes
- class_num_samples (dict) – number of samples per class in a dictionary whose keys are class names
- integer_encoded_labeled_data (pandas dataframe) – integer-encoded labeled data
- integer_encoded_unlabeled_data (pandas dataframe) – integer-encoded unlabeled data
- one_hot_encoded_labeled_data (pandas dataframe) – one-hot-encoded labeled data
- one_hot_encoded_unlabeled_data (pandas dataframe) – one-hot-encoded unlabeled data
- num_one_hot_encoded_features (int) – number of features after one-hot encoding
-
__init__
(path)¶ Constructs a new instance of the class.
Parameters: path (str) – file path of the labeled data
-
__weakref__
¶ list of weak references to the object (if defined)
-
add_unlabeled_data
(path)¶ Adds unlabeled data for prediction.
Parameters: path (str) – file path of the unlabeled data
-
encode
()¶ Encodes the data using integer and one-hot encoders.
-
feature_type
(option='global')¶ Returns summary of feature types.
- option=’individual’: type of each feature
- option=’global’: overall summary of feature types
Parameters: option (str) – ‘individual’ or ‘global’ Returns: summary of feature types
-
name
(option='labeled')¶ Returns name of the dataset.
- option=’labeled’: name of labeled data
- option=’unlabeled’: name of unlabeled data
Parameters: option (str) – ‘labeled’ or ‘unlabeled’ Returns: name of the dataset
-
num_classes
()¶ Returns number of valid classes.
Returns: number of valid classes
-
num_features
(option='raw')¶ Returns number of features.
- option=’raw’: number of raw features (raw and integer-encoded data)
- option=’one-hot’: number of features after one-hot encoding
Parameters: option (str) – ‘raw’,’integer’ or ‘one-hot’ Returns: number of features
-
num_samples
(option='labeled')¶ Returns number of samples.
- option=’labeled’: total number of samples in labeled data
- option=’unlabeled’: total number of samples in unlabeled data
- option=’classwise’: number of samples that belong to each class
Parameters: option (str) – ‘labeled’, ‘unlabeled’ or ‘classwise’ Returns: number of samples
-
prediction
(option)¶ Returns encoded unlabeled data for prediction.
- option=’integer’: integer-encoded data
- option=’one-hot’: one-hot-encoded data
Parameters: option (str) – ‘integer’ or ‘one-hot’ Returns: encoded unlabeled data
-
split
(test_size, stratify)¶ Splits labeled data into training and test sets.
Parameters:
-
summary
(view)¶ Displays a summary of the loaded data. This includes
- number of samples (total and classwise)
- number of features
- feature types (individual and global)
The summary is organized in a tree structure.
Parameters: view (QTreeWidget) – the widget where the summary is displayed


Routes
Travel Directions
Trips
Blocks
Route id
Route long name
Route short name
Route Type
Description
URL
Route color
Route text color
Bikes allowed?
Trips for this route
Edit


public class ServerMessageFactory
extends java.lang.Object
GameMessage, Game
| Modifier and Type | Field and Description |
|---|---|
private static java.util.logging.Logger |
LOGGER |
| Constructor and Description |
|---|
ServerMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
static GameMessage |
buildACTCHKmessage(Game game,
Player player,
Action action,
boolean result)
allows to build a ACTCHK message
|
static GameMessage |
buildASKLDRACKmessage(Game game,
Player player,
java.lang.String leaderCard,
java.lang.String decision,
boolean result)
allows to generate a ASKLDRACK message
|
static GameMessage |
buildCHGBOARDSTATmessage(Game game,
Board board)
allows to generate a CHGBOARDSTAT message, describing a variation of the entire board (the card layout)
|
static GameMessage |
buildCHGBOARDSTATmessage(Game game,
boolean turnEndFlag)
allows to generate a CHGBOARDSTAT message, telling the client to flush his board
|
static GameMessage |
buildCHGBOARDSTATmessage(Game game,
java.lang.String playerUUID,
Action action)
allows to generate a CHGBOARDSTAT message, describing a variation of a family member position on the board
|
static GameMessage |
buildCONNESTmessage(java.util.UUID playerId)
allows to build a CONNEST message
|
static GameMessage |
buildCONTEXTACKMessage(Game game,
Player player,
boolean accepted)
allows to build a CONTEXTACK message
|
static GameMessage |
buildCONTEXTmessage(Game game,
Player player,
ContextType type,
java.lang.Object... payload)
allows to generate a CONTEXT message
|
static GameMessage |
buildDICEROLLmessage(Game game,
int blackDice,
int whiteDice,
int orangeDice)
allows to build a DECIROLL message
|
static GameMessage |
buildENDGAMEmessage(Game game,
com.eclipsesource.json.JsonObject ENDGAME)
allows to build a ENDGAME message
|
static GameMessage |
buildGMSTRTmessage(Game game)
allows to generate a GMSTRT message
|
static GameMessage |
buildNAMECHGmessage(Game game,
java.lang.String playerUUID,
java.lang.String name)
allows to generate a NAMECHG message for the
|
static GameMessage |
buildSTATCHNGmessage(Game game,
Player player)
allows to generate a STATCHNG message relative to a specific player
|
static GameMessage |
buildTRNBGNmessage(Game game,
java.util.UUID uuid)
allows to build a TRNBGN message
|
public static GameMessage buildGMSTRTmessage(Game game)
game
- the game object used to build this GMSTRT messagepublic static GameMessage buildSTATCHNGmessage(Game game, Player player)
game
- the game object used to build this STATCHNG messageplayer
- the player which will be described by this STATCHNG messagepublic static GameMessage buildNAMECHGmessage(Game game, java.lang.String playerUUID, java.lang.String name)
game
- the game object used to build this NAMECHG messageplayerUUID
- the UUID of the playername
- the new name of this playerpublic static GameMessage buildASKLDRACKmessage(Game game, Player player, java.lang.String leaderCard, java.lang.String decision, boolean result)
game
- the game object used to build this ASKLDRACK messageplayer
- the recipient of the messageleaderCard
- the name of the leader card used in the leader actiondecision
- the type of action which specify this leader actionresult
- the result of the action, this flag show to the client if the action has been assessed as valid or notpublic static GameMessage buildCHGBOARDSTATmessage(Game game, Board board)
game
- the game object used to build this CHGBOARDSTAT messageboard
- the board which will be represented into this packetBoard
public static GameMessage buildCHGBOARDSTATmessage(Game game, java.lang.String playerUUID, Action action)
game
- the game object used to build this CHGBOARDSTAT messageplayerUUID
- the player that has made the actionaction
- the action which has caused the variation of family member positionAction
public static GameMessage buildCHGBOARDSTATmessage(Game game, boolean turnEndFlag)
game
- the game object used to build this CHGBOARDSTAT messageturnEndFlag
- if settet true, the client must flush his boardpublic static GameMessage buildCONTEXTmessage(Game game, Player player, ContextType type, java.lang.Object... payload)
game
- the game object used to build this CONTEXT messageplayer
- the recipient of the messagetype
- the type of context to openpayload
- the additional information used to customize the contextpublic static GameMessage buildCONTEXTACKMessage(Game game, Player player, boolean accepted)
game
- the game object used to build this CONTEXTACK messageplayer
- the recipient of the messageaccepted
- flag used to tell the client if the response followed by a CONTEXT is valid or notpublic static GameMessage buildACTCHKmessage(Game game, Player player, Action action, boolean result)
game
- the game object used to build this CONTEXTACK messageplayer
- the recipient of the messageaction
- the action which has been appliedresult
- the result of the action, this flag tells the client if his action has been applied or notpublic static GameMessage buildDICEROLLmessage(Game game, int blackDice, int whiteDice, int orangeDice)
game
- the game object used to build this DICEROLL messageblackDice
- the value of the black dicewhiteDice
- the value of the white diceorangeDice
- the value of the orange dicepublic static GameMessage buildTRNBGNmessage(Game game, java.util.UUID uuid)
game
- the game object used to build this TRNBGN messageuuid
- the player which has the lock. i.e. the player which must perform the actionpublic static GameMessage buildENDGAMEmessage(Game game, com.eclipsesource.json.JsonObject ENDGAME)
game
- the game object used to build this ENDGAME messageENDGAME
- the JsonObject containing all the info on the final score of the gamepublic static GameMessage buildCONNESTmessage(java.util.UUID playerId)
playerId
- the player UUID of the client connected


COVID-19 CORONAVIRUS PANDEMIC
Last updated:
Useful Info:
Corona virus Cases Country-wise, Territory, or Conveyance
The coronavirus COVID-19 is affecting 199 countries and territories around the world and 2 international conveyances: the Diamond Princess cruise ship harbored in Yokohama, Japan, and the Holland America's MS Zaandam cruise ship.


{% extends "layout.html" %} {% block content %}
No more endless Facebook posts at the start of each semester posting schedules to find out who else shares a class with you
No need to go back and forth with every person and deciding to cancel last minute because a class came up
Currently on localhost, link sharing on the web coming soon. For now, you can bookmark the link for future reference
PennSchedule is built on the Flask web framework and stores none of your personal information on the cloud. Backend is mainly Python, though front end rendering with Javascript utilized as well.
More infoPennSchedule is proudly presented to you by:
Thanks for stopping by! Feel free to contact us at any time.
Contact the Team


{% extends 'templates/nhs_transaction_layout.html' %} {% import 'includes/form_macros.html' as form_macros %} {% import 'includes/ui_element_macros.html' as ui_element_macros %} {% block afterHeader %} {% include "includes/service-headers/book-an-appointment.html" %} {% endblock %} {% block content %} Choose an appointment {{ practice.name }} {{ practice.address.join('') }} {% for appointment in appointments %} {{ ui_element_macros.appointment_option({ link_url: 'confirm-appointment/' + appointment.uuid, appointment_date: appointment.appointment_date, appointment_time: appointment.appointment_time, appointment_days_away: appointment.appointment_days_away, avatar_img_path: '/public/images/' + appointment.practitioner.photo, name: appointment.practitioner.name, position: appointment.practitioner.role, gender: appointment.practitioner.gender, appointment_length: appointment.appointment_length, appointment_type: appointment.appointment_type, appointment_type_class: appointment.appointment_type_class }) }} {% endfor %} or see next available appointment {% endblock %}
{{ practice.name }} {{ practice.address.join('') }}
or see next available appointment


Contents
Mediation analysis basic walkthrough
This script is explained in more detail in the powerpoint titled Mediation_sample_data_walkthrough
% mediation_example_script1 and 2 do the same analysis. % ...script1 is very terse, and includes the essential commands only. % ...script2 is longer and includes more checking that files are available, etc.
Step 1: Make a new analysis directory to save results, and go there
Make a new analysis directory to save results, and go there
andir = 'Test_mediation';
mkdir(andir)
cd(andir)
Step 2: Load image data and behavioral variables
dinf = what('Wager_et_al_2008_Neuron_EmotionReg'); %imgs = filenames(fullfile(dinf.path,'con_*img'), 'char', 'absolute'); imgs = fullfile(dinf.path, 'Wager_2008_emo_reg_vs_look_neg_contrast_images.nii.gz'); behav_dat = importdata(fullfile(dinf.path,'Wager_2008_emotionreg_behavioral_data.txt'))
behav_dat = struct with fields: data: [30×2 double] textdata: {'X_RVLPFC' 'Y_Reappraisal_Success'} colheaders: {'X_RVLPFC' 'Y_Reappraisal_Success'}
Step 3: Load and display mask
The mask determines which voxels are analyzed. The standard mask is in the CanlabCore Tools repository, so you need the folder containing it (and other CanlabCore folders) on your path.
mask = which('gray_matter_mask.img') canlab_results_fmridisplay(mask, 'compact2');
mask = '/Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/gray_matter_mask.img' Using default mask: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/brainmask.nii loading mask. mapping volumes. checking that dimensions and voxel sizes of volumes are the same. Pre-allocating data array. Needed: 1409312 bytes Loading image number: 1 Elapsed time is 0.019277 seconds. Image names entered, but fullpath attribute is empty. Getting path info. Grouping contiguous voxels: 46 regions Setting up fmridisplay objects This takes a lot of memory, and can hang if you have too little. axial montage: 42172 voxels displayed, 169167 not displayed on these slices sagittal montage: 8208 voxels displayed, 203131 not displayed on these slices axial montage: 42172 voxels displayed, 169167 not displayed on these slices sagittal montage: 8208 voxels displayed, 203131 not displayed on these slices
Step 4 : Run mediation
Run mediation without bootstrapping (fast) Test that things are working
x=behav_dat.data(:,1); y=behav_dat.data(:,2); names = {'X:RVLPFC' 'Y:Reappraisal_Success' 'M:BrainMediator'}; % This is what you would run: % results = mediation_brain(x,y,imgs,'names',names,'mask', mask); % We run this instead to suppress output for report publishing str = 'results = mediation_brain(x,y,imgs,''names'',names,''mask'', mask);'; disp(['Running with output suppressed (for report-generation): ' str]); evalc(str); % "Legacy" version: reslice mask to same space first: % scn_map_image(mask,deblank(imgs(1,:)), 'write', 'resliced_mask.img'); % results = mediation_brain(x,y,imgs,'names',names,'mask', 'resliced_mask.img'); % OR % --------------------------------- % Uncomment the lines below to run with bootstrapping % Make yourself a cup of tea while the results are compiled as this is going to take a while % pre-compiled results are also available in % 'mediation_Example_Data_Wager2008_Msearch_R_XisRIFGstim_norobust' % results = mediation_brain(x,y,imgs,'names',names,'mask', mask,'boot','pvals',5, 'bootsamples', 10000);
Running with output suppressed (for report-generation): results = mediation_brain(x,y,imgs,'names',names,'mask', mask);
Step 5: Get and save results figures, tables, and report
First, change to the mediation analysis directory, if you're not there already. Then, run one of several batch results functions.
The most complete way to create and publish a time- and date-stamped HTML report with figures and tables is to run "publish_mediation_report.m" (This is commented out because this script is published, and we can't have nested publish commands)
publish_mediation_report;
--------------------------------------------------------------------- Another option is to use this batch script to create figures and tables, and save .mat files with results:
mediation_brain_results_all_script; % This function runs a series of calls to mediation_brain_results.m, which % is also a stand-alone function. Type "help mediation_brain_results" for more options.
---------------------------------------------- Analysis Mask ---------------------------------------------- Using default anatomical underlay image. montage_clusters: no activation blobs; displaying underlay image. 0 Clusters found. No overlap plotting.
---------------------------------------------- Overlap between Paths a and b ---------------------------------------------- ------------------------------------------------------------------- ------------------------------------------------------------------- MEDIATION: OVERLAP BETWEEN PATH A AND B MAPS ------------------------------------------------------------------- ------------------------------------------------------------------- Setting up fmridisplay objects This takes a lot of memory, and can hang if you have too little. sagittal montage: 2 voxels displayed, 19 not displayed on these slices sagittal montage: 2 voxels displayed, 19 not displayed on these slices sagittal montage: 2 voxels displayed, 19 not displayed on these slices axial montage: 3 voxels displayed, 18 not displayed on these slices axial montage: 5 voxels displayed, 16 not displayed on these slices sagittal montage: 2 voxels displayed, 19 not displayed on these slices sagittal montage: 2 voxels displayed, 19 not displayed on these slices sagittal montage: 2 voxels displayed, 19 not displayed on these slices axial montage: 3 voxels displayed, 18 not displayed on these slices axial montage: 5 voxels displayed, 16 not displayed on these slices Saving clusters with extracted data in: intersect_a_and_b_clusters_005_k3 ---------------------------------------------- MEDIATION: A, B, A*B CONJUNCTION ---------------------------------------------- ------------------------------------------------------------------- ------------------------------------------------------------------- MEDIATION: A, B, A*B CONJUNCTION ------------------------------------------------------------------- ------------------------------------------------------------------- Will print tables. Will show slices. Creating image XMY_conjunction.img with max p-values for relevant paths SPM12: spm_check_registration (v6245) 13:49:38 - 10/01/2019 ======================================================================== Display /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 (<a href="matlab:spm_check_registration('/Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1','/Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1','/Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1','/Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1');">all) /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 Saving log file: XMY_conjunction_005_01_05_k3_1_1_prune_log.txt Other key results in: XMY_conjunction_005_01_05_k3_1_1_prune_results.txt Will also save figures of slice montages if 'slices' requested. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. ---------------------- No significant results ---------------------- iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. ---------------------- No significant results ---------------------- Extracting image data for significant clusters. No clusters to extract. Extracting image data for significant clusters. No clusters to extract. Summary of output images: /Users/torwager/Downloads/Test_mediation/Test_mediation/Test_mediation/X-M_pvals.img /Users/torwager/Downloads/Test_mediation/Test_mediation/Test_mediation/M-Y_pvals.img /Users/torwager/Downloads/Test_mediation/Test_mediation/Test_mediation/X-M-Y_pvals.img /Users/torwager/Downloads/Test_mediation/Test_mediation/Test_mediation/XMY_conjunction.img Results clusters clpos and clneg are returned for the LAST image in this set. Printing Tables. Saving clusters in cl_XMY_conjunction_005_01_05_k3_1_1_prune No clusters to show slices for.
------------------------------------------------------------------- ------------------------------------------------------------------- MEDIATION: PATH A ------------------------------------------------------------------- ------------------------------------------------------------------- Will print tables. Will show slices. Saving log file: X-M_pvals_005_01_05_k3_1_1_prune_log.txt Other key results in: X-M_pvals_005_01_05_k3_1_1_prune_results.txt Will also save figures of slice montages if 'slices' requested. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. SPM12: spm_check_registration (v6245) 13:49:55 - 10/01/2019 ======================================================================== Display /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. Extracting image data for significant clusters. Images are not valid files. Extracting image data for significant clusters. Images are not valid files. Summary of output images: X-M_pvals.img Results clusters clpos and clneg are returned for the LAST image in this set. Printing Tables. NOTE: FULL MEDIATION TABLES DO NOT WORK YET FOR SINGLE-LEVEL RESULTS Printing abbreviated tables. Positive effects Z field contains: Mediation a effect (shown in maxstat) Name index x y z corr voxels volume_mm3 maxstat R1 1 -3 -17 18 NaN 24151 -1284201 32.91 Negative effects Z field contains: Mediation a effect (shown in maxstat) Name index x y z corr voxels volume_mm3 maxstat R1 1 0 -48 -45 NaN 33 -1755 6.12 Saving clusters in cl_X-M_pvals_005_01_05_k3_1_1_prune Saving image of slices: orth_X-M_pvals_005_01_05_k3_1_1_prune_coronal.png Saving image of slices: orth_X-M_pvals_005_01_05_k3_1_1_prune_sagittal.png Saving image of slices: orth_X-M_pvals_005_01_05_k3_1_1_prune_axial.png
------------------------------------------------------------------- ------------------------------------------------------------------- MEDIATION: PATH B ------------------------------------------------------------------- ------------------------------------------------------------------- Will print tables. Will show slices. Saving log file: M-Y_pvals_005_01_05_k3_1_1_prune_log.txt Other key results in: M-Y_pvals_005_01_05_k3_1_1_prune_results.txt Will also save figures of slice montages if 'slices' requested. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. SPM12: spm_check_registration (v6245) 13:50:18 - 10/01/2019 ======================================================================== Display /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. Extracting image data for significant clusters. Images are not valid files. Extracting image data for significant clusters. No clusters to extract. Summary of output images: M-Y_pvals.img Results clusters clpos and clneg are returned for the LAST image in this set. Printing Tables. NOTE: FULL MEDIATION TABLES DO NOT WORK YET FOR SINGLE-LEVEL RESULTS Printing abbreviated tables. Positive effects Z field contains: Mediation b effect (shown in maxstat) Name index x y z corr voxels volume_mm3 maxstat R1 1 31 -38 -36 NaN 56 -2978 6.23 R2 2 -48 -34 -22 NaN 159 -8455 7.88 R3 3 52 -28 -32 NaN 48 -2552 7.36 R4 4 0 3 0 NaN 552 -29352 7.68 R5 5 41 -72 32 NaN 168 -8933 6.01 R6 6 7 17 54 NaN 640 -34031 8.55 R7 7 3 -48 68 NaN 116 -6168 8.52 Negative effects No results to print. Saving clusters in cl_M-Y_pvals_005_01_05_k3_1_1_prune Saving image of slices: orth_M-Y_pvals_005_01_05_k3_1_1_prune_coronal.png Saving image of slices: orth_M-Y_pvals_005_01_05_k3_1_1_prune_sagittal.png Saving image of slices: orth_M-Y_pvals_005_01_05_k3_1_1_prune_axial.png
------------------------------------------------------------------- ------------------------------------------------------------------- MEDIATION: PATH A*B ------------------------------------------------------------------- ------------------------------------------------------------------- Will print tables. Will show slices. Saving log file: X-M-Y_pvals_005_01_05_k3_1_1_prune_log.txt Other key results in: X-M-Y_pvals_005_01_05_k3_1_1_prune_results.txt Will also save figures of slice montages if 'slices' requested. iimg_multi_threshold viewer ===================================================== Showing positive or negative: pos Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. Cannot find SPM graphics window. It should have a tag of 'Graphics'. iimg_multi_threshold viewer ===================================================== Showing positive or negative: neg Overlay is: /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img Mask is entered in iimg_multi_threshold as a vector of numerical values Entered p-value image? : Yes Height thresholds:0.0050 0.0100 0.0500 Extent thresholds: 3 1 1 Show only contiguous with seed regions: Yes Warning: p-values in cl.Z will not give valid spm_max subclusters. log(1/p) saved in output cl.Z field. Cannot find SPM graphics window. It should have a tag of 'Graphics'. ---------------------- No significant results ---------------------- SPM12: spm_check_registration (v6245) 13:50:47 - 10/01/2019 ======================================================================== Display /Users/torwager/Documents/GitHub/CanlabCore/CanlabCore/canlab_canonical_brains/Canonical_brains_surfaces/SPM8_colin27T1_seg.img,1 Extracting image data for significant clusters. No clusters to extract. Extracting image data for significant clusters. No clusters to extract. Summary of output images: X-M-Y_pvals.img Results clusters clpos and clneg are returned for the LAST image in this set. Printing Tables. Saving clusters in cl_X-M-Y_pvals_005_01_05_k3_1_1_prune No clusters to show slices for.


UI5 OData Payload Analyzer
Clear
URL Path
Type
Name
Timestamp
Network Request
Request Data
Response Data
Close


cell mitosis
cell phone
cell walls
hard cell
cellery
tall cell
wide cell
soft cell
cellulose
end cell
basal cell


Osaka lies at the southern end of the Honshu (the main island of Japan), at the head of Osaka Bay. This bay lies to the east of the Inland Sea. It is a very large city surrounded by several smaller ones.
Location 34° 36.3'N, 135° 21'E.
See Japan Formalities for detailed clearance information.


OccuPotty - HackRice9
An answer to the question, "Can I go, or do I need to hold it?". A lock status visualizer utilizing homemade APIs and handcrafted hardware.
View ProjectTexas Honey Badgers Team Website
This website was created in order to showcase some of the hackathon projects we completed as a team. Come check us out!
View ProjectJenkins Traffic Light
This project was made during an internal hackathon I competed in as an intern at Zix. It is a visualizer for Jenkins builds that is designed to be utilized by development and DevOPs teams.
View ProjectSmithers
A Discord bot coded in Node.js using the Discord.js library for audio upload and playback.
Awarded first place in the Aggie Coding Club Discord Bot Competition, sponsored by Capsher Technology.


Pedestrian dies after being hit by cars on U.S. 19 in Pasco County
by WFTS Digital StaffPASCO COUNTY, Fla.
The Pasco County Fire Rescue responded to a call of a crash involving a pedestrian in the southbound lanes of U.S. 19 at Holiday Hills.
According to state troopers, a Kia Forte was traveling south on U.S. 19 approaching Ridge Crest Drive with a Toyota Camry trailing behind. A pedestrian was walking into the path of the two vehicles and as a result, the Kia and the Toyota crashed into the pedestrian in back-to-back order, killing him.
Officials have not released the identity of the deceased pedestrian. As of Thursday night, no one is facing charges.
Alcohol did not play a factor for both drivers, state troopers said.
Story developing, refresh for updates. Stay with ABC Action News for the latest.


---
layout: home
title: Play with Docker Classroom
---
Start by choosing your assigned group
Let's learn about Docker and why we're using it! Regardless of what you encounter in this lesson, the definitive guide is any official documentation provided by Docker.
A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.
In short, Docker allows a user to work in a computing environment that has been *frozen* with respect to interdependent libraries and code and related tools. This means that you can use the same software that analysts were using 10 years ago (for example) without downloading all the relevant 10-year-old libraries. :)
As much as we'd like, we can't give you a *complete* overview of Docker. However, we do hope to explain why we run Docker in the way we do so that you gain some understanding. More specifically, we'll be showing you how to set up Docker for not just this workshop, but for interfacing with the CMS open data in general
Learn the core concepts of Docker, and help you understand the value of it. Key points are:
Run the CMS open data workshop pre-exercises in this learning environment


(Route : Settings Menu, Signatures Command, New Button)
The New Signature dialog box allows you to specify the name for a new signature.
This name must be 8 characters or less and will appear in the Signature list in all new message dialog boxes.
Enter the name in the New signature name text box and click OK to save it.
When you return to the Signature dialog box you can compose the actual content for the new signature name that you've just created.


| 1 | /* | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | package org.apache.commons.imaging.formats.psd; | |
| 18 | ||
| 19 | import java.io.OutputStreamWriter; | |
| 20 | import java.io.PrintWriter; | |
| 21 | import java.nio.charset.Charset; | |
| 22 | ||
| 23 | public class PsdHeaderInfo { | |
| 24 | public final int Version; | |
| 25 | private final byte Reserved[]; | |
| 26 | public final int Channels; | |
| 27 | public final int Rows; | |
| 28 | public final int Columns; | |
| 29 | public final int Depth; | |
| 30 | public final int Mode; | |
| 31 | ||
| 32 | public PsdHeaderInfo(final int Version, final byte Reserved[], final int Channels, final int Rows, | |
| 33 | final int Columns, final int Depth, final int Mode) { | |
| 34 | this.Version = Version; | |
| 35 | this.Reserved = Reserved; | |
| 36 | this.Channels = Channels; | |
| 37 | this.Rows = Rows; | |
| 38 | this.Columns = Columns; | |
| 39 | this.Depth = Depth; | |
| 40 | this.Mode = Mode; | |
| 41 | ||
| 42 | } | |
| 43 | ||
| 44 | public byte[] getReserved() { | |
| 45 |
1
1. getReserved : mutated return of Object value for org/apache/commons/imaging/formats/psd/PsdHeaderInfo::getReserved to ( if (x != null) null else throw new RuntimeException ) → NO_COVERAGE |
return Reserved.clone(); |
| 46 | } | |
| 47 | ||
| 48 | public void dump() { | |
| 49 | final PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out, Charset.defaultCharset())); | |
| 50 |
1
1. dump : removed call to org/apache/commons/imaging/formats/psd/PsdHeaderInfo::dump → NO_COVERAGE |
dump(pw); |
| 51 |
1
1. dump : removed call to java/io/PrintWriter::flush → NO_COVERAGE |
pw.flush(); |
| 52 | } | |
| 53 | ||
| 54 | public void dump(final PrintWriter pw) { | |
| 55 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println(""); |
| 56 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Header"); |
| 57 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Version: " + Version + " (" + Integer.toHexString(Version) |
| 58 | + ")"); | |
| 59 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Channels: " + Channels + " (" |
| 60 | + Integer.toHexString(Channels) + ")"); | |
| 61 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Rows: " + Rows + " (" + Integer.toHexString(Rows) + ")"); |
| 62 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Columns: " + Columns + " (" + Integer.toHexString(Columns) |
| 63 | + ")"); | |
| 64 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Depth: " + Depth + " (" + Integer.toHexString(Depth) + ")"); |
| 65 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Mode: " + Mode + " (" + Integer.toHexString(Mode) + ")"); |
| 66 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println("Reserved: " + Reserved.length); |
| 67 |
1
1. dump : removed call to java/io/PrintWriter::println → NO_COVERAGE |
pw.println(""); |
| 68 |
1
1. dump : removed call to java/io/PrintWriter::flush → NO_COVERAGE |
pw.flush(); |
| 69 | ||
| 70 | } | |
| 71 | ||
| 72 | } | |
Mutations | ||
| 45 |
1.1 |
|
| 50 |
1.1 |
|
| 51 |
1.1 |
|
| 55 |
1.1 |
|
| 56 |
1.1 |
|
| 57 |
1.1 |
|
| 59 |
1.1 |
|
| 61 |
1.1 |
|
| 62 |
1.1 |
|
| 64 |
1.1 |
|
| 65 |
1.1 |
|
| 66 |
1.1 |
|
| 67 |
1.1 |
|
| 68 |
1.1 |


The Readiness Assessment helps a district understand how its current PD system is structured and where to focus collective energy for improvement. Through a collaborative process, the Readiness Assessment brings together voices from the central office, school buildings, and classrooms to ensure transformation is grounded in a collective vision. The Assessment is organized around the critical components of any effective system.
The Readiness Assessment is a formative tool used by districts to continually track transformation progress. The tool enables district personnel across departments to participate in an individual online survey followed by a collaborative, in-person consensus meeting. The consensus meeting results in a collective vision for redesign and a summary report of priority areas and next steps.
Setup
As the facilitator, you’ll add district professional development goals, create tool learning questions, and lead your team through the process.
Invite
Bring together stakeholders across different departments as facilitators or participants in your assessment. You can use the site's tools to communicate with your invitees throughout the process.
Obtain Consensus
Discuss the data and questions one by one as a group. Come to a consensus on a score for each question and provide evidence and bright spots to support the consensus score.
Review Results
After filling out the scoring rubric from the consensus meeting, a printable version of the assessment report will be generated with recommendations for determining next steps. Share the report with other stakeholders and get ready to redesign your district's professional development.


Build Modern HTML Desktop Apps on .NET Core using native GUI, HTML5, CSS & JavaScript, based on Chromium.
Supporting javascript frameworks like Angular, React, Vue and more.


User management
Success
username
e-Mail
firstname
surname
status
role
actions
user
<EMAIL_ADDRESS>John
Doe
active
user


{% extends 'base.html' %} {% block title %} Upload School Bills from excel {% endblock title %} {% block content %} This page will cater for invoice upload from excel sheet {% endblock content %}


Let's dig in
Multiplicity
Multiplicity happens to be typical for some substances, e.g. list elements or some blocks sequence.
In CSSG it will look like this:
/*
post_cnt
post_cnt_ul
post_cnt_li +
*/
or like that:
/*
post_cnt
post_cnt_i *
*/
The main difference between '+' and '*' is in multiplicity specifics.
'+' says that element will appear at least 1 time (which is typical for list items - <li>)
'*' however says that element may appear more than 0 times (any other elements - you name it)
it's important to feel the distinction between optional elements ([element]) and appearing 0 and more times (element *)
insignificant on the first sight, it appears to have contextual meaning
Modificators - more and meaningful
As it was mentioned in basic, modificators complement substance and theoretically their simultaneous presence is possible.
Crucial logic described with the help of special syntax.
For example, alternative is illustrated this way:
/*
post ( __current | __regular ) __deleted
*/
and even like this:
/*
post ( ( __current | __regular ) | __compact ) __deleted
*/
Dot (.) illustrates robust connection between class and another class or modificator
/*
post __compact __featured
post_h
post_h_tx . __bold
post_b
post_b_cnt
...
*/
alignment on the right for connected class is not necessary
Inheritance
Substance can be direct descendant of other substance.
To point this out, define ancestor via "@" symbol.
/*
post-advanced @ post
post-advanced_h
post-advanced_b
*/
it's not necessary to list all modificators, because they inherited by default
however, if there is any difference, we must list all possible classes
it's accepted that these defined modificators will only be possible
For instance, it is illustrated in the following code, that post-advanced will have one possible modificator __new, regardless the fact, that post has some modificators as well
/*
post-advanced @ post __new
post-advanced_h
post-advanced_b
*/
Nominal templates
Inheritance is directly connected with nominal templates.
We simplify illustration of descendant substance and avoid code duplication by setting changeable parts in ancestor substance.
This is not mandatory, but turns out to be helpful if you have at least two such substances.
As an example, let's say ancestor substance looks like this:
/*
post
post_cnt
% content %
*/
or like this, if there is any default content
/*
post
post_cnt
% content %
post_cnt_i
*/
descendant substance
/*
post-advanced @ post
% content
post-advanced_cnt
post-advanced_cnt_i
*/
when "filling" the template second % symbol is unnecessary
In this case post-advanced_cnt will be inside post_cnt and will override default content from second code piece.
Without nominal templates, CSSG may look like this:
/*
post-advanced @ post
post_cnt
post-advanced_cnt
post-advanced_cnt_i
*/
There's almost no difference in this case.
However all notation potential can be seen in context of describing more complex structure
the % content % element has no DOM implementation, it is just a template name
Dynamics
By dynamics it's meant that some class or element may appear in layout due to scripts and user activity.
/*
post $__disabled | $__active
post_h
post_b
post_cnt
*/
To define dynamic blocks complemented syntax for optional parts is used:
/*
post
$[post_msg]
post_h
post_b
post_cnt
$[post_cnt_msg]
post_cnt_tx
$[/post_cnt_msg]
*/
It's <<omplicated
Complex CSS approach can be described with CSSG.
Alternative (mutual exclusive) blocks example:
/*
post
post_b
[1]
post_cnt
post_cnt_lst
[2]
post_cnt2
...
[/]
*/
When it's necessary to illustrate some valueable class somewhere on the upper level in DOM tree:
/*
blog . __complex
///
post
post_b
post_cnt
*/
CSSG is self-explanatory as a rule, but some tough situations may require comments:
/*
post
post_h (1)
post_b
post_cnt (2)
_______________________________________________
(1) comment on post_h
(2) another comment
*/
Proceed to legend


tsetse targets control HAT Fig traps deployed Chamaunga catches tiny vector case density population area Big Phase catch intervention detection daily mean target deployment {border-style decline fuscipes months transmission treatment used Gambian Small Trop px;} #ffffff;} Tsetse Uganda Manga operated required Dis African Negl islands populations sleeping tsetse/trap/day using January active blocks fly centre costs foci human impact model period riverine sickness trial >% Glossina Magare caught field level river Med average block compared covering declined following intervals number present December Modelling Torr cost data densities edge effective gambiense levels monitoring mortality operational shore stop use ./journal.pntd. Centre Esterhuizen Human Tirados baits completely disease e-target exposed hosts original predicted px; sites trap year {font-family Control E-targets Health Using areas deployed. efficacy font-size rivers settings –December A). Africa Arua Edge Entomol Following Lake November Traps Trypanosoma Vale Vet assessed blocks. brucei cases cattle does double; duration elimination flies infected infection island lake low major means monitor netting observed operation people results simulated suggests trials tsetse. <. (-.° (.–., (B) (C) (i.e., B). Chamaunga. E-target However, June Kaba Koboko Rayaisse Simarro Targets Text). Victoria [], biconical blue border-color border-width carried cell cells comprised conducted determine estimate estimated focus general imposed infectious lakeshore latitude, local method month new numbers operations organised panel preliminary prior published reduced reduction relative reported role scale screening showed single solid; stage surface targets, traps, trypanosomiasis wild years {font-style {font-weight (A) (±%CI) -December Chamaunga, Chappuis Checchi Controlling Costs District Gambiense HAT. Lehane Magare. Mangwiro October Predicted Report Rhodesian September Sleeping Table Tropical Trypanosomiasis US$, US$,. Vector W.H.O. West accordance achieved adding additional analysis apparent approximately bold cloth control. controlling courier; difficult distribution dry effect efforts em; fine humans insecticide-treated large-scale likely linear longer maintenance models officially outbreaks overall place placed polygon programme programmes provided pt;} savannah section sections settings. site small species study targets. time total traps. tsetse, vegetation


Get description from the page if any +
Insert up to five tags, with maximum length of each 20, in the input below:


 I am passionate about making games in my free time, and provide
development tips to the software development community.
I strive to learn new skills whenever possible and I enjoy solving problems by collaborating with
my colleagues, providing innovative ideas, and designing/implementing reusable and efficient
systems following test driven development, SOLID principles and good documentation.
Working as a team I value good communication, chemistry and pushing one another to constantly
improve ourselves.


--- layout: data_model title: CodeObjectType this_version: 1.1 ---
The CodeObjectType type is intended to characterize a body of computer code.
| Field Name | Type | Description |
|---|---|---|
| @object_referenceoptional | QName |
The object_reference field specifies a unique ID reference to an Object defined elsewhere. This construct allows for the re-use of the defined Properties of one Object within another, without the need to embed the full Object in the location from which it is being referenced. Thus, this ID reference is intended to resolve to the Properties of the Object that it points to. |
| Custom_Properties0..1 | CustomPropertiesType |
The Custom_Properties construct is optional and enables the specification of a set of custom Object Properties that may not be defined in existing Properties schemas. |
| Description0..1 | StructuredTextType |
The Description field is intended for use in providing a brief description of the code that is encapsulated in this field. |
| Type0..1 | CodeTypeType |
The type field is intended to provide a way of specifying the type of code being characterized. |
| Purpose0..1 | CodePurposeType |
The type field is intended to provide a way of specifying the purpose or flavor of code being characterized. |
| Code_Language0..1 | CodeLanguageType |
The code_language field refers to the code language used in the code characterized in this field. |
| Targeted_Platforms0..1 | TargetedPlatformsType |
The Targeted_Platforms field specifies a list platforms that this code is targeted for. |
| Processor_Family0..n | ProcessorTypeType |
The processor_family field specifies the class of processor that the code snippet is targeting. This field may be specified multiple times for code snippets that are applicable across multiple processor families. |
| Discovery_Method0..1 | MeasureSourceType |
The Discovery_Method field is intended to characterize the method and/or tool used to discover the code. |
| Start_Address0..1 | HexBinaryObjectPropertyType |
The start_address field can be used to reference the start address of the code, if it was discovered inside a binary. |
| Code_Segment0..1 | StringObjectPropertyType |
The Code_Segment field encompasses any arbitrary code segment in unencoded (plaintext or binary) format. Code would typically be included here within a CDATA section. |
| Code_Segment_XOR0..1 | CodeSegmentXORType |
The Code_Segment_XOR field encompasses any arbitrary code segment. Its contents should contain the actual code segment XORed with the pattern defined in the xorpattern property. This is so that the code contained in the pattern does not trigger IDS, AV, or other signature-based scanners. XOR'd Code would typically be included here within a CDATA section. |
| Digital_Signatures0..1 | DigitalSignaturesType |
The Digital_Signatures field is optional and captures one or more digital signatures for the code. |
| Extracted_Features0..1 | ExtractedFeaturesType |
A description of features extracted from this code segment. |


So there's something off about the new guy. You want to keep him on his toes, let him know that he can't be at home just yet. You want him to know that you'll be watching him.
The wonders of nonverbal communication make saying all this without wasting your breath possible. Just perform these two simple gestures. Point to your eyes, preferably using the backward V-Sign: "I AM WATCHING" and point to your target: "YOU."
Details can vary, using different fingers when pointing at different things, but this is how you generally tell someone that you are watching them. Though generally a threatening gesture, it is known to have at times been used in a friendly or reassuring manner as well; communicating something to the effect of "I'll be seeing you", "I've got your back" or such. In many sign languages, the same gesture from one side of the face (not centered) translates as "see" or "I see you."
Examples:
- The E-Trade Baby makes the gesture, possibly a reference to Meet the Parents.
- The Burger King does this in one commercial during a news conference, while his spokesperson dismisses every question. The last question gets this response from the King.
- In the Tiny Titans/Little Archie crossover, Robin speculates (correctly) that Mrs Grundy is married to Solomon Grundy. Later Solomon Grundy shows up and claims to have no idea what Robin is talking about regarding supervillainy. On his way out of the classroom he gestures at Robin angrily.
- Belgium, Holland, and Ukraine collectively give America one when they think he's picking on Canada in the fan comic Ungrateful Children. Korea gets in on the act as well, just for fun.
- One of the possum brothers gives Manny this in Ice Age 2: The Meltdown when they notice that he's growing interested in their "sister", Ellie.
- A thug does this in The SpongeBob SquarePants Movie during the "Baby Hunt".
- Officer Devereaux from Cloudy with a Chance of Meatballs does a funny variant of this trope:
Officer Devereaux: This contact lens represents you! And my eye represents my eye! [puts on contact lens] I've got my eye on you!
- Monkey from Kubo and the Two Strings is mistrusting of the new crew member Beetle and does this gesture to him to send a message.
- Seen in The War of the Worlds (latest version), with two soldiers.
- Robert De Niro's character does this to Greg Focker in Meet the Parents and its sequels.
- One of the Homeland Security agents does this repeatedly to the title characters in Ghostbusters (2016).
- In The Oogieloves in the Big Balloon Adventure, Lero Sombrero gives this gesture to Ruffy (the Oogieloves' pet goldfish) when Lola kisses him for good luck before sending him off to retrieve the last of their balloons.
- Barney from How I Met Your Mother uses this gesture to encourage his friends to "focus on the prize". Which is usually casual sex and/or hijinks.
- Shirley on Community does this when she and Annie are deputized to monitor April Fools' Day.
- In Ned's Declassified School Survival Guide, Vice-Principal Crubbs does this to Ned from time to time.
- Doakes does this to Dexter in Dexter.
- Glee:
- Mike Chang does this to Coach Shannon Beiste after his girlfriend Tina mentions Beiste's name at an... inappropriate moment. While completely ignoring the fact that if he hadn't told Tina about how some of the other boys were using Beiste to, erm, cool off, she would never have used the method herself and therefore never mentioned the name...sometimes Mike's not all that bright, really.
- Coach Sylvester does this too to Rachel after leaving Principal Higgins' office.
- Saturday Night Live:
- An episode with Zachary Quinto promoting Star Trek (2009) has a Star Trek fan do this to him with his fingers in the Vulcan salute.
- A 2018 episode features Robert Mueller doing the gesture toward Alec Baldwin's Donald Trump.
- In Monty Python's Flying Circus, John Cleese does this to Terry Jones after he says the word mattress... twice.
- On Some Girls, Holli does this at a school function to one of the nuns who had taken all the Hawaiian pizza slices. The nun repeats the gesture in kind.
- A suspicious Clara does this to the Doctor on Doctor Who (in "The Caretaker") when he cancels their weekly adventure for something else he came up needing deep cover for. Naturally, she turns out to be right when the Doctor shows up at her school posing as the new caretaker.
- In The Suite Life of Zack and Cody episode "Hotel Inspector" when hotel inspector Ilsa Shickelgrubermeiger becomes the Tipton Hotel's new manager after firing Mr. Moseby, she does this to bellhop Esteban after making him remove his war hero great grandfather's pin from his uniform.
- On WWE's fifth NXT season, when Maxine tried to marry Derrick Bateman, Bateman's disapproving mother gave her this gesture.
- Edward gives this gesture to Bella in Twilight The Musical.
- A gag in Universal Studios' Horror Make-Up Show has one of the hosts doing this several times to one of the kids in the audience, due to them believing that the kid threw a rock at their invention.
- Drebin in Metal Gear Solid 4 does a variation of this to Snake called "EYE HAVE YOU", which starts at the "eye" step, then he clenches a fist, then points to Snake.
- In Office Jerk and Office Zombie, the Jerk and Zombie both do this as taunts. The Jerk does the standard version. The Zombie takes his right eye out, points at it, points at you, and then sticks the eye back in the socket.
- The Sniper has this as one of his taunts in Team Fortress 2.
- The trope image comes from a strip of Theater Hopper.
- The Adventures of Dr. McNinja:
- A young Doctor McNinja does this to Frans Rayner when the latter is getting laughed at by the ninja guild for his neckbeard.
- And in a later arc, in the Bad Future, to King Radical.
- Nicki to Philip in Times Like This.
- Done by CK to Mittens in one Commander Kitty episode.
- Drowtales:
- After getting sussed out as a spy, Sara'hilana has this gesture directed at her by Sal'bara here after they're forced to release her.
- Occurs again later when Tebryn does a variation with the index and pinkie fingers pointed at Zala'ess, this time to indicate that she "saw what you did" aka saw the corpse of her mother, whom Zala helped murder.
- The I'm watching you◊ rage face, which is of the third phase of the motions.
- The website Kisscartoon has a waiting screen during which the system checks out if the visitor isn't a bot. This features a cartoon cat animated to do the gesture directly toward you with its paw.
- Flander's Company: In Season 4, Armand Trueman makes the gesture toward Dr. Shredder in a video-conference, noting that he's suspiciously always back for the season's climax.
- Happens a few times in Avatar: The Last Airbender. Apparently in the Avatarverse, instead of using the index and middle fingers to point to their eyes, they use the index and pinky fingers, which somehow looks considerably more badass.
- Katara does this in "The Blind Bandit" to the bully earthbender students.
- Katara also does it to Jet in "Lake Laogai".
- A bully does this to Aang in "The Headband" when he thinks Aang is trying to steal his girlfriend.
- Bob's Burgers:
- Parodied in "O.T.: The Outside Toilet". Max Flush, the shady man looking for the high-tech toilet Gene is hiding from him, does this gesture while standing outside the Belchers' restaurant. Gene thinks he's plotting to steal Gene's eyes and swap them with his own.
- In "Tweentrepeneurs", Tina ends up owing money to Edith Cranwrinkle for a shipment of googly eyes for the student-run business. She sees Edith standing outside the playground of Wagstaff Elementary, where she makes this gesture with her own eyes, then with a pair of googly eyes stuck to her hand.
- Family Guy: "Let's use our eyes...to see..."
- The Legend of Korra inherits the index-and-pinky version of the gesture from its predecessor.
- Chief Lin Beifong does this to Korra as she's leaving the police interrogation room. Korra does the same back◊, wearing an exaggerated angry expression.
- She later does this to some thugs in "The Stakeout", complete with the same "Water Tribe" gesture Sokka does in the previous series.
- My Little Pony: Friendship Is Magic:
- In "28 Pranks Later", Rainbow Dash gets this treatment from Harry the Bear, who is still mad about Rainbow playing a mean-spirited prank on Fluttershy earlier in the episode.
- "Sparkle's Seven": Shining Armor lacking fingers, he cannot make the gesture toward Twilight after finding her "sniffing the flowers" in the castle's courtyard... but his body language conveys the message pretty well, with him walking backward while glaring at his sister, and then his head poking right back on the frame with his horn pointing at her.
- Phineas and Ferb:
- In the episode "No More Bunny Business", Perry the Platypus does this to Dennis the Bunny.
- In the episode "One Good Turn," Stacey does this to her little sister, Ginger. Ginger doesn't quite get it.
Ginger: That's our secret sign for "I love you, sis"... I think.
- In the Grand Finale "Last Day of Summer", Candace gives one to the boys as they all go inside at the end. This is later followed by a smile and a point.
- In various episodes of Sonic Boom, Sticks has a tendency to do this if she thinks someone is untrustworthy. For example, in Two Good To Be True, Eggman backspaces before he says outright that he's going to attack them next Tuesday, cueing this reaction from her.
- Agent/Headmaster Phil Coulson does this to Spider-Man in Ultimate Spider-Man.
- An Oktoberfest beer-guard does this to Fry in an episode of Futurama.


Animation QML Type
Is the base of all QML animations More...
| Import Statement: | import QtQuick 2.7 |
| Inherited By: | AnchorAnimation, Animator, ParallelAnimation, ParentAnimation, PathAnimation, PauseAnimation, PropertyAction, PropertyAnimation, ScriptAction, and SequentialAnimation |
Properties
- alwaysRunToEnd : bool
- loops : int
- paused : bool
- running : bool
Signals
Methods
Detailed Description
The Animation type cannot be used directly in a QML file. It exists to provide a set of common properties and methods, available across all the other animation types that inherit from it. Attempting to use the Animation type directly will result in an error.
Property Documentation
This property holds whether the animation should run to completion when it is stopped.
If this true the animation will complete its current iteration when it is stopped - either by setting the running
property to false, or by calling the stop()
method. The complete()
method is not effected by this value.
This behavior is most useful when the loops
property is set, as the animation will finish playing normally but not restart.
By default, the alwaysRunToEnd property is not set.
Note: alwaysRunToEnd has no effect on animations in a Transition.
This property holds the number of times the animation should play.
By default, loops
is 1: the animation will play through once and then stop.
If set to Animation.Infinite, the animation will continuously repeat until it is explicitly stopped - either by setting the running
property to false, or by calling the stop()
method.
In the following example, the rectangle will spin indefinitely.
Rectangle { width: 100; height: 100; color: "green" RotationAnimation on rotation { loops: Animation.Infinite from: 0 to: 360 } }
This property holds whether the animation is currently paused.
The paused
property can be set to declaratively control whether or not an animation is paused.
Animations can also be paused and resumed imperatively from JavaScript using the pause()
and resume()
methods.
By default, animations are not paused.
This property holds whether the animation is currently running.
The running
property can be set to declaratively control whether or not an animation is running. The following example will animate a rectangle whenever the MouseArea is pressed.
Rectangle { width: 100; height: 100 NumberAnimation on x { running: myMouse.pressed from: 0; to: 100 } MouseArea { id: myMouse } }
Likewise, the running
property can be read to determine if the animation is running. In the following example the Text item will indicate whether or not the animation is running.
NumberAnimation { id: myAnimation } Text { text: myAnimation.running ? "Animation is running" : "Animation is not running" }
Animations can also be started and stopped imperatively from JavaScript using the start()
and stop()
methods.
By default, animations are not running. Though, when the animations are assigned to properties, as property value sources using the on syntax, they are set to running by default.
Signal Documentation
This signal is emitted when the animation begins.
It is only triggered for top-level, standalone animations. It will not be triggered for animations in a Behavior or Transition, or animations that are part of an animation group.
The corresponding handler is onStarted
.
This signal is emitted when the animation ends.
The animation may have been stopped manually, or may have run to completion.
It is only triggered for top-level, standalone animations. It will not be triggered for animations in a Behavior or Transition, or animations that are part of an animation group.
If alwaysRunToEnd is true, this signal will not be emitted until the animation has completed its current iteration.
The corresponding handler is onStopped
.
Method Documentation
Stops the animation, jumping to the final property values
If the animation is not running, calling this method has no effect. The running
property will be false following a call to complete()
.
Unlike stop()
, complete()
immediately fast-forwards the animation to its end. In the following example,
Rectangle { NumberAnimation on x { from: 0; to: 100; duration: 500 } }
calling stop()
at time 250ms will result in the x
property having a value of 50, while calling complete()
will set the x
property to 100, exactly as though the animation had played the whole way through.
Pauses the animation
If the animation is already paused or not running
, calling this method has no effect. The paused
property will be true following a call to pause()
.
Restarts the animation
This is a convenience method, and is equivalent to calling stop()
and then start()
.
Resumes a paused animation
If the animation is not paused or not running
, calling this method has no effect. The paused
property will be false following a call to resume()
.
Starts the animation
If the animation is already running, calling this method has no effect. The running
property will be true following a call to start()
.
Stops the animation
If the animation is not running, calling this method has no effect. Both the running
and paused
properties will be false following a call to stop()
.
Normally stop()
stops the animation immediately, and the animation has no further influence on property values. In this example animation
Rectangle { NumberAnimation on x { from: 0; to: 100; duration: 500 } }
was stopped at time 250ms, the x
property will have a value of 50.
However, if the alwaysRunToEnd
property is set, the animation will continue running until it completes and then stop. The running
property will still become false immediately.


Chapter 6 Set up keys for SSH
If you plan to push/pull using SSH, you need to set up SSH keys. You want to do this (or cache your username and password, chapter 5), so you don’t have to authenticate yourself interactively with GitHub over and over again. You’ll need to set this up on each computer you want to connect to GitHub from.
6.1 SSH keys
SSH keys provide a more secure way of logging into a server than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long strings of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password. You can increase security even more by protecting the private key with a passphrase.
Adapted from instructions provided by GitHub and Digital Ocean.
6.2 Check for existing keys
List existing keys (at least, those in the default location):
ls -al ~/.ssh
If you are told .ssh
doesn’t exist, you don’t have SSH keys! Keep reading to create them.
If you see a pair of files like id_rsa.pub
and id_rsa
, you have a key pair already. You can skip to the section about adding a key to the ssh-agent.
6.3 Set up from RStudio
Instructions for setting up SSH keys from RStudio are given in the Git and GitHub chapter of Wickham’s R packages book. Look at the end of the section on initial set up:
6.4 Set up from the terminal
6.4.1 Create SSH key pair
Create the key pair by entering this, but substitute the email address associated with your GitHub account:
$ ssh-keygen -t rsa -b 4096 -C<EMAIL_ADDRESS>Accept the proposal to save the key in the default location, i.e., just press Enter here:
Enter file in which to save the key (/Users/tania/.ssh/id_rsa):
You have the option to protect the key with a passphrase. If you take it, you will want to configure something called the ssh-agent to manage this for you (more below).
So either enter a passphrase (and store in your favorite password manager!) or decline by leaving this empty.
Enter passphrase (empty for no passphrase):
The process should complete now and should have looked like this:
tania@Mictlan ~ $ ssh-keygen -t rsa -b 4096 -C<EMAIL_ADDRESS>Generating public/private rsa key pair.
Enter file in which to save the key (/Users/tania/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/tania/.ssh/id_rsa.
Your public key has been saved in /Users/tania/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ki0TNHm8qIvpH7/c0qQmdv2xxhYHCwlpn3+rVhKVeDo<EMAIL_ADDRESS>The key's randomart image is:
+---[RSA 4096]----+
| o+ . . |
| .=.o . + |
| ..= + + |
| .+* E |
| .= So = |
| . +. = + |
| o.. = ..* . |
| o ++=.o =o. |
| ..o.++o.=+. |
+----[SHA256]-----+
6.4.2 Add key to ssh-agent
Tell your ssh-agent about the key and, especially, set it up to manage the passphrase, if you chose to set one.
Make sure ssh-agent is enabled:
tania@/Mictlan ~ $ eval "$(ssh-agent -s)"
Agent pid 95727
Add your key. If you set a passphrase, you’ll be challenged for it here. Give it.
tania@2015-mbp ~ $ ssh-add ~/.ssh/id_rsa
Enter passphrase for /Users/tania/.ssh/id_rsa:
Identity added: /Users/tania/.ssh/id_rsa (/Users/tania/.ssh/id_rsa)
6.4.3 Provide public key to GitHub
Copy the public key onto your clipboard. Open ~/.ssh/id_rsa.pub
in an editor and copy the contents to your clipboard or do one of the following at the command line:
- Mac OS:
pbcopy < ~/.ssh/id_rsa.pub
- Windows:
clip < ~/.ssh/id_rsa.pub
- Linux:
xclip -sel clip < ~/.ssh/id_rsa.pub
Linux: if needed, install via apt-get
or yum
. For example, sudo apt-get install xclip
.
In the top right corner of any page on GitHub, click your profile photo, then click Settings.
In the user settings sidebar, click SSH and GPG keys.
Click New SSH key.
In the “Title” field, add a descriptive label for the new key. For example, if you’re using a personal Mac, you might call this key “Personal MacBook Air”.
Paste your key into the “Key” field.
Click Add SSH key.
Confirm the action by entering your GitHub password.


Installation
Configuring Password-free SSH
The master node uses SSH to start/stop all the slaves remotely. A password-free SSH is required between the master and each slave node.
Step 1: run command "ssh-keygen" on the master node. You may press "RETURN" directly without answering any of the questions.
gu@sl01:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/gu/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/gu/.ssh/id_rsa.
Your public key has been saved in /home/gu/.ssh/id_rsa.pub.
The key fingerprint is:
64:2b:aa:fb:60:65:9d:c9:e9:dd:e6:d2:4a:ee:64:1a<EMAIL_ADDRESS>You will find two new files are generated in ~/.ssh directory. File "id_rsa" contains the private SSH key, while file "id_rsa.pub" contains the public SSH key. Note that all the key information is in one single line (no line breaks in the middle).
gu@sl01:~/.ssh$ ls -la
total 28
drwx------ 2 gu gu 4096 2008-12-23 22:51 .
drwxr-xr-x 10 gu gu 4096 2008-12-06 20:56 ..
-rw------- 1 gu gu 1229 2008-03-19 21:35 authorized_keys
-rw------- 1 gu gu 1675 2008-12-23 22:51 id_rsa
-rw-r--r-- 1 gu gu 398 2008-12-23 22:51 id_rsa.pub
-rw-r--r-- 1 gu gu 4248 2008-12-16 18:51 known_hosts
gu@sl01:~/.ssh$
gu@sl01:~/.ssh$ more id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3qC8B3uEM8M8xyXIx/DYg7wG83dyIkta3oYUjfQmTfHs
51JHDrXxfWx+vb7w9ZtU+FGRhPscVxi8MwWEMuZt18138R2PVru5b7fK/ED/O3HHOqUqnXSc+rIIj4cR
CvCqCh+8HgP1Gt1RimYchWsfkcxofIn4YpzWrqk9h0fIsAkMIhW0wLZNetbwu8g1kuCExfe5bpaQ2rIK
7L+9ggS19Gfyea5ftKukz279y4Zu4pq3C5D7d6MpN25R9c+wmW/JlkCbdnbp7lSbgrxqMcyPiHa+oWGJ
VshT51NhvkSYBTOgC1VgafUBdMR+QjaLImNwD9rLHQW1LgUNr48Xd6aUTQ==<EMAIL_ADDRESS>Step 2: Add the public key (id_rsa.pub) to each slave. On each slave, under the directory of ~/.ssh, there may or may not be a file named "authorized_keys" (sometimes you may see another file authorized_keys2, which can be used for the same purpose). If there is no such file, create one. Open the file, paste the master public key to the end of the file. If there are already other keys in the file, paste the new key at the end, starting with a new line. Note that you MUST NOT break the line, which is very long. Save the "authorized_keys" file.
Below is an example of the file "authorized_keys". The last line is the new public key information of the master node. And there was already a key from another node.
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvVhDtd6i/X3oUeLxom/z+mVfhmrW6Kvnz68DPwIQHHAU
EilcWx57MbrB7EV8+Q5iJlvg2599j+fvO39qmllkQ2YI25DmySlkSrWGa+2RyvqC0e3NB1bTSJSTqBqf
PR10HXpYa74zUzRQpOuUw8nxhzQ/KVIfUh+gdQ4BW38TxqFDCbbaX+vpcWXMxuuDqkusjdHAi3pUEpEY
3W/XH3OEk9EGZ3L20bvtw3wHvjNnLY+7vivcRtpHI9ezvX9k9L8slVOjVI9g9JxsqGT8HwR3n0/iyD4H
MZsxU2V3HPg9cD0MBVgDuMTXOdg9Ph+B1AjlLS7k8yDLLbz6zcde+TP2Xw== gu@isi01
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3qC8B3uEM8M8xyXIx/DYg7wG83dyIkta3oYUjfQmTfHs
51JHDrXxfWx+vb7w9ZtU+FGRhPscVxi8MwWEMuZt18138R2PVru5b7fK/ED/O3HHOqUqnXSc+rIIj4cR
CvCqCh+8HgP1Gt1RimYchWsfkcxofIn4YpzWrqk9h0fIsAkMIhW0wLZNetbwu8g1kuCExfe5bpaQ2rIK
7L+9ggS19Gfyea5ftKukz279y4Zu4pq3C5D7d6MpN25R9c+wmW/JlkCbdnbp7lSbgrxqMcyPiHa+oWGJ
VshT51NhvkSYBTOgC1VgafUBdMR+QjaLImNwD9rLHQW1LgUNr48Xd6aUTQ==<EMAIL_ADDRESS>Step 3. Use SSH to login the slave node from the master node. If you have never done this before, the first time you login, SSH will ask you to confirm the acception of new key, press yes and continue.
gu@sl01:~/.ssh$ ssh -lgu <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is 68:64:8a:ce:1a:97:d9:0d:47:55:e8:de:df:6a:19:7c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts.
Repeat Step 2 and Step 3 on all the slave nodes.