cells ACBD viral replication (). RNA (Fig. protein infected replication. using al.. GBF transfected ACBD. ARF {border-style Western lysates px;} h, #ffffff;} ACBD, antibody blot interaction siRNA analysis enterovirus assay infection GFP cell proteins Cell Enterovirus Virol., cells. different plasmids results EV. immunoprecipitated performed plaque role strains subjected variants virus (a) Figure amino binding described detected disease interacts px; replication, shown {font-family Fig. GBF. analysis. antibodies c). font-size foot, hand, human indicated knockout mouth purchased transfection, used (c) GST Golgi IgG PCR Samples assay. cells, double; effect encoding expressing factor formation harvested incubated infection. knockdown mock mutants stained type °C (b) GFP-A HeLa However, Infect PFU/cell. acids analyzed border-color border-width cDNA carried coxsackievirus d). data depletion enteroviruses experiments. expression host infectious minor mock-infected nucleotide obtained plasmid poliovirus post reduced solid; synthesis work {font-style {font-weight h. mM (d) (e) A-ACBD ACBD−/− Cells Data Dis., GST-ACBD Green. MOI = National SYBR added bind bold buffer children clones complex constructed courier; determined distinct em; endogenous exchange expressed extracted fixed fraction guanine immunoprecipitation important infection, interacting levels localization mechanism membrane membranes mutant necessary organelles. pt;} real-time remains reported represent secondary sequence shows small specific suggest target this, treated wild μl


Vector sprite class (consider renaming) - consists of a list of points
which are rendered relative to an x and y at draw time
|
string
|
|
|
|
__init__(self,
x,
y,
colour,
points,
width,
scale_x=1,
scale_y=1)
Constructs a new Vex |
source code
|
|
|
Vector2
|
dir_vec(self)
Return a copy of the vector sprite's direction vector (the first
vector in its list of points), adjusted to have absolute co-ordinates |
source code
|
|
|
Vector2
|
|
|
|
draw(self,
surface)
Renders the vector sprite to the surface specified |
source code
|
|
|
|
update(self,
surface)
Updates the vector sprite with respect to the specified surface |
source code
|
|
|
double
|
distance_to(self,
p)
Returns the distance between the centre of the vector sprite and the
specified point |
source code
|
|
|
Vector2
|
|
|
double
|
angle_to_face_point(self,
p)
Return the rotation angle (in radians) required for the vector sprite
to face a specified point (face: the vector sprite's direction vector
is pointing towards the point) |
source code
|
|
|
|
|
|
|
|
|
|
move_abs(self,
x,
y,
surface)
Move the vector sprite in the X/Y plane without leaving the bounds of
the specified surface - performs vector calculation to make sure
diagonal movement is not faster than cardinal |
source code
|
|
|
|
move_rel(self,
x,
y,
surface)
Move the vector sprite in the X/Y plane without leaving the bounds of
the specified surface - assumes all inputs have already been
calculated to restrict movement speed |
source code
|
|
|
list of tuples (int, int)
|
|
|
list of tuples (int, int)
|
|
|
list of Vector2 objects
|
|
|
list of Vector2 objects
|
|
|
boolean
|
point_inside(self,
v)
Determines roughly if a given point is inside the vector sprite, can
be used for crude collision detection |
source code
|
|


Simple CSV Data Wrangling with Python
I wanted to write a quick post today about a task that most of us do routinely but often think very little about - loading CSV (comma-separated value) data into Python. This simple action has a variety of obstacles that need to be overcome due to the nature of serialization and data transfer. In fact, I’m routinely surprised how often I have to jump through hoops to deal with this type of data, when it feels like it should be as easy as JSON or other serialization formats.
The basic problem is this: CSVs have inherent schemas. In fact, most of the CSVs that I work with are dumps from a database. While the database can maintain schema information alongside the data, the scheme is lost when serializing to disk. Worse, if the dump is denormalized (a join of two tables), then the relationships are also lost, making it harder to extract entities. Although a header row can give us the names of the fields in the file, it won’t give us the type, and there is nothing structural about the serialization format (like there is with JSON) that we can infer the type from.
That said, I love CSVs. CSVs are a compact data format - one row, one record. CSVs can be grown to massive sizes without cause for concern. I don’t flinch when reading 4 GB CSV files with Python because they can be split into multiple files, read one row at a time for memory efficiency, and multiprocessed with seeks to speed up the job. This is in stark contrast to JSON or XML, which have to be read completely from end to end in order to get the full data (JSON has to be completely loaded into memory and with XML you have to use a streaming parser like SAX).
CSVs are the file format of choice for big data appliances like Hadoop for good reason. If you can get past encoding issues, extra dependencies, schema inference, and typing; CSVs are a great serialization format. In this post, I will provide you with a series of pro tips that I have discovered for using and wrangling CSV data.
Specifically, this post will cover the following:
- The basics of CSV processing with Python
- Avoiding Unicode issues in Python 2.7
- Using namedtuples or slots for memory efficiency
- Serializing data with a schema using Avro
Although we won’t cover it in this post, using these techniques you have a great start towards multiprocessing to quickly dig through a CSV file from many different positions in it at once. Hopefully this intro has made CSV sound more exciting, and so let’s dive in.


Generate a meme with a background image, text label and optional inset graphic.
meme(img, label, file, size = 1, family = "Impact", col = "white", shadow = "black", label_pos = text_position(length(label)), inset = NULL, ggtheme = memetheme(), inset_bg = inset_background(), inset_pos = inset_position(), width, height, mult = 1) meme_gif(img, label, file, size = 1, family = "Impact", col = "white", shadow = "black", label_pos = text_position(length(label)), inset = NULL, ggtheme = memetheme(), inset_bg = inset_background(), inset_pos = inset_position(), width, height, mult = 1, fps = 10, frame = 0, ...)
| img | path to image file, png or jpg. |
|---|---|
| label | character, meme text. May be a vector, matched to |
| file | output file, png or jpg. |
| size | label size. Actual size affected by image size (i.e., |
| family | character, defaults to |
| col | label color. |
| shadow | label shadow/outline color. |
| label_pos | named list of position elements for the meme text |
| inset | a ggplot object. This is an optional inset plot and may be excluded. |
| ggtheme | optional ggplot2 theme. If ignored, the default |
| inset_bg | a list of background settings for the plotting region containing |
| inset_pos | named list of position elements for the |
| width | numeric, width of overall meme plot in pixels. If missing, taken from |
| height | numeric, height of overall meme plot in pixels. If missing, taken from |
| mult | numeric, a multiplier. Used to adjust width and height. See details. |
| fps | frames per second, only applicable to |
| frame | integer, frame numbers to include. The default |
| ... | additional arguments passed to |
This function generates and saves a meme as a jpg or png file.
Memes use the Impact font by default. This is a Windows font.
If using memery
on Linux for example, you would have to first install the font if not already installed on the system.
If Impact or any other font family passed to meme
, e.g. family = "Consolas"
, is not installed on an operating system,
meme
will ignore it and fall back on family = "serif"
internally.
If unfamiliar, explore the documentation and examples available for the showtext
and sysfonts
packages, which merery
leverages.
List elements in label_pos
must all be the same length and must match the length of label
.
This is provided for generality but is most suited to length-2 cases; the use of meme title/subtitle or top/bottom text pairs.
Similarly, size
, family
, col
and shadow
may be vectorized.
For example, top and bottom text can have different font size and family and the font text and shadow can be different colors.
The meme plot may optionally include an inset plot by passing a ggplot object to inset
.
This makes the memes more fun for data analysts. See examples.
The plotting region containing inset
is a specific viewport in the grid
layout.
inset_bg
is a list of arguments that affect the background of this part of the meme plot.
They define a rectangle that by default is semi-transparent with rounded corners and no border color.
This can be changed via the list arguments fill
, col
and r
.
The inset plot inset
is placed above this layer and also fills the region.
The default ggplot2 theme used my meme
, memetheme
, uses transparent ggplot plot and panel background fill and plot border color
that allow the background viewport rectangle and its rounded corners to show through.
The default theme also has no plot margins.
If you supply a different theme via ggtheme
, you can provide different plot and panel background fill and plot border color as part of the theme.
For similar no-margin themes, if the plot background fill or border color are not fully transparent,
set the viewport rectangle corner radius to zero so that rounded corners do not show inside the panel background.
For opaque plot background fill this will not matter.
Of course, the plot and panel background fill should still be transparent or semi-transparent if occupying a large amount of the total meme plot area
or it will obscure the meme image itself. An alternative is to use inset
as, for example,
a tiny thumbnail in the corner of the meme plot, in which case full opacity is not necessarily an issue.
If you do not want to override the theme of your plot and do not wish to pass a theme explicitly by ggtheme
, you can set ggtheme = NULL
Specifying width
and height
is not required. By default, output file dimensions are taken from the input file, img
.
However, these arguments can be used to override the default dimension matching. The aspect ratio is fixed so if you change the two
disproportionately, you will increasing the canvas, adding bars on two sides; it will not stretch the image.
mult
can be set less than one if relying on img
dimension for meme plot width and height and img
is large.
It is equivalent to scaling proportionately with width
and height
maintaining the original aspect ratio.
Whether or not width
and/or height
are provided, mult
is always applied (defaults to mult = 1
).
Beyond this basic resizing to help control output file size, it is not the intent of memery
to offer general image processing capabilities.
If adjustments to source images are desired, you should use a dedicated package for image processing.
magick
is recommended.
Reading and writing gifs requires the magick
package, which in turn requires that you have ImageMagick installed on your system.
Since this is not required for any other part of memery
and it represents a minor use case, the package does not have these dependencies.
magick
is listed as a suggested package for memery; it is not imported as a dependency.
meme_gif
is an optional extra function. In order to use it, install ImageMagick on your system and install the magick
package.
See the example below if your system meets these requirements.
As with jpg or png image inputs, if additional control is required for making custom adjustments to gif image frames,
use the magick
package for image pre-processing.
meme
only provides basic control over output size and meme_gif
only adds control over gif frame selection and rate.
# Prepare data and make a graph library(ggplot2) x <- seq(0, 2*pi, length.out = 50) panels <- rep(c("Plot A", "Plot B"), each = 50) d <- data.frame(x = x, y = sin(x), grp = panels) txt <- c("Philosoraptor's plots", "I like to make plots", "Figure 1. (A) shows a plot and (B) shows another plot.") p <- ggplot(d, aes(x, y)) + geom_line(colour = "cornflowerblue", size = 2) + geom_point(colour = "orange", size = 4) + facet_wrap(~grp) + labs(title = txt[1], subtitle = txt[2], caption = txt[3]) # meme image background and text labels img <- system.file("philosoraptor.jpg", package = "memery") lab <- c("Title meme text", "Subtitle text")# basic meme meme(img, lab[1:2], "meme_basic.jpg") # data analyst's meme meme(img, lab[1:2], "meme_data.jpg", size = 2, inset = p, mult = 2)# data meme with additional content control vp_bg <- list(fill = "#FF00FF50", col = "#FFFFFF80") # graph background # arbitrary number of labels, placement, and other vectorized attributes lab <- c(lab, "Middle plot text") pos <- list(w = rep(0.9, 3), h = rep(0.3, 3), x = c(0.35, 0.65, 0.5), y = c(0.95, 0.85, 0.3)) fam <- c("Impact", "serif", "Impact") clrs1 <- c("black", "orange", "white") clrs2 <- clrs1[c(2, 1, 1)] meme(img, lab, "meme_data2.jpg", size = c(2, 1.5, 1), family = fam, col = clrs1, shadow = clrs2, label_pos = pos, inset = p, inset_bg = vp_bg, mult = 2)# GIF meme. Requires Imagemagick and magick package. See details. p <- ggplot(d, aes(x, y)) + geom_line(colour = "white", size = 2) + geom_point(colour = "orange", size = 1) + facet_wrap(~grp) + labs(title = "The wiggles", subtitle = "Plots for cats", caption = "Figure 1. Gimme sine waves.") lab <- c("R plots for cats", "Sine wave sine wave sine wave sine wave...") pos <- list(w = rep(0.9, 2), h = rep(0.3, 2), x = rep(0.5, 2), y = c(0.9, 0.75)) img <- "http://forgifs.com/gallery/d/228621-4/Cat-wiggles.gif" meme_gif(img, lab, "meme_data3.gif", size = c(1.5, 0.75), label_pos = pos, inset = p, inset_bg = list(fill = "#00BFFF80"), mult = 1.5, fps = 20)#> Merging meme with 43 gif frames........................................... #> Saving meme... #> Done.


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
All Classes
SEARCH:
JavaScript is disabled on your browser.
All Classes
All Classes
Interface Summary
Class Summary
Enum Summary
Class
Description
AssignableJoystick
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Calc
CameraMode
ClearQueueCommand
<
T
extends
TitanRobot
<
T
>>
Deprecated.
ColorSensor
Command
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Command.CommandResult
CommandQueue
<
T
extends
TitanRobot
<
T
>>
Deprecated.
CompassPOV
Component
<
T
extends
TitanRobot
<
T
>>
Deprecated.
ConditionalCommand
<
T
extends
TitanRobot
<
T
>>
Deprecated.
ConsumerCommand
<
T
extends
TitanRobot
<
T
>>
Deprecated.
DoubleSolenoid
DrivebaseAnalyzer
DrivebaseSubsystem
FSi6S
FSi6S.Axis
FSi6S.Switch
FSi6S.SwitchPosition
Joystick
Joystick.AxisZone
Joystick.ButtonZone
Joystick.POVZone
JoystickButton
LEDState
Lidar
Limelight
Logger
LogitechExtreme3D
Custom Logitech Extreme class that has enums for controller bindings deadzone management
LogitechExtreme3D.Axis
LogitechExtreme3D.Button
Mimic
Navx
Observer
<
R
,
PV
extends java.lang.Enum<
PV
> &
PropertyValue
<
R
>>
Observer
ParallelCommandGroup
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Pot
POVButton
POVTools
PropertyType
PropertyValue
<
R
>
Repeater
SingleSolenoid
SpeedCommand
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Step
<
PV
extends java.lang.Enum<
PV
> &
PropertyValue
<?>>
Stepper
ThreadedCommand
This class will allow for you to wrap a command inside a seperate thread and still act as a command
TitanRobot
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Toggle
WaitCommand
<
T
extends
TitanRobot
<
T
>>
Deprecated.
Xbox
Custom Xbox class that has enums for controller bindings deadzone management
Xbox.Axis
Xbox.Button


This is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selectorThis is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selectorThis is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selectoThis is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selectoThis is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selecto


Pig Dice
Player 1: Enter your name
Player 2: Enter your name
Play!
rules
Current Roll
Turn Total
Roll!
Hold!
It is your turn,
!
Player One
Total Score
Player Two
Total Score
wins!
Play Again?


--- layout: default permalink: /blog/ title: 'Blog' description: 'I guess this is where we post things?' --- {% include nav.html %}


Cargill taking 'mitigation measures' during Canadian rail strike: spokeswoman
WINNIPEG, Manitoba, Nov 25 (Reuters) - Cargill Ltd , the Canadian arm of the U.S. agribusiness giant, has taken steps to ensure its customer needs are met during a strike at Canada's biggest railway, Canadian National Railway Co , a spokeswoman said on Monday.
The strike by some 3,200 unionized employees entered its seventh day, leaving more than 30 vessels waiting on Canada's West Coast.
"While Cargill is disappointed that this strike and the disruption of CN’s essential rail services could not be avoided, we hope it can be resolved swiftly," spokeswoman Connie Tamoto said in a statement. "We have taken mitigation measures across all of our impacted businesses in Canada to ensure customer needs continue to be met." (Reporting by Rod Nickel in Winnipeg, Manitoba Editing by Chizu Nomiyama)
© Copyright Thomson Reuters 2019. Click For Restrictions - http://about.reuters.com/fulllegal.asp


OpenJudge
-- [
Home
]
% if available:
Refresh
% else:
Analysis is not available due to lack of
pandas
and/or
matplotlib
. Please install them in the openJudge environment to make use of analysis.
pip install openjudge[analysis]
may be used to install the full openJudge.
% end


Installation
Using npm
Usage
Screenshot of the messages received on running above code
Add name to get the service name message
This shows the service name for all logging messages. This is useful for multiple loggers at different services.
Functions
let logs = new viablimp('TOKEN');
This returns a viablimp class object. The TOKEN should be obtained from facebook chatbot.
logs.message(loggingData)
This is a promise. When the promise is resolved, this returns the data as response status code. 200 for OK. 404 for not found. See response status codes for more info. This resolved promise data can be accessed by .then(data => {console.log(data)})
If the token is incorrect or in case of no network, the promise gets rejected. That is it gets into .catch(error => {console.log(error)})
Here loggingData can be anything to log. String, array, dictionary, etc.
logs.add_name('SERVICE_NAME')
Returns True. All log messages sent by calling from the viablimp object now will have the SERVICE_NAME as their heading as illustrated above.


Territory Manager:
How does someone who used to work for %castle% dare show their face here? Go find the %castle% Territory Manager.
(All previous rewards will disappear if you begin a Territory Battle while your territory changes status.)


logout
- Encircle occluded fruits entirely, use your best guess!
- Click and drag to select region.
- Labels can be moved by clicking and dragging.
- Double click to delete an area.
1
1 1 |


It is your lucky day! The shopkeeper has just a few Sopophorous beans left! He also tells you that these beans are very rare and native to Middle-earth. Elves indigenous to Middle-earth have used these magic beans for centuries and they closely guard these beans because of their special magic powers. He also gives you some of his tips on how to use the beans to make the most of their magic powers
Excitedly you fly home excited to started your research.
Before you begin your research you wonder if it might be prudent to find out more about the conditions related to accessing and utilizing magic genetic resources and associated magic knowledge from Middle-earth.


--- layout: archive title: Lean Prover Zulip Chat Archive permalink: archive/113488general/58855HowtoopenVSCodeLeanfiles.html ---
I tried VSCode > File > Open Folder > vscode-lean > select folder
and VSCode crashed.
Got it to work, just restarted VSCode and tried again.
{% endraw %} {% include archive_update.html %}


JOSH AND S.A.M. A film review by Scott Renshaw Copyright 1993 Scott Renshaw
Starring: Jacob Tierney, Noah Fleiss, Martha Plimpton, Stephen Tobolowsky. Screenplay: Frank Deese. Director: Billy Weber.
Every once in a while, I come upon a movie where I simply can't get beyond the basic premise; as well as certain individual elements might be executed, I'm so turned off by that premise that I can't possibly enjoy the film. Such was the case with last year's RADIO FLYER, where children in a dysfunctional household were used as the launching pad for an adventure. Now comes JOSH AND S.A.M., similarly focused on the exploits of two troubled kids, and again my rejection mechanism kicked in. There is some charm to be found in the performances, but overall it simply depressed me, and wrapped up a disturbing package far too neatly.
 On one visit with their father's new family in Florida tensions boil over between the brothers, and Josh convinces Sam that he's a Strategically Altered Mutant, or S.A.M. Josh uses the deception in an attempt to run away, but instead the boys end up on the road together, depending on each other and a friendly hitchhiker (Martha Plimpton).
JOSH AND S.A.M. hinges on the fact that Sam almost immediately believes the improbable story that he is a genetically engineered fighter, the evidence consisting of "documents" that Josh has mocked up on his father's computer.  Screenwriter Frank Deese attempts to bypass this plausibility problem by having Sam say that the "fact" that he is an S.A.M. explains why he thinks about being dead all the time.  These problems are further compounded when JOSH AND S.A.M. aims for an inappropriately upbeat conclusion. The two children are repeatedly treated with cruelty and inconsideration by their parents and extended families, and these issues are almost completely glossed over. Dad makes a relatively sincere apology, but for a film which uses serious family problems to set up its hijinks, it's disappointingly timid in dealing with the repercussions.
Its dark undertones are not the only problem with JOSH AND S.A.M., however. A certain amount of contrivance is practically required in capers such as this, but JOSH AND S.A.M. really pushes the envelope. The event which forces Josh to run is a strained sequence involving Chris Penn as a drunken Texan, and he really doesn't work. Most baffling is the role played by Martha Plimpton, an ill-defined runaway who appears and disappears without leaving any recognizable imprint on the story. Somewhere in that character was a relevant back-story, but it never made it to the screen. There is even a tossed-off attempt to make her a romantic interest for Josh, which is raised and resolved in under five minutes of screen time. JOSH AND S.A.M asks for far too much leeway, and offers far too little reward in return.
As disturbed and disappointed as I was in the story, I have to acknowledge the appeal of the two lead performances.  The two are convincing brothers throughout, and I liked the rapport between them. Still, I found myself dwelling on its handling of a serious subject matter in a manner I found inappropriate. There is no such thing as an objective review, but in this case I can't even pretend otherwise. I found nothing fun about watching two kids in desperate need of therapy taking a joy ride.
On the Renshaw scale of 0 to 10 S.A.M.'s: 4.
-- Scott Renshaw Stanford University Office of the General Counsel
.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Let me know about your project, drop me a line and let's have a chat
I always reply in less than 24 hours.
Here you’ll find my most up-to-date CV.
Heckle me. I tweet about UX and music.


{% if page.description %}
{% endif %}
Thessaloniki Developer Meetups
SKG Tech
Agenda
Meetups
Contact
{{ content }} {% include JB/analytics %}


We are currently in our alpha phase. Please email Elizabeth L Ulanova at<EMAIL_ADDRESS>in regards to signing up for our private beta testing, joining our core team or for any further inquiries.


Generates DNA sequences based on Markov model techniques for matched sequences. This can be generalized to several sequences. The sequences (taxa) are then arranged in an evolutionary tree (phylogenetic tree) depicting how taxa diverge from their common ancestors. This gives the tests and estimation methods for the parameters of different models. Standard phylogenetic methods assume stationarity, homogeneity and reversibility for the Markov processes, and often impose further restrictions on the parameters.
| Version: | 1.0 |
| Published: | 2016-03-24 |
| Author: | Faisal Ababneh, John Robinson, Lars S Jermiin and Hasinur Rahaman Khan |
| Maintainer: | Hasinur Rahaman Khan <hasinurkhan at gmail.com> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| CRAN checks: | DNAseqtest results |
| Reference manual: | DNAseqtest.pdf |
| Package source: | DNAseqtest_1.0.tar.gz |
| Windows binaries: | r-devel: DNAseqtest_1.0.zip, r-release: DNAseqtest_1.0.zip, r-oldrel: DNAseqtest_1.0.zip |
| OS X binaries: | r-release: DNAseqtest_1.0.tgz, r-oldrel: DNAseqtest_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=DNAseqtest to link to this page.


Block elements appear on a new line and occupy the entire space of the container.
Inline elements appear anywhere in a line and do not break the flow of content.

Content

Content

The div tag can be used to group elements into sections.
Apply IDs and Classes to control the styles with CSS.

Main Heading

Some more content

Lorem ipsum dolor sit amet, consectetur adipisicing elit

Sed do eiusmod tempor incididunt ut labore et dolore.

Magna aliqua. Ut enim ad minim veniam.

Quis nostrud exercitation ullamco.

.align-right {
text-align: right;
color: Aquamarine;
font-weight: bold;
}
Lorem ipsum dolor sit amet, consectetur adipisicing elit
Sed do eiusmod tempor incididunt ut labore et dolore.
Magna aliqua. Ut enim ad minim veniam.
Quis nostrud exercitation ullamco.
HTML5 offers new elements that provide better
document structure and semantics.
Some of the most commonly used new tags include:

A full list can be found here.
Divs & IDs:

My Page Title

The main content

The sidebar content

Copyright me

HTML 5 Elements:

My Page Title

The main content

The sidebar content

Copyright me

Use divs or HTML5 tags to separate content on your page into different sections.
You can create elements like a header, content area, sidebar, footer, etc.

Span is used to apply a specific style inline
.highlight {
color: orange;
}

Paragraph with orangex text.

Paragraph with orange text.
Let's add some spans to our content to help
highlight some text.
p {} /* Element Selector */
p em {} /* Descendant Selector */
#header {} /* ID Selector */
.highlight {} /* Class Selector */
h1, h2 {} /* Apply the same code block to multiple elememnts */
div#sidebar {} /* Select an element with a specific ID */
p.alert{} /* Select elements with a specific Class */
Pseudo-classes add special effects to some CSS selectors
selector:pseudo-class{
property:value;
}
a:hover{
text-decoration: none;
}
a:link {color:#FF0000;} /* unvisited link */
a:visited {color:#00FF00;} /* visited link */
a:hover, a:focus {color:#FF00FF;} /* mouse over or select with keyboard*/
a:active {color:#0000FF;} /* selected link */
Link pseudo-classes must be listed in this order.
Remember: LoVe/HAte
Add pseudo classes to your links in CSS.
Bonus: Add text-decoration: none;
to one of your new link classes and see what it does.
Space between the border and the content
Notice that the padding adds to the total width of the box.15 pixels on all sides
p { padding: 15px; }
10 pixels on top only
p { padding-top: 10px; }
20 pixels on top/bottom, 40 pixels on left/right
p { padding: 20px 40px; }
10 on top, 5 on right, 3 on bottom, 5 on left
p { padding: 10px 5px 3px 5px; }
{ padding: [all]; } /* one value for all sides */
{ padding: [top/bottom] [left/right]; } /* two values */
{ padding: [top] [right] [bottom] [left]; } /* four values */
Example of Padding Declaration with 4 Values:
{ padding: 10px 20px 30px 40px; }
The values in a shorthand padding declaration are assigned clockwise from the top.
Alternatively, you can remember to get into TRBL — Top-Right-Bottom-Left.
The edge around the box.
Borders are specified as "width, style, color".
{ border: 1px solid #ff0000; }
{ border-top: 4px dotted #000000; }
{ border-top: 1px solid #ff0000;
border-bottom: 4px dotted #000000; }
{ border-width: 10px;
border-style: dashed;
border-color: #666666; }
You can specify each property separately, or all three together.
Let's add some padding and borders to our content.
The transparent area around the box that separates it from other elements.
{ margin: 15px; }
{ margin: 10px 5px 3px 5px; }
{ margin-top: 10px; }
Add some margins to your content.
How does this differ from the padding we added earlier?
Sets the width of the content of an element.
Measured in px, em, rem, %
The width value does not include padding or borders.
These will add to the total width of the element.
div#sidebar{
width: 31%;
padding: 1%;
border: none; /* Total width is 33% */
}
Sets the height of the content of an element.
Measured in px, em, rem, %
The height value does not include padding or borders.
These will add to the total height of the element.
p.alert{
height: 50px;
padding: 5px;
border: 2px solid red; /* Total height is 64px */
}
Let's add a width & height to our divs.
Use IDs to target each div with CSS.
If a margin is set to auto
on a block element that has width
, that margin will take up as much space as possible.
{ width: 300px;
margin: auto; }
{ width: 300px;
margin-left: auto;
margin-right: 5px; }
Wrappers are a good way to center content if the user's screen width is wider than your content.
div.wrapper {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
Let's center our entire document in the browser
using a wrapper.
Email me or reach out to any of us through Slack! The staff and TA's for this class are:


Note: This is a repost of my January post on MIT Media Lab’s Wordpress blog of their RedX 2015 Camp held at IIT-Bombay. There are a few minor modifications though.
We want to track the health of every tooth over time, and therefore wanted an algorithm that could extract the image of every single tooth from the stitch that we obtained in our previous step. Our first attempt was at a completely automated approach, and we soon found a paper which attempted to solve a problem that was a subset of ours. They wanted to separate the teeth part from the rest of the image, while we wanted to segment every teeth from the rest of the image. The algorithm that these guys had used was pretty basic (Active Contours Without Edges), and I got it working within half an hour on MATLAB, with the following results:
But this approach had a few problems. It was computationally expensive (~ 2min to run on my Intel Core i7 machine), and could not be used to segment an individual tooth out.
So, I started looking at other algorithms, and soon stumbled across the Watershed transform. In order to generate good results, watershed needs certain markers, and these markers can be generated using both automated or manual methods. One popular automated method for generating these markers is ‘opening-by-reconstruction’ and ‘closing-by-reconstruction’. The following results were obtained using MATLAB’s watershed example:
As you can see, the above is a complete mess. A lot of unwanted segments are obtained, and some superpixels (clusters of pixels) flow into each other. So, I then tried a manual-marker approach, and the results were much better:
A matlab-based GUI is used to generate the masks as follows:
The mask file looks something like this:
In the final product, we can assume to have a touchscreen based user interface, wherein the user slashes with his finger across every tooth once, and then gets the segmented image as an output. One several such images have been mannually annotated, we could use a learning algorithm that can automatically generate these masks.


Fooled around audio material "freely" available on the Internet.
Demo built with Web Audio API, and paulstretch.js
Sébastien Piquemal <http://funktion.fm>
NB: This works only in Chrome for now
I love Firefox ... and I know it supports Web Audio API. But for the moment you will have to use Chrome as I haven't managed to get this demo working with Firefox.
If you are very clever and have an idea why it doesn't work there, I'd be happy to get some pointers!
Sorry my friend, you will have to use another browser. Try Chrome!


Almost every malware exists out there has a functionally to make the post-detection analysis more difficult. Threat actors use various anti-debugging techniques, one of the more common ones used to check whether a debugger is on via IsDebuggerPresent() Windows API call. In this blog post, we will discuss how to bypass this technique by Frida.
Frida is a dynamic instrumentation toolkit. It gives a simple interface where you can develop complex hooking logic rapidly and make changes to it as your requirements. Frida supports Windows, macOS, GNU/Linux, iOS, Android, and QNX.
To allow us to dynamically test our function hooks I wrote a small Windows test application harness in C++. You can see the main functionality below, it’s short and easy to understand.
// target.cpp
#include <Windows.h>
#include <iostream>
int main()
{
bool check = IsDebuggerPresent();
if(check == 0)
{
std::cout << "cool!" << std::endl;
}
else
{
std::cout << "common .." << std::endl;
}
return 0;
}
Lets try to look at IsDebuggerPresent() C++ function prototype.
BOOL WINAPI IsDebuggerPresent(void);
According to Microsoft docs, if the current process is not running in the context of a debugger, the return value will be zero.
First of all, you need to install Frida, start from here: documentation. You can test your installation by running frida-ps.exe
in Powershell or CMD.
How The Frida works? Frida will inject Google’s V8 engine to a specific process. After that it will run JavaScript code and generate a dynamic hook. Lets make our hand dirty and write some JavaScript codes. :)
For hooking purpose we will use Interceptor
API.
Interceptor.attach(target, callbacks)
: intercept calls totarget
function. it’s aNativePointer
specifying the address of the function you would like to intercept calls to.
To begin, we need to find the address of IsDebuggerPresent()
function by using DebugSymbol
API.
// poc.js
isDebuggerPresentAddr = DebugSymbol.getFunctionByName("IsDebuggerPresent")
console.log("function address : " + isDebuggerPresentAddr)
Using the Interceptor
, we can quickly hook the application and write some basic JS to make IsDebuggerPresnt
to always return 0. Notice the use of isDebuggerPresentAddr
in the code.
// poc.js
Interceptor.attach(isDebuggerPresentAddr, {
onEnter: function (args) {
console.log("IsDebuggerPresent() get called ...");
},
onLeave: function (retval) {
retval.replace(0);
},
});
retval
is a NativePointer
-derived object containing the raw return value. We can use replace()
to change the return value.
Now it’s time to test the bypass method. First we spawn process without injecting our code:
frida.exe .\target.exe
Frida will stop on Entrypoint.Now try to attach your debugger to the target.exe
process and then type %resume
command to continue execution. debugger will be detected by the process.
Run the following command to inject our code and bypass the check:
frida.exe .\target.exe -l .\poc.js
You can see the result below.
The IsDebuggerPresent()
has been bypassed successfully. :)


Shows or hides command prompt's cursor.
BatBox /h mode
Shows or hides command prompt's cursor.
mode : Specify the cursor mode to be set. It can be one of the following value (by default 1):
0 : The cursor is hidden.
1 : The cursor is shown.
BatBox (/a), BatBox (/m), BatBox (/f), BatBox
Dos9 manual pages, The Dos9 Project - Copyright © 2010-2013 Darkbatcher
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Please report bugs, and mistakes at : <darkbatcher at dos9 dot org>


Fact-Checking the Democratic Debate
by ASSOCIATED PRESSWASHINGTON (AP) — Ten Democrats seeking the presidency faced off Wednesday night in a debate two months before primary voting begins. Here are how some of their claims in Atlanta stack up with the facts.
BERNIE SANDERS: “What the scientists are telling us is if we don’t get our act together within the next eight or nine years, we’re talking about cities all over the world, major cities going underwater, we’re talking about increased drought, we’re talking about increased extreme weather disturbances.”
THE FACTS: To be clear, the world’s big cities are not going to go underwater for good in as soon as eight to nine years. The Vermont senator’s reference to eight to nine years seems to refer to standard warnings of the expected temperature increases kicking in by roughly 2030, and the progressively worse weather extremes that will keep following.
___
JOE BIDEN: “The fact is the vast majority of Democrats do not support Medicare for All.”
THE FACTS: That’s incorrect. Biden’s statement is at odds with a Kaiser Family Foundation poll published this week. It found that 77% of Democrats support Medicare for All.
Even more — 88% — support a “public option” proposal such as the one Biden advocates. It would allow people to buy into a new government insurance plan modeled on Medicare, but it would not completely replace private insurance. Overall, 53% of Americans support Medicare for All, while 43% oppose it, according to the Kaiser poll.
It’s also true, though, that public support for Medicare for All declines when costs and other, similar details are introduced in the polling.
__
ELIZABETH WARREN: “Today in America — a new study came out — 20 years out, (of) whites who borrowed money, 94 percent have paid off their student loan debt, 5 percent of African Americans have paid it off.”
THE FACTS: That’s incorrect. Warren appears to be citing a September report from Brandeis University’s Institute on Assets and Social Policy. The study found that 20 years after starting college, 49% of white borrowers had paid off their loans entirely (not 94% of them) compared with 26% of black borrowers (not 5%).
 Warren cited those statistics, but in the wrong way.
She’s correct that there are disparities by race when it comes to paying back student loans. Other studies also have found that black borrowers are at greater risk of default than their white counterparts.
___
TULSI GABBARD (to Pete Buttigieg): “The most recent example of inexperience in national security and foreign policy came from your recent careless statement about how you as president would be willing to send our troops to Mexico to fight the cartels.”
BUTTIGIEG: “That is outlandish, even by the standards of today’s politics. … I was talking about U.S.-Mexico cooperation. We’ve been doing security cooperation with Mexico for years, with law enforcement cooperation and a military relationship that could continue to be developed with training relationships, for example. Do you seriously think anybody on this stage is proposing invading Mexico?”
GABBARD: “You were asked directly whether you would send our troops to Mexico to fight cartels and your answer was yes. The fact checkers can check this out.”

Gabbard did not accuse Buttigieg of being open to “invading” Mexico, as he suggested she did. But she did not explain the context of his remarks at a Latino-issues forum in Los Angeles on Sunday.
At the forum, he heavily conditioned the idea of sending troops to help Mexico fight the drug and gang war, saying he would do so only if Mexico wanted the assistance as part of a security partnership.
“There is a scenario where we could have security cooperation, as we do with countries around the world,” he said in Los Angeles. “I would only order American troops into conflict if there were no other choice, if American lives were on the line, and if this were necessary in order for us to uphold our treaty obligations.
“But we could absolutely be in some kind of partnership role if and only if it is welcome by our partner south of the border.”
Copyright © 2019 courthousenews.com


brandseyer2 is a library for handling data in your BrandsEye account.
BrandsEye is an opinion mining company. We use a proprietary mix of artificial intelligence and crowdsourcing to mine online conversations for sentiment. While we have an analytics suite, and reporting service, we also provide an extensive API to access to the data that makes up your various BrandsEye accounts, and makes it easy to access the data outside of the BrandsEye application in any R analyses that you might want to perform.
This version of the library is still in its early stages, but is usable, and is the preferred way of getting data from the API. You should probably be using this over the previous version of the API, available at GitHub.
The goal of this version of the library is:
There may be breaking changes to some methods in future updates, before the version 1.0.0 release, After that, we expect that the API should be fairly stable.
After installing, you may find the Getting Started and Cookbook vignettes interesting to read or skim through.
You can install the development version of this library using the devtools
package:
# Install the devtools package
install.packages("devtools")
library(devtools)
# Install the library
install_github("brandseye/brandseyer2")
# Load the library
library(brandseyer2)
When using the development version from github, you should make sure that the build is passing before installing it. Check the build badge on the library’s github page.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Tester test cases can run in parallel if annotated.
By annotating your test case with @testCase tag, you can instrument Nette Tester to run each of the contained test methods in a separate thread.
@testCase