Page One
Text and images for Page One goes here. Swipe to go to the next page.
Page Two
Text and images for Page Two goes here. Swipe to go to the next page.
Page Three
Text and images for Page Three goes here. Swipe to go to the next page.
Page Four
Text and images for Page Four goes here. Swipe to go to the next page.


Email: {{therapist.email}}
Phone: {{therapist.phone}}
Therapist: {{therapist.is_therapist}}
Productivity: {{therapist.productivity_goal}}%


Fastai transforms¶
I have directly copied and pasted part of the transforms.py
module from
the fastai
library. The reason to do such a thing is because
pytorch_widedeep
only needs the Tokenizer
and the Vocab
classes
there. This way I avoid extra dependencies. Credit for all the code in the
fastai_transforms
module in this pytorch-widedeep
package goes to
Jeremy Howard and the fastai
team. I only include the documentation here for
completion, but I strongly advise the user to read the fastai
documentation.
Tokenizer ¶
Tokenizer(
tok_func=SpacyTokenizer,
lang="en",
pre_rules=None,
post_rules=None,
special_cases=None,
n_cpus=None,
)
Class to combine a series of rules and a tokenizer function to tokenize text with multiprocessing.
Setting some of the parameters of this class require perhaps some familiarity with the source code.
Parameters:
-
tok_func
(
Callable
) –Tokenizer Object. See
pytorch_widedeep.utils.fastai_transforms.SpacyTokenizer
-
lang
(
str
) –Text's Language
-
pre_rules
(
Optional[ListRules]
) –Custom type:
Collection[Callable[[str], str]]
. These areCallable
objects that will be applied to the text (str) directly asrule(tok)
before being tokenized. -
post_rules
(
Optional[ListRules]
) –Custom type:
Collection[Callable[[str], str]]
. These areCallable
objects that will be applied to the tokens asrule(tokens)
after the text has been tokenized. -
special_cases
(
Optional[Collection[str]]
) –special cases to be added to the tokenizer via
Spacy
'sadd_special_case
method -
n_cpus
(
Optional[int]
) –number of CPUs to used during the tokenization process
Source code in pytorch_widedeep/utils/fastai_transforms.py
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 |
|
process_text ¶
process_text(t, tok)
Process and tokenize one text t
with tokenizer tok
.
Parameters:
-
t
(
str
) –text to be processed and tokenized
-
tok
(
BaseTokenizer
) –Instance of
BaseTokenizer
. Seepytorch_widedeep.utils.fastai_transforms.BaseTokenizer
Returns:
-
List[str]
–List of tokens
Source code in pytorch_widedeep/utils/fastai_transforms.py
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
|
process_all ¶
process_all(texts)
Process a list of texts. Parallel execution of process_text
.
Examples:
>>> from pytorch_widedeep.utils import Tokenizer
>>> texts = ['Machine learning is great', 'but building stuff is even better']
>>> tok = Tokenizer()
>>> tok.process_all(texts)
[['xxmaj', 'machine', 'learning', 'is', 'great'], ['but', 'building', 'stuff', 'is', 'even', 'better']]
NOTE:
Note the token TK_MAJ
(xxmaj
), used to indicate the
next word begins with a capital in the original text. For more
details of special tokens please see the fastai
docs.
Returns:
-
List[List[str]]
–List containing lists of tokens. One list per "document"
Source code in pytorch_widedeep/utils/fastai_transforms.py
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
|
Vocab ¶
Vocab(itos)
Contains the correspondence between numbers and tokens.
Parameters:
-
itos
(
Collection[str]
) –index to str
. Collection of strings that are the tokens of the vocabulary
Attributes:
-
stoi
(
defaultdict
) –str to index
. Dictionary containing the tokens of the vocabulary and their corresponding index
Source code in pytorch_widedeep/utils/fastai_transforms.py
358 359 360 |
|
numericalize ¶
numericalize(t)
Convert a list of tokens t
to their ids.
Returns:
-
List[int]
–List of 'numericalsed' tokens
Source code in pytorch_widedeep/utils/fastai_transforms.py
362 363 364 365 366 367 368 369 370 |
|
textify ¶
textify(nums, sep=' ')
Convert a list of nums
(or indexes) to their tokens.
Returns:
-
List[str]
–List of tokens
Source code in pytorch_widedeep/utils/fastai_transforms.py
372 373 374 375 376 377 378 379 380 |
|
save ¶
save(path)
Save the attribute self.itos
in path
Source code in pytorch_widedeep/utils/fastai_transforms.py
389 390 391 |
|
create
classmethod
¶
create(tokens, max_vocab, min_freq, pad_idx=None)
Create a vocabulary object from a set of tokens.
Parameters:
-
tokens
(
Tokens
) –Custom type:
Collection[Collection[str]]
seepytorch_widedeep.wdtypes
. Collection of collection of strings (e.g. list of tokenized sentences) -
max_vocab
(
int
) –maximum vocabulary size
-
pad_idx
(
Optional[int]
) –padding index. If
None
, Fastai's Tokenizer leaves the 0 index for the unknown token ('xxunk') and defaults to 1 for the padding token ('xxpad').
Examples:
>>> from pytorch_widedeep.utils import Tokenizer, Vocab
>>> texts = ['Machine learning is great', 'but building stuff is even better']
>>> tokens = Tokenizer().process_all(texts)
>>> vocab = Vocab.create(tokens, max_vocab=18, min_freq=1)
>>> vocab.numericalize(['machine', 'learning', 'is', 'great'])
[10, 11, 9, 12]
>>> vocab.textify([10, 11, 9, 12])
'machine learning is great'
NOTE:
Note the many special tokens that fastai
's' tokenizer adds. These
are particularly useful when building Language models and/or in
classification/Regression tasks. Please see the fastai
docs.
Returns:
-
Vocab
–An instance of a
Vocab
object
Source code in pytorch_widedeep/utils/fastai_transforms.py
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 |
|
load
classmethod
¶
load(path)
Load an intance of :obj:Vocab
contained in path
Source code in pytorch_widedeep/utils/fastai_transforms.py
457 458 459 460 461 |
|


XSUBPP
Section: Perl Programmers Reference Guide (1)Updated: 2012-06-22
Index Return to Main Contents
NAME
xsubpp - compiler to convert Perl XS code into C codeSYNOPSIS
xsubpp [-v] [-except] [-s pattern] [-prototypes] [-noversioncheck] [-nolinenumbers] [-nooptimize] [-typemap typemap] [-output filename]... file.xsDESCRIPTION
This compiler is typically run by the makefiles created by ExtUtils::MakeMaker.xsubpp will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. The compiler uses typemaps to determine how to map C function parameters and variables to Perl values.
The compiler will search for typemap files called typemap. It will use the following search path to find default typemaps, with the rightmost typemap taking precedence.
../../../typemap:../../typemap:../typemap:typemap
It will also use a default typemap installed as "ExtUtils::typemap".
OPTIONS
Note that the "XSOPT" MakeMaker option may be used to add these options to any makefiles generated by MakeMaker.- -hiertype
- Retains '::' in type names so that C++ hierarchical types can be mapped.
- -except
- Adds exception handling stubs to the C code.
- -typemap typemap
- Indicates that a user-supplied typemap should take precedence over the default typemaps. This option may be used multiple times, with the last typemap having the highest precedence.
- -output filename
- Specifies the name of the output file to generate. If no file is specified, output will be written to standard output.
- -v
- Prints the xsubpp version number to standard output, then exits.
- -prototypes
- By default xsubpp will not automatically generate prototype code for all xsubs. This flag will enable prototypes.
- -noversioncheck
- Disables the run time test that determines if the object file (derived from the ".xs" file) and the ".pm" files have the same version number.
- -nolinenumbers
- Prevents the inclusion of `#line' directives in the output.
- -nooptimize
- Disables certain optimizations. The only optimization that is currently affected is the use of targets by the output C code (see perlguts). This may significantly slow down the generated code, but this is the way xsubpp of 5.005 and earlier operated.
- -noinout
- Disable recognition of "IN", "OUT_LIST" and "INOUT_LIST" declarations.
- -noargtypes
- Disable recognition of ANSI-like descriptions of function signature.
- -C++
- Currently doesn't do anything at all. This flag has been a no-op for many versions of perl, at least as far back as perl5.003_07. It's allowed here for backwards compatibility.
ENVIRONMENT
No environment variables are used.AUTHOR
Originally by Larry Wall. Turned into the "ExtUtils::ParseXS" module by Ken Williams.MODIFICATION HISTORY
See the file Changes.SEE ALSO
perl(1), perlxs(1), perlxstut(1), ExtUtils::ParseXS
Index
This document was created by man2html, using the manual pages.
Time: 05:29:12 GMT, December 24, 2015


Stuart Findlay out as Kilmarnock host Hearts
Angelo Alessio's Kilmarnock squad is almost at full fitness ahead of Saturday's Rugby Park clash with Hearts.
The only confirmed absentee is Scotland centre-back Stuart Findlay, who has been ruled out for at least three months out with a tendon injury.
Striker Osman Sow has recovered from an ankle complaint but needs to top his fitness levels.
Hearts defender Craig Halkett has resumed training but his return has come too late for him to play this weekend.
The former Livingston centre-back has missed the last six weeks with a knee injury and remains short on fitness.
Peter Haring (pelvis), John Souttar (ankle), Ben Garuccio (knee) and Conor Washington (hamstring) remain on the sidelines ahead of the Jambos trip to Rugby Park.
Kilmarnock provisional squad: Branescu, O'Donnell, Hamalainen, Johnson, Bruce, Del Fabro, Power, McKenzie, Dicker, Wilson, El Makrini, Brophy, Millar, Thomas, Sow, Burke, St Clair, Jackson, Hendrie, Koprivec.
Hearts provisional squad: Pereira, Smith, Hickey, Berra, Brandon, Dikamona, Irving, Wheelan, Bozanic, Clare, MacLean, Ikpeazu, Keena, Meshino, Morrison, Mulraney, Wighton, Walker, White, Naismith, Damour, Doyle.
body check tags ::


counter_y 149 src/character-pool.c int64_t counter_y = 0; counter_y 155 src/character-pool.c counter_y = npc->base->Real_Position.y - y; counter_y 157 src/character-pool.c if ((counter_x < max_x) && (counter_y < max_y)) { counter_y 159 src/character-pool.c npc->base->Graph_Position.y = counter_y;


Uses of Package
com.opengamma.strata.basics.index
-
Packages that use com.opengamma.strata.basics.index Package Description com.opengamma.strata.basics.index Entity objects describing common market indices, such as LIBOR and FED FUND.com.opengamma.strata.loader Tools for loading data from files.com.opengamma.strata.loader.fpml Loader that can convert files to financial instruments.com.opengamma.strata.market.curve Definitions of curves.com.opengamma.strata.market.explain Support for explaining results.com.opengamma.strata.market.observable Market data for quotes.com.opengamma.strata.measure.capfloor Calculation functions for Ibor cap/floor products.com.opengamma.strata.measure.index Calculation functions for index products.com.opengamma.strata.measure.rate Base package for calculation functions.com.opengamma.strata.measure.swaption Calculation functions for swaption products.com.opengamma.strata.pricer.capfloor Calculators for Ibor cap-floor.com.opengamma.strata.pricer.fx Calculators for FX instruments, such as FX forward and FX swap.com.opengamma.strata.pricer.index Calculators for products based on rate indices, such as Short Term Interest Rate futures (STIRs).com.opengamma.strata.pricer.rate Calculators for rates instruments, such as Forward Rate Agreement (FRA) and interest rate swap.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.capfloor Entity objects describing Ibor cap/floor.com.opengamma.strata.product.cms Entity objects describing Constant Maturity Swap (CMS) or CMS cap/floor.com.opengamma.strata.product.deposit Entity objects describing financial instruments representing a simple deposit with interest.com.opengamma.strata.product.deposit.type Conventions and templates to aid the construction of deposits.com.opengamma.strata.product.fra Entity objects describing a forward rate agreement (FRA).com.opengamma.strata.product.fra.type Conventions and templates to aid the construction of FRAs.com.opengamma.strata.product.fx Entity objects describing financial instruments in the foreign exchange market.com.opengamma.strata.product.index Entity objects describing contracts based on rate indices.com.opengamma.strata.product.index.type Conventions and templates to aid the construction of rate index products.com.opengamma.strata.product.rate Entity objects describing the rate-based financial instruments.com.opengamma.strata.product.swap Entity objects describing a swap.com.opengamma.strata.product.swap.type Conventions and templates to aid the construction of rate swaps.com.opengamma.strata.product.swaption Entity objects describing options on swaps, known as swaptions. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.basics.index Class Description FloatingRate An index or group of indices used to provide floating rates, typically in interest rate swaps.FloatingRateIndex An index used to provide floating rates, typically in interest rate swaps.FloatingRateName A floating rate index name, such as Libor, Euribor or US Fed Fund.FloatingRateType The type of a floating rate index.FxIndex An index of foreign exchange rates.FxIndexObservation Information about a single observation of an FX index.FxIndexObservation.Meta The meta-bean forFxIndexObservation
.IborIndex An inter-bank lending rate index, such as Libor or Euribor.IborIndexObservation Defines the observation of a rate of interest from a single Ibor index.IborIndexObservation.Meta The meta-bean forIborIndexObservation
.ImmutableFloatingRateName An immutable floating rate index name, such as Libor, Euribor or US Fed Fund.ImmutableFloatingRateName.Meta The meta-bean forImmutableFloatingRateName
.ImmutableFxIndex A foreign exchange index implementation based on an immutable set of rules.ImmutableFxIndex.Builder The bean-builder forImmutableFxIndex
.ImmutableFxIndex.Meta The meta-bean forImmutableFxIndex
.ImmutableIborIndex An Ibor index implementation based on an immutable set of rules.ImmutableIborIndex.Builder The bean-builder forImmutableIborIndex
.ImmutableIborIndex.Meta The meta-bean forImmutableIborIndex
.ImmutableOvernightIndex An overnight index, such as Sonia or Eonia.ImmutableOvernightIndex.Builder The bean-builder forImmutableOvernightIndex
.ImmutableOvernightIndex.Meta The meta-bean forImmutableOvernightIndex
.ImmutablePriceIndex A price index implementation based on an immutable set of rules.ImmutablePriceIndex.Builder The bean-builder forImmutablePriceIndex
.ImmutablePriceIndex.Meta The meta-bean forImmutablePriceIndex
.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.IndexObservation A single observation of an index.OvernightIndex An Overnight index, such as Sonia or Eonia.OvernightIndexObservation Information about a single observation of an Overnight index.OvernightIndexObservation.Builder The bean-builder forOvernightIndexObservation
.OvernightIndexObservation.Meta The meta-bean forOvernightIndexObservation
.PriceIndex An index of prices.PriceIndexObservation Information about a single observation of a Price index.PriceIndexObservation.Meta The meta-bean forPriceIndexObservation
.RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.loader Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.loader.fpml Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates.PriceIndex An index of prices. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.market.curve Class Description FloatingRateName A floating rate index name, such as Libor, Euribor or US Fed Fund.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.market.explain Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.market.observable Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.measure.capfloor Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.measure.index Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.measure.rate Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.measure.swaption Class Description RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.pricer.capfloor Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.pricer.fx Class Description FxIndex An index of foreign exchange rates.FxIndexObservation Information about a single observation of an FX index. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.pricer.index Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.pricer.rate Class Description FxIndex An index of foreign exchange rates.IborIndex An inter-bank lending rate index, such as Libor or Euribor.IborIndexObservation Defines the observation of a rate of interest from a single Ibor index.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.OvernightIndex An Overnight index, such as Sonia or Eonia.OvernightIndexObservation Information about a single observation of an Overnight index.PriceIndex An index of prices.PriceIndexObservation Information about a single observation of a Price index. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.bond Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.capfloor Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.OvernightIndex An Overnight index, such as Sonia or Eonia. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.cms Class Description Index An index of values, such as LIBOR, FED FUND or daily exchange rates.RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.deposit Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.deposit.type Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.fra Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.fra.type Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.fx Class Description FxIndex An index of foreign exchange rates.FxIndexObservation Information about a single observation of an FX index. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.index Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor.OvernightIndex An Overnight index, such as Sonia or Eonia.RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.index.type Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor.OvernightIndex An Overnight index, such as Sonia or Eonia. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.rate Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor.IborIndexObservation Defines the observation of a rate of interest from a single Ibor index.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.OvernightIndex An Overnight index, such as Sonia or Eonia.OvernightIndexObservation Information about a single observation of an Overnight index.PriceIndex An index of prices.PriceIndexObservation Information about a single observation of a Price index. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.swap Class Description FxIndex An index of foreign exchange rates.FxIndexObservation Information about a single observation of an FX index.IborIndex An inter-bank lending rate index, such as Libor or Euribor.Index An index of values, such as LIBOR, FED FUND or daily exchange rates.OvernightIndex An Overnight index, such as Sonia or Eonia.PriceIndex An index of prices. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.swap.type Class Description IborIndex An inter-bank lending rate index, such as Libor or Euribor.OvernightIndex An Overnight index, such as Sonia or Eonia.PriceIndex An index of prices.RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate. -
Classes in com.opengamma.strata.basics.index used by com.opengamma.strata.product.swaption Class Description RateIndex A index of interest rates, such as an Overnight or Inter-Bank rate.


Under our one time evacuation service, you don't necessarily have to be our subcriber to engage us in disposing your waste. Just a click and one of our agents will get through to you promptly.
You can subscribe on our platform to have a routine and scheduled disposal of your waste and also an opportunity to get a discount.
We also engage in cleaning services for corporate and non corporate organizations, halls, individuals and residence.
Our Idea was conceived while brainstorming on a social enterprise we can embark on to improve our scoiety. The environment is all we have! We could not allow it to keep degrading by the day.
Officially established Towards the end of January 2020, and we have been actively trying to evacuate as much dirt as possible in the locations we serve
Our mission is to clean every area in Lagos one LGA at a time. We seek to actively fulfil the SDG goals Number 3 - Good health and well being, Number 6 - Clean water and sanitation, Number 11- Sustainable cities and communities
Our vision is to become the most effective Waste management and disposal service in Nigeria
CEO
Head of Technical
Lead Marketer
Lead Developer
Public Relations
HR manager
Lead Designer
33A Emily street,
Apapa road
Ebutte Metta, Lagos
<EMAIL_ADDRESS>+234-8007-869-8045


--- layout: none --- {% assign version = site.data.info.version %}{% capture download_url %}https://github.com/rsms/raster/releases/download/v{{ version }}/raster-{{ version }}.zip{% endcapture %}{% for file in site.static_files %}{% assign _path = file.path | remove_first: "/inter" %}{% if _path == "/base.css" %}{% assign base_css_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{% elsif _path == "/grid.css" %}{% assign grid_css_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{% elsif _path == "/grid-gen.js" %}{% assign grid_gen_js_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{% endif %}{% endfor %}
Minimal and straight-forward CSS grid system utilizing descriptive HTML rather than semantic CSS.
Download ↓<grid columns=8 > <c></c> <c span=3 >3</c> <c></c> <c span=7-8 >7-8</c> <c span=2+2 >2+2</c> <c span=5-8 >5-8</c> <c span=1-4 >1-4</c> <c span=6.. >6..</c> <c span=2.. >2..</c> <c span=4.. >4..</c> <c span=4-5 >4-5</c> </grid>
This is the HTML that generates the grid you see at the top of this page.
The number of columns a grid has is specified with the
columns
attribute.
For instance, to define a grid with 8 columns, you'd write
<grid columns=8>
.
Cells span a single column by default.
The span
attribute is used to customize where a cell
starts and how many columns it spans.
For example, <c span=2-5>
starts at column 2 and ends in column 5.
A cell with an empty or missing span
attribute starts on
the next available column and spans one column.
2-5
2+3
2..
2
Raster is a pure CSS — no JavaScript.
See more examples →
<grid columns=6 > <c span=2 span-s=row> <c span=3-6 span-s=row> <c span=1-2 span-s=1> <c span=3.. span-s=2..> </grid>
Grids lend themselves really well to device-size responsive design.
The span-s
attribute defines alternate layout when your
design is presented on a small screen.
This makes designing for large and small screens really easy.
Tap the example above, or resize your web browser window to see the grid above change its layout. Showing large screen.
This entire website is built with grids and changes layout when the window size goes below or above 600dp.


Your Current Projects
| {{ project.role.project_role }} :: {{ project.project.client }} {{ project.project.project_type }} :: {{ project.start_date }} to {{ project.end_date }} |
| You are not assigned to any active projects. |
Your Future Projects
| {{ project.role.project_role }} :: {{ project.project.client }} {{ project.project.project_type }} :: {{ project.start_date }} to {{ project.end_date }} |
| You are not currently assigned to any future projects. |
Your Top Reporting Tasks
{% count_assignments request as assignment_count %} {% if assignment_count > 0 %} {{ assignment_count }} Tasks {% elif assignment_count > 5 %} {{ assignment_count }} Tasks {% else %} 0 Tasks {% endif %}| {{ finding.title }} | {{ finding.report.project.codename }} |
| You have no reporting tasks. Nice! |
Recent Background Tasks
| SUCCESS | {{ task.group }} | {% else %}
{% if task.result %}
FAILED
{{ task.result }} |
{{ task.group }} | {% endif %}
| No completed tasks. |


Lovefield is a relational query engine in pure JavaScript. It is cross-browser, fast, safe, and easy to use.
Install via npm
npm install lovefield
Install via bower
bower install lovefield
Or just download zip
Download ZIP File


--- layout: post title: ec2_election - Leader election for EC2 Auto Scaling comments: false share: false date: 2017-09-03 type: post tags: [] ---
Recently I've had a need to pick a leader instance when using AWS EC2 Auto Scaling. To solve this problem I've created ec2_election. Benefits...
Serverless: All functionality is contained within an AWS Lambda function. This means you don't need to deal with operations.
Easy to modify: All of the code is written in simple Python 2.7 since this is directly supported by AWS Lambda. The Boto3 SDK is used since it too is directly supported by AWS and included in AWS Lambda.
Self healing: AWS Cloudwatch scheduled events or EC2 Auto Scaling events are used to trigger the Lambda function. Once setup, ec2_election will continuously respond to events and elect a new leader as necessary.


Resources > Online
This is a listing of useful online resources on testing.
JUnit.org
- Unit testing framework for Java
Other testing frameworks
(http://www.xprogramming.com/software.htm)
Information on use of the testing framework


back
Current Alerts
Check Transmission
The automatic transmission's primary job is to allow the engine to operate in its narrow range...
Change Oil
Changing your car's oil at regular intervals is a vital part of keeping your engine running properly...


API Level: 5
Android 2.0 is a major platform release deployable to Android-powered handsets starting in November 2009. The release includes new features for users and developers, as well as changes in the Android framework API.
For developers, the Android 2.0 platform is available as a downloadable component for the Android SDK. The downloadable platform includes a fully compliant Android library and system image, as well as a set of emulator skins, sample applications, and more. The downloadable platform is fully compliant and includes no external libraries.
To get started developing or testing against the Android 2.0 platform, use the Android SDK and AVD Manager tool to download the platform into your SDK. For more information, see Exploring the SDK.
Platform Highlights
For a list of new user features and platform highlights, see the Android 2.0 Platform Highlights document.
Revisions
The sections below provide notes about successive releases of the Android 2.0 platform component for the Android SDK, as denoted by revision number. To determine what revision(s) of the Android 2.0 platforms are installed in your SDK environment, refer to the "Installed Packages" listing in the Android SDK and AVD Manager.
- Dependencies:
-
Requires SDK Tools r3 or higher.
Built-in Applications
The system image included in the downloadable platform provides these built-in applications:
|
|
Locales
The system image included in the downloadable platform provides a variety of built-in locales. In some cases, region-specific strings are available for the locales. In other cases, a default version of the language is used. The languages that are available in the Android 2.0 system image are listed below (with language_country/region locale descriptor).
|
|
Localized UI strings match the locales that are accessible through Settings.
Emulator Skins
The downloadable platform includes a set of emulator skins that you can use for modeling your application in different screen sizes and resolutions. The emulator skins are:
- QVGA (240x320, low density, small screen)
- WQVGA (240x400, low density, normal screen)
- FWQVGA (240x432, low density, normal screen)
- HVGA (320x480, medium density, normal screen)
- WVGA800 (480x800, high density, normal screen)
- WVGA854 (480x854 high density, normal screen)
For more information about how to develop an application that displays and functions properly on all Android-powered devices, see Supporting Multiple Screens.
Developer Features
The sections below provide information about new developer features offered by the downloadable Android 2.0 platform component.
Ant Support
- Debug- and release-mode application signing. Release-mode signing includes integrated support for
zipalign
optimization. For more information, see Signing Your Applications. - Adds new Ant build system with support for Emma instrumentation projects (code coverage).
Framework API
The sections below provide information about the application framework API provided by the Android 2.0 platform.
API level
The Android 2.0 platform delivers an updated version of the framework API. As with previous versions, the Android 2.0 API is assigned an integer identifier — 5 — that is stored in the system itself. This identifier, called the "API Level", allows the system to correctly determine whether an application is compatible with the system, prior to installing the application.
To use APIs introduced in Android 2.0 in your application, you need to
set the proper value, "5", in the attributes of the <uses-sdk>
element in your application's manifest.
For more information about how to use API Level, see the API Levels document.
API changes summary
Bluetooth
- Turn on/off Bluetooth
- Device and service discovery
- Connect to a remote device using RFCOMM and send/receive data
- Advertise RFCOMM services and listen for incoming RFCOMM connection
Sync adapters
- New APIs for sync adapters to connect to any backend
Account Manager
- Centralized account manager API to securely store and access auth tokens/passwords
Contacts
- New contacts APIs that allow for data from multiple accounts
- New Quick Contact framework APIs enable developers to create contact badges in their app. Clicking on the badge opens a window with a list of ways to contact the person with one click.
WebView
- Deprecated classes: UrlInterceptHandler, Plugin, PluginData, PluginList, UrlInterceptRegistry.
Camera
- New parameters for color effect, scene mode, flash mode, focus mode, white balance, rotation, and other settings.
- New ZoomCallback interface to perform actions when the zoom level has changed.
Media
- MediaScanner now generates thumbnails for all images when they are inserted into MediaStore.
- New Thumbnail API for retrieving image and video thumbnails on demand.
Other Framework
- New system themes in android.R.style to easily display activities on top of the current system wallpaper or keep the previous activity visible in the background.
- New WallpaperManager API replaces and extends the wallpaper APIs that were previously in Context, to allow applications to request and set the system wallpaper.
- New Service APIs to help applications correctly handle Service life-cycle, in particular low memory situations where a Service may be killed while it is running.
- Service.setForeground() has been deprecated and now effectively performs no operation. This is replaced with a new API, startForeground(), that helps (and requires) associating an ongoing notification with the foreground state.
- MotionEvent can now report simultaneous-touch information for devices that support it. Up to three pointers can be tracked simultaneously.
- KeyEvent has new key dispatching APIs, to help implement action-on-up and long press behavior, as well a new mechanism to cancel key presses (for virtual keys).
- WindowManager.LayoutParams has new constants that allow a window to wake up the screen when it is displayed and show the window even if the screen is locked. This allows applications to more cleanly implement things like alarm clocks that should wake the device.
- New Intent APIs that broadcast the docking state of the device and allow applications to launch special activities when the device is placed in a desktop or car dock.
Key events executed on key-up
Android 2.0 is designed to run on devices that use virtual keys for HOME, MENU, BACK, and SEARCH, rather than physical keys. To support the best user experience on those devices, the Android platform now executes these buttons at key-up, for a key-down/key-up pair, rather than key-down. This helps prevent accidental button events and lets the user press the button area and then drag out of it without generating an event.
This change in behavior should only affect your application if it is intercepting button events and taking an action on key-down, rather than on key-up. Especially if your application is intercepting the BACK key, you should make sure that your application is handling the key events properly.
In general, intercepting the BACK key in an application is not recommended, however, if your application is doing so and it invokes some action on key-down, rather than key-up, you should modify your code.
If your application will use APIs introduced in Android 2.0 (API Level 5), you can take advantage of new APIs for managing key-event pairs:
- If you are intercepting the BACK key in an activity or dialog, just
implement the new
onBackPressed()
method. - If you are intercepting the BACK key in a view, you should track the key
event on key-down (through the new
startTracking()
method), then invoke the action at key up. Here's a pattern you can use:
public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) { event.startTracking(); return true; } return super.onKeyDown(keyCode, event); } public boolean onKeyUp(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() && !event.isCanceled()) { // *** DO ACTION HERE *** return true; } return super.onKeyUp(keyCode, event); }
If you want to update a legacy application so that its handling of the BACK key works properly for both Android 2.0 and older platform versions, you can use an approach similar to that shown above. Your code can catch the target button event on key-down, set a flag to track the key event, and then also catch the event on key-up, executing the desired action if the tracking flag is set. You'll also want to watch for focus changes and clear the tracking flag when gaining/losing focus.
API differences report
For a detailed view of API changes in Android 2.0 (API Level 5), as compared to the previous version, see the API Differences Report.


| Lecture 1: Introduction to Probability and Set Theory |
pdf |
| Lecture 2: Probability Rules |
pdf |
| Lecture 3: Conditional Probability |
pdf |
| Lecture 4: Multiplication Rule |
pdf |
| Lecture 5: Example and Quiz Day 1 |
pdf |
| Lecture 6: Independence |
pdf |
| Lecture 7: Bayes Rule |
pdf |
| Lecture 8: Basic Counting Rules and Permutations |
pdf |
| Lecture 9: Multinomial Coefficient and Combinations |
pdf |
| Lecture 10: Example and Quiz Day 2 |
pdf |
| Lecture 11: Random Variables and Prob. Mass Functions |
pdf |
| Lecture 12: Expected Values and Variance |
pdf |
| Lecture 13: Example and Quiz Day 3 |
pdf |
| Lecture 14: Bernoulli and Binomial Distributions |
pdf |
| Lecture 15: Exam 1 Review |
pdf |
| Lecture 16: Hypergeometric Distribution |
pdf |
| Lecture 17: Poisson Distribution |
pdf |
| Lecture 18: Geometric Dist. w/ Tail & Memoryless |
pdf |
| Lecture 19: Example and Quiz Day 4 |
pdf |
| Lecture 20: Negative Binomial Distribution |
pdf |
| Lecture 21: Nested Problem |
pdf |
| Lecture 22: Continuous RV, PDF and CDF |
pdf |
| Lecture 23: Example and Quiz Day 5 |
pdf |
| Lecture 24: Uniform Distribution |
pdf |
| Lecture 25: Exponential Distribution |
pdf |
| Lecture 26: Example and Quiz Day 6 |
pdf |
| Lecture 27: Poisson Process |
pdf |
| Lecture 28: Exam 2 Review |
pdf |
| Lecture 29: Normal Distribution |
pdf |
| Lecture 30: Empirical Rules |
pdf |
| Lecture 31: More on Normal Distribution |
pdf |
| Lecture 32: Measures of Center, 5 Number Summary |
pdf |
| Lecture 33: More on Numeric Summary |
pdf |
| Lecture 34: Summarizing Data |
pdf |
| Lecture 35: Example and Quiz Day 7 |
pdf |
| Lecture 36: Graphical Summaries |
pdf |


Safety alert
by Manny PalmeroAmid the Christmas shopping craze, non-governmental group EcoWaste Coalition reminds the public to be on the alert for dangerous toys that may pose chemical, choking and other hazards to children who are most vulnerable to the health-damaging effects of unsafe and toxic toys.


Html escaping is really important.
By default all user generated content is html escaped. This includes all
variables you set and also all messages. The template itself is not touched.
Escaping example
Some malicious code inside a user generated variable gets invoked:
malicious here.


This is the complete list of members for FLightPropagationVolumeSettings, including all inherited members.


Enjoy your favorite music in an atmosphere of the city of lion.
Listen to your favorite radio station anywhere and anytime.
Sort music and radio stations according to your mood and always walk with smile and inspiration.
Choose your favorite music with a single touch!
Switch language, user interface and other functions for better listening!


Openfire provides ways to customize application code as well as the Admin console, while maintaining that code in a separate location from the distribution source. The base code and custom code are integrated during the build process.
To customize files, create the following file structure in your openfireHome directory (where all the source files are on your filesystem).
custom/ | - i18n/ <- Directory to place translation files to be overridden | - conf/ <- Directory to place configuration files to be overridden | - lib/ <- Directory to place any private or 3rd prty jar files | - source/ <- Directory to place java source files to be overridden | - webapp/ <- Directory to place any web file (image, CSS or jsp)
In the custom/conf directory, mirror the contents under the src/conf directory. Any files you place under custom/conf will override the current conf files under conf in the build. For example, to override the openfire.xml config file, you would place a openfire.xml file under the directory custom/conf/.
Any files you place under the custom/lib directory will be placed along side the other jar files under the openfire/lib/ directory. For example, if you require a 3rd party jar file for use with changes you made under custom/source/, you would place the jar file in custom/lib/ and it will be placed in the lib/ in the build.
In the custom/source directory, mirror the contents under the src/java directory. Any files you place under custom/source will override the current source files in the build. For example, to override the class org.jivesoftware.openfire.Channel you would place a Channel.java file under the directory custom/source/org/jivesoftware/openfire/.
In the custom/webapp directory, mirror the contents of the src/web directory. Any files you place there will override the current source files in the build. For example, if you want to modify src/web/login.jsp then add login.jsp to the directory custom/webapp.
In the custom/resources/jar directory, mirror the contents of the src/resources/jar directory. Any files you place there will override the current source files in the build. These files will be placed in the root of the generated Openfire.jar file.
In the custom/resources/nativeAuth directory, mirror the contents of the src/resources/nativeAuth directory. Any files you place there will override the current source files in the build.
Currently, overridden files will simply be included in the built war or jar files. We have not added functionality to bundle these changes in a separate jar file.
The texts that are used in the administration panel (as well as some other texts) are taken from various translation files under the src/i18n directory. To customize such a file, a file by the same name can be added in the custom/i18n directory. The build process will merge both files, which you to add your own properties, as well as override existing properties, without the need to copy all properties that aren't of interest to you.
Simply build the application as normal. You may need to run the ant clean task for your changes to be picked up.


Tic Tac Toe
Choose Difficulty
Just Kiddin'
Medium
Impossible
Choose
or
Play!
Play again
Change options
Medium
By
Walter
for
FreeCodeCamp
's Frontend Certification


Version 1.1.3, Release date 29.4.2020 Made by: Ville Leinonen/www.hacknetwork.org Template is tested in Zabbix 4.4 and ASA version 9.14(1) Changelog: SNMPv3 support added TODO (maybe): Interface statistic and more triggers.
Version 1.1
Template is tested against Zabbix version 4.4.6 and ASA version 9.14(1).
Failover role can be primary or secondary, it based in your ASA configuration.
Failover status can be Active unit or Standby unit. This indicates which of your Firewall is active right now.
Template also populates inventory fields automaticly.
This is snmpv2 template, but v3 is coming soon.
Version 1.1.3
SNMPv3 support added, new macros:
{$SECURITY_NAME} = Username
{$AUTH_PASSPHRASE} = Authentication password
{$PRIV_PASSPHRASE} = Encryption password
Use authentication algorithm SHA and encryption algorithm AES (128).
Added OID: ASA System name (ciscoASAsysName)
OLD VERSIONS, USE GITHUB https://github.com/hrleinonen/zabbix
More information (soon) https://www.hacknetwork.org/?page_id=304
Ville Leinonen
There are no macros links in this template.
There are no template links in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Number of CPU Cores |
Discovery number of CPU cores
 | SNMP agent |
numOfcore
Update: 5m
 |
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Chassis Version |
-
 | SNMP agent |
deviceChassis
Update: 60m
 |
| Failover Role Secondary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoSecondary
Update: 5m
 |
| Description |
-
 | SNMP agent |
sysDescr
Update: 60m
 |
| Vendor Name |
-
 | SNMP agent |
deviceVendor
Update: 60m
 |
| Active AnyConnect Sessions |
-
 | SNMP agent |
crasSVCNumSessions
Update: 5m
 |
| Failover Role Primary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoPrimary
Update: 5m
 |
| Connections In Use |
Number of connections currently in use by the entire firewall.
 | SNMP agent |
cfwConnectionStatValueCurrentInUse
Update: 5m
 |
| Failover Status |
Firewall cluster Failover status. Indicates which of the Firewall is active unit in the cluster.
 | SNMP agent |
cfwHardwareStatusDetailFoStatus
Update: 1m
 |
| Model Name |
-
 | SNMP agent |
deviceModel
Update: 60m
 |
| Number of network interfaces |
The number of network interfaces (regardless of their current state) present on this system.
 | SNMP agent |
ifNumber
Update: 60m
 |
| ASA Version |
-
 | SNMP agent |
ciscoASA
Update: 60m
 |
| ROMMON Version |
-
 | SNMP agent |
ciscoROMMON
Update: 60m
 |
| Memory Used |
-
 | SNMP agent |
ciscoMemoryPoolUsed
Update: 1m
 |
| Memoty Total |
-
 | Calculated |
ciscoMemoryTotal
Update: 1m
 |
| sysUpTime |
-
 | SNMP agent |
sysUpTimeInstance
Update: 5m
 |
| Memory Pool Largest Free |
-
 | SNMP agent |
ciscoMemoryPoolLargestFree
Update: 1m
 |
| Active IKE Peers |
-
 | SNMP agent |
ciscoIKEPeers
Update: 5m
 |
| Memory Usage |
-
 | Calculated |
ciscoMemUsage
Update: 1m
 |
| Active WebVPN Sessions |
-
 | SNMP agent |
crasWebvpnNumSessions
Update: 5m
 |
| Maximum Crypto Throughput |
-
 | SNMP agent |
ccaMaxCryptoThroughput
Update: 60m
 |
| Total VPN sessions |
Total number of VPN sessions.
 | Calculated |
totalVPNsessions
Update: 5m
 |
| Memory Free |
-
 | SNMP agent |
ciscoMemoryPoolFree
Update: 1m
 |
| Chassis Serial Number |
-
 | SNMP agent |
deviceSerialNum
Update: 60m
 |
| ASA System name |
-
 | SNMP agent |
ciscoASAsysName
Update: 60m
 |
| Maximum Crypto Sessions |
-
 | SNMP agent |
ccaMaxCryptoConnections
Update: 60m
 |
| Connections Max Use |
Highest number of connections in use at any one time since system start.
 | SNMP agent |
cfwConnectionStatValueMaxUse
Update: 5m
 |
| Core {#SNMPINDEX} 1min |
-
 | SNMP agent |
cpmCPUTotal1minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
| Core {#SNMPINDEX} 5min |
-
 | SNMP agent |
cpmCPUTotal5minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
There are no triggers in this template.
Version 1.1.3, Release date 29.4.2020 Made by: Ville Leinonen/www.hacknetwork.org Template is tested in Zabbix 4.4 and ASA version 9.14(1) Changelog: SNMPv3 support added TODO (maybe): Interface statistic and more triggers.
Version 1.1
Template is tested against Zabbix version 4.4.6 and ASA version 9.14(1).
Failover role can be primary or secondary, it based in your ASA configuration.
Failover status can be Active unit or Standby unit. This indicates which of your Firewall is active right now.
Template also populates inventory fields automaticly.
This is snmpv2 template, but v3 is coming soon.
Version 1.1.3
SNMPv3 support added, new macros:
{$SECURITY_NAME} = Username
{$AUTH_PASSPHRASE} = Authentication password
{$PRIV_PASSPHRASE} = Encryption password
Use authentication algorithm SHA and encryption algorithm AES (128).
Added OID: ASA System name (ciscoASAsysName)
OLD VERSIONS, USE GITHUB https://github.com/hrleinonen/zabbix
More information (soon) https://www.hacknetwork.org/?page_id=304
Ville Leinonen
There are no macros links in this template.
There are no template links in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Number of CPU Cores |
Discovery number of CPU cores
 | SNMP agent |
numOfcore
Update: 5m
 |
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Connections In Use |
Number of connections currently in use by the entire firewall.
 | SNMP agent |
cfwConnectionStatValueCurrentInUse
Update: 5m
 |
| Vendor Name |
-
 | SNMP agent |
deviceVendor
Update: 60m
 |
| Description |
-
 | SNMP agent |
sysDescr
Update: 60m
 |
| ROMMON Version |
-
 | SNMP agent |
ciscoROMMON
Update: 60m
 |
| Maximum Crypto Throughput |
-
 | SNMP agent |
ccaMaxCryptoThroughput
Update: 60m
 |
| Number of network interfaces |
The number of network interfaces (regardless of their current state) present on this system.
 | SNMP agent |
ifNumber
Update: 60m
 |
| ASA Version |
-
 | SNMP agent |
ciscoASA
Update: 60m
 |
| Active IKE Peers |
-
 | SNMP agent |
ciscoIKEPeers
Update: 5m
 |
| ASA System name |
-
 | SNMP agent |
ciscoASAsysName
Update: 60m
 |
| Memory Used |
-
 | SNMP agent |
ciscoMemoryPoolUsed
Update: 1m
 |
| Failover Status |
Firewall cluster Failover status. Indicates which of the Firewall is active unit in the cluster.
 | SNMP agent |
cfwHardwareStatusDetailFoStatus
Update: 1m
 |
| Total VPN sessions |
Total number of VPN sessions.
 | Calculated |
totalVPNsessions
Update: 5m
 |
| Maximum Crypto Sessions |
-
 | SNMP agent |
ccaMaxCryptoConnections
Update: 60m
 |
| Failover Role Primary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoPrimary
Update: 5m
 |
| Failover Role Secondary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoSecondary
Update: 5m
 |
| Chassis Serial Number |
-
 | SNMP agent |
deviceSerialNum
Update: 60m
 |
| Memoty Total |
-
 | Calculated |
ciscoMemoryTotal
Update: 1m
 |
| Memory Usage |
-
 | Calculated |
ciscoMemUsage
Update: 1m
 |
| Connections Max Use |
Highest number of connections in use at any one time since system start.
 | SNMP agent |
cfwConnectionStatValueMaxUse
Update: 5m
 |
| Active WebVPN Sessions |
-
 | SNMP agent |
crasWebvpnNumSessions
Update: 5m
 |
| Active AnyConnect Sessions |
-
 | SNMP agent |
crasSVCNumSessions
Update: 5m
 |
| sysUpTime |
-
 | SNMP agent |
sysUpTimeInstance
Update: 5m
 |
| Chassis Version |
-
 | SNMP agent |
deviceChassis
Update: 60m
 |
| Memory Free |
-
 | SNMP agent |
ciscoMemoryPoolFree
Update: 1m
 |
| Model Name |
-
 | SNMP agent |
deviceModel
Update: 60m
 |
| Memory Pool Largest Free |
-
 | SNMP agent |
ciscoMemoryPoolLargestFree
Update: 1m
 |
| Core {#SNMPINDEX} 1min |
-
 | SNMP agent |
cpmCPUTotal1minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
| Core {#SNMPINDEX} 5min |
-
 | SNMP agent |
cpmCPUTotal5minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
There are no triggers in this template.
Version 1.1.3, Release date 29.4.2020 Made by: Ville Leinonen/www.hacknetwork.org Template is tested in Zabbix 4.4 and ASA version 9.14(1) Changelog: SNMPv3 support added TODO (maybe): Interface statistic and more triggers.
Version 1.1
Template is tested against Zabbix version 4.4.6 and ASA version 9.14(1).
Failover role can be primary or secondary, it based in your ASA configuration.
Failover status can be Active unit or Standby unit. This indicates which of your Firewall is active right now.
Template also populates inventory fields automaticly.
This is snmpv2 template, but v3 is coming soon.
Version 1.1.3
SNMPv3 support added, new macros:
{$SECURITY_NAME} = Username
{$AUTH_PASSPHRASE} = Authentication password
{$PRIV_PASSPHRASE} = Encryption password
Use authentication algorithm SHA and encryption algorithm AES (128).
Added OID: ASA System name (ciscoASAsysName)
OLD VERSIONS, USE GITHUB https://github.com/hrleinonen/zabbix
More information (soon) https://www.hacknetwork.org/?page_id=304
Ville Leinonen
There are no macros links in this template.
There are no template links in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Number of CPU Cores |
Discovery number of CPU cores
 | SNMP agent |
numOfcore
Update: 5m
 |
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Connections In Use |
Number of connections currently in use by the entire firewall.
 | SNMP agent |
cfwConnectionStatValueCurrentInUse
Update: 5m
 |
| Vendor Name |
-
 | SNMP agent |
deviceVendor
Update: 60m
 |
| Description |
-
 | SNMP agent |
sysDescr
Update: 60m
 |
| ROMMON Version |
-
 | SNMP agent |
ciscoROMMON
Update: 60m
 |
| Maximum Crypto Throughput |
-
 | SNMP agent |
ccaMaxCryptoThroughput
Update: 60m
 |
| Number of network interfaces |
The number of network interfaces (regardless of their current state) present on this system.
 | SNMP agent |
ifNumber
Update: 60m
 |
| ASA Version |
-
 | SNMP agent |
ciscoASA
Update: 60m
 |
| Active IKE Peers |
-
 | SNMP agent |
ciscoIKEPeers
Update: 5m
 |
| ASA System name |
-
 | SNMP agent |
ciscoASAsysName
Update: 60m
 |
| Memory Used |
-
 | SNMP agent |
ciscoMemoryPoolUsed
Update: 1m
 |
| Failover Status |
Firewall cluster Failover status. Indicates which of the Firewall is active unit in the cluster.
 | SNMP agent |
cfwHardwareStatusDetailFoStatus
Update: 1m
 |
| Total VPN sessions |
Total number of VPN sessions.
 | Calculated |
totalVPNsessions
Update: 5m
 |
| Maximum Crypto Sessions |
-
 | SNMP agent |
ccaMaxCryptoConnections
Update: 60m
 |
| Failover Role Primary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoPrimary
Update: 5m
 |
| Failover Role Secondary |
Can be: - Primary unit (this device) - Secondary unit (this device)
 | SNMP agent |
cfwHardwareStatusFoSecondary
Update: 5m
 |
| Chassis Serial Number |
-
 | SNMP agent |
deviceSerialNum
Update: 60m
 |
| Memoty Total |
-
 | Calculated |
ciscoMemoryTotal
Update: 1m
 |
| Memory Usage |
-
 | Calculated |
ciscoMemUsage
Update: 1m
 |
| Connections Max Use |
Highest number of connections in use at any one time since system start.
 | SNMP agent |
cfwConnectionStatValueMaxUse
Update: 5m
 |
| Active WebVPN Sessions |
-
 | SNMP agent |
crasWebvpnNumSessions
Update: 5m
 |
| Active AnyConnect Sessions |
-
 | SNMP agent |
crasSVCNumSessions
Update: 5m
 |
| sysUpTime |
-
 | SNMP agent |
sysUpTimeInstance
Update: 5m
 |
| Chassis Version |
-
 | SNMP agent |
deviceChassis
Update: 60m
 |
| Memory Free |
-
 | SNMP agent |
ciscoMemoryPoolFree
Update: 1m
 |
| Model Name |
-
 | SNMP agent |
deviceModel
Update: 60m
 |
| Memory Pool Largest Free |
-
 | SNMP agent |
ciscoMemoryPoolLargestFree
Update: 1m
 |
| Core {#SNMPINDEX} 1min |
-
 | SNMP agent |
cpmCPUTotal1minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
| Core {#SNMPINDEX} 5min |
-
 | SNMP agent |
cpmCPUTotal5minRev[{#SNMPINDEX}]
Update: 1m

LLD
 |
There are no triggers in this template.


{% extends 'base.html' %} {% block main %} This will be a member profile page. For now ...
Problems submitted by you {% endblock %}


UniSearch is all about helping teens choose the right college that they want to go to. This website mainly targets teens that are about to enter the phase where they have to choose a college if they decide to go.
In the future we plan on updating the site so that it has a map to show the colleges that are in your area, and we plan on showing some of the scholarships, majors, and tuition of the schools on the site.
The creators of this site are just some teens that are in high school that both struggle with the colleges that we want to go to.
To make profit, we plan to put advertisements on websites like Instagram, FaceBook, and Twitter to get teens interested in our website do they can browse our site and look into some of the colleges that that this site shows them.
The inspiration for this website came from one of the creators that is a junior and struggles with picking a college because he is indecisive and can't choose a college.
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>.


QueryPro is a full featured database query analyzer. When creating complex data driven software systems it becomes difficult to track exactly which queries are being ran when, and how applications, or components of the system, are affecting database server performance. While many database servers have logs which can track query data, they are rarely run in production environments due to the performance overhead, and the paid enterprise solutions typically only monitor the server level and are not cost effective for smaller organizations. What is unique about QueryPro, is that QueryPro offers both server and application level monitoring. This allows for tracking both server performance and application throughput, allowing for in depth analysis of the performance relationship between a database server and various applications.
QueryPro is a collection of Docker containers, which work together to collect, aggregate, and display data on both server and application performance. By defining the QueryPro architecture in Docker, installation is incredibly easy, simply install Docker on a server droplet and run the containers. Once started, the containers will immediately begin collecting server data on predefined servers and start storing the data which will immediately be available using the QueryPro UI. To add application data, simply download one of the QueryPro libraries and embed a few lines of code within your application's ORM. All QueryPro interactions are done via UDP (opposed to TCP), adding no measurable overhead** to existing code bases. There is no limit on the number of applications, which can be unique software systems or distinct components of a single system.


Health
Health charities cover everything from supporting and treating the sick and disabled.
In Greek mythology, a Charis is one of the Charites (Greek: Χάριτες) or "Graces", goddesses of charm, beauty, nature, human creativity and fertility; and in Homer's Iliad, Charis is the wife of Hephaestus. Charis was also known as Cale ("Beauty") or Aglaea ("Splendor").Charis is also the Spartan name of a Grace.
We believe all of us can be a heroine or hero ,and we do have the urge to change our world . We team up with the leading charity group all around the world to provide the best service . All you need to do is to start a campaign and we will make finish the rest.Go to be a Charis and save the world
Health charities cover everything from supporting and treating the sick and disabled.
International NGOs (Non-governmental organizations) are typically charities that are headquartered in one country but work in other countries.
Environmental Charities focus on ways to promote preservation, appreciation, and sustainable development for the environment.
Who doesn't love animals? Well, these groups may all love animals but they don't all love each other.
These types of charities help preserve artistic and cultural heritage as well as celebrate the arts and our history.
Education groups help students from every age group,focus on making education more accessible and effective.
It is your first step to become a heroine or hero.Become a member of Charis and save the World from today
choose a category you like and state your mission for example:I want to send a sweater to every polar bear on earth.The more specific the better
Upload any images and videos you like to make make your campaign more attractive however not your own sexy selfie please.


{% extends 'emails/email_base.html' %} {% block content %} {% for weekday in weekdays %}
{{ weekday.date }} {% for feast in weekday.filtered_feasts %}
{{ feast.name }}


Travel Planner
Plan your next trip now!
Start date:
End date:
My trip to:
Search
Your trip to
,
×
Typical weather for then is:
Your trip is
days away.
Your trip length is
days.


Installation and Running¶
How to install SlowQaunt, and run the program.
Installation Ubuntu¶
This installation guide is made for Ubuntu.
Python 3.6 can be installed with conda running the following command lines:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
Then run:
bash Miniconda3-latest-Linux-x86_64.sh
The python packages can now be installed by:
conda install numpy scipy numba cython
The gcc compiler can be installed by:
sudo apt-get install gcc
The SlowQuant program can be downloaded by:
git clone https://github.com/Melisius/SlowQuant.git
Inside the SlowQuant folder run:
python setup.py build_ext --inplace
To test the installation install pytest:
conda install pytest
pip install hypothesis
And then run:
pytest tests.py
All of the tests should succeed.
Installation Windows 10¶
For Windows 10, an Ubuntu can be installed following the guide in the following link:
https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
Here after all the above steps can be followed.
Running SlowQuant¶
The program is run as:
python SlowQuant.py MOLECULE SETTINGS
As a ready to run example:
python SlowQuant.py H2O.csv settingExample.csv
Compiling documentation¶
The documentation is compiled using sphinx:
conda install sphinx
To make the equations LaTeX is needed, and can be installed by:
sudo apt-get install texlive-full
The theme is downloaded by:
pip install sphinx_rtd_theme
The documentation is now compiled by:
sphinx-build data/documentation docs


Portfolio
Introducing Shutterbugg
Capture the moments that matter.
Download Shutterbugg
Share
Share your moments with the people who matter to you most. With Shutterbugg, it's easy to share with the right people.
Explore
Explore moments from your friends and family. Shutterbugg makes it easy to see what's happening in the world and take in everything around you.
Save
Save every photo you take. Shutterbugg automatically saves your photos so you can show them off from anywhere.
Available for iPhone, iPad, and Android.


Runs Scored |
Runs Conceded |
{{ runsScored }} |
{{ runsConceded }} |
Balls Faced |
Overs Bowled |
{{ballsFaced}} |
{{oversBowled}} |
Strike Rate |
Wickets Taken |
{{ strikeRate }} |
{{ wicketsTaken }} |


G R E G D I C K
@
Clipped In
A Climber's Social Network
Tic Tac Toe
Can You Beat the Computer?
Blackjack
Constants
My Team's App for the National Day of Civic Hacking
Nodetunes
Build Your Own Music Database
Movies
A To-do List for Watching Movies


On South African topographic maps, contour lines are brown. The interval between contour lines is constant at 20 m, and between index contours the interval is 100 m. The patterns that the contour lines make help us to identify individual features and to appreciate the relief of the mapped area.
The map extract shows an area dominated by a series of conical hills and pointed buttes with gentle-sloped, lower lying areas suitable for cultivation in between. The altitude ranges from 964 m to 1 238 m.


Frontier Design TranzPort
and
Bome's Midi Translator
Table of Contents
Overview
This document describes how you can use the TranzPort Remote
with applications that aren't supported "out of the box".
This is achieved by using Bome's Midi Translator: it converts
the MIDI data from the TranzPort to keystrokes which are used to
control the various applications. The mapping rules are organized
in different presets, one preset per application to be controlled.
General Setup
For any of these presets to work, verify the following steps:
- Connect the TranzPort Bridge to the computer
-
- Start Bome's Midi Translator (MT)
- In MT's menu, select TranzPort in MIDI IN, and also select it as MIDI OUT
- In MT's Options menu, unselect MIDI Thru
- In MT, open the file "Frontier Design TranzPort" (if not already done)
Now the TranzPort's display should display "Midi Translator".
Use the Solo button to cycle through the different presets (Shift+Solo will cycle backwards).
That's it for the setup!
Nullsoft Winamp
Using this preset, you can control Nullsoft's media player Winamp conveniently from
the wireless TranzPort. This will work even if Winamp is not active!
After following the setup, start Winamp and bring up its preferences (e.g. with Ctrl+P).
There, select the page "Global Hotkeys" and enable them by checking the Enabled checkbox.
Then select the Winamp preset in Bome's Midi Translator by pressing the Solo button until
the TranzPort's display shows "Winamp".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in Winamp |
| Play button | Start Playback |
| Stop button | Stop Playback |
| Rewind << button | Wind backward (hold to continue winding) |
| FFwd >> button | Wind forward (hold to continue winding) |
| Track < button | Previous Song |
| Track > button | Next Song |
| Mute button | Toggle: mute/unmute volume (mute LED will light up) |
| Wheel | Scrub forward and backward |
| Shift+Wheel | Volume (will be ignored in muted state) |
Windows Media Player
Using this preset, you can operate Windows Media Player (WMP) from
the TranzPort Remote.
First, follow the general setup. Then, for convenience,
you can define a keyboard shortcut to start WMP: Locate WMP in the start menu (it's
in Programs|Accessories|Entertainment), then right-click on the entry in the start menu
and select Properties. In the Shortcut Key field, press these keys at the same time:
Alt+Ctrl+Shift+P. Click on OK. You can test it - that key combination should now start
WMP.
Now switch to Bome's Midi Translator and press the Solo button until
the TranzPort's display shows "Windows Media Player".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in WMP |
| Play button | Start Playback |
| Stop button | Stop Playback |
| Rewind << button | Wind backward (this doesn't always work in WMP) |
| FFwd >> button | Wind forward (this doesn't always work in WMP) |
| Track < button | Previous Song |
| Track > button | Next Song |
| Mute button | Toggle: mute/unmute volume |
| Wheel | Volume (will unmute if in muted state) |
| Shift+Wheel | Scrub forward and backward |
| Loop button | Toggle repeat on/off |
| Add button | Add Tracks window |
| In button | Normal/full size mode |
| Out button | Skin mode |
| Punch button | Toggle full screen |
Adobe Premiere Elements
Using this preset, you can cut and edit your videos with from
the TranzPort Remote.
First, follow the general setup. Then, start Premiere Elements.
Provided that Midi Translator is already running, press the TranzPort's Solo button until
the display of the TranzPort displays "Premiere Elements".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in Premiere Elements |
| Play button | Start/Pause Playback |
| Stop button | Stop Playback |
| Rewind << button | play backwards |
| FFwd >> button | play faster |
| Track < button | go to previous edit point |
| Track > button | go to next edit point |
| Wheel | Go a frame forward or backward |
| Add button | Set unnumbered marker |
| Prev button | Go to previous marker |
| Next button | Go to next marker |
| In button | Punch In |
| Out button | Punch Out |
| Shift+In button | Zoom In |
| Shift+Out button | Zoom Out |
| Undo button | Undo |
Adobe Premiere
Using this preset, you can cut and edit your videos with from
the TranzPort Remote.
First, follow the general setup. Then, start Adobe Premiere.
Provided that Midi Translator is already running, select the Premiere preset
by repeatedly pressing the TranzPort's Solo button until
the display of the TranzPort displays "Premiere".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in Premiere |
| Play button | Start/Pause Playback |
| Stop button | Stop Playback |
| Rewind << button | play backwards |
| FFwd >> button | play faster |
| Wheel | Go a frame forward or backward |
| Add button | Set unnumbered marker |
| Prev button | Go to previous marker |
| Next button | Go to next marker |
| In button | Zoom In |
| Out button | Zoom Out |
| Undo button | Undo |
Microsoft Powerpoint
How about using the TranzPort as a remote control for your presentations?
No problem with this preset!
First, follow the general setup. Then, start Powerpoint.
Provided that Midi Translator is already running,
repeatedly press the TranzPort's Solo button until
the display of the TranzPort shows "Powerpoint".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in Powerpoint |
| FFwd >> button | next page |
| Rewind << button | previous page |
| Wheel | Go a page forward or backward |
Generic Control
This is a generic preset that provides some general functionality for many applications.
First, follow the general setup.
Start Bome's Midi Translator (if not already done) and activate the Generic Control preset
by repeatedly pressing the Solo button until the display reads "Generic Control".
Now you can use the following controls on the TranzPort:
TranzPort control | Function |
| Play button | Start Playback (as if pressed on a multimedia keyboard) |
| Stop button | Stop Playback (as if pressed on a multimedia keyboard) |
| Track < button | Previous Song (as if pressed on a multimedia keyboard) |
| Track > button | Next Song (as if pressed on a multimedia keyboard) |
| Wheel | Change Volume (as if using the volume keys on a multimedia keyboard) |
| Mute button | Toggle: mute/unmute volume (as if using the volume keys on a multimedia keyboard) |
| In button | Email Program |
| Out button | Web Browser |
| Punch button | Search Function |
| Shift+Out button | Close current program/window |
| Shift+Track < and > buttons | Cycle programs (as if pressing Alt-Tab) |
Controlling MP3 Direct Cut
Using this preset, you can use the TranzPort to operate MP3 Direct Cut, a useful MP3 editor
that lets you edit mp3 files without re-encoding the file, so it keeps the original quality.
After following the setup, select the MP3DirectCut preset in Bome's Midi Translator
by repeatedly pressing the Solo button until the TranzPort should displays "MP3DirectCut".
Now you can use the following controls on the TranzPort:
TranzPort control | Function in MP3DirectCut |
| Play button | Start/Pause Playback |
| Stop button | Stop Playback |
| Rewind << button | Wind backward |
| FFwd >> button | Wind forward |
| Undo button | Undo last action |
| In button | Select Begin of selection |
| Out button | Select End of selection |
| Punch button | Delete selection |
| Loop button | Listen AS CUT: listen to 4 seconds before beginning of selection, and to 4 seconds after selection. |
| Shift+In button | Zoom In |
| Shift+Out button | Zoom Out |
| Prev button | Go to previous cut/edit point |
| Next button | Go to next cut/edit point |
| Wheel | Scrub forward and backward one frame at a time |
| Shift+Wheel | Scrub forward and backward in larger steps |
Create Your Own Presets
If the program you want to control is not on this list, or if you want to modify
these provided presets, no problem! With Bome's Midi Translator
Pro or Author you can create your own presets. It's always a good idea to inspect
these existing presets to see how it's done.
The documentation that ships with the TranzPort unit includes the PDF file
"TranzPort native" which has a useful reference of the MIDI messages
sent by the TranzPort device.
The project file has one preset Convert to Absolute Controller which
demonstrates how you can use the rules to convert the wheel to output
a continuous controller as MIDI data.
With the Author edition of Bome's Midi Translator you can even create
signed and/or encrypted presets that you can publish or sell for usage with the
free MT Player.
Copyright 1997-2007 by Bome Software
|


Mitie sues Ministry of Justice over court cleaning contract
by Anna MeninMitie is suing the Ministry of Justice over what is claims was a botched tendering process for a contract to clean and repair courts and tribunal buildings.
The outsourcing giant has lodged a High Court claim after losing the contract to French rival Engie last month.
Read more: Mitie’s clients hold back on spending until after Brexit and the General Election
Mitie is set to argue that the government took an “unfair and unequal” approach to scoring during the tender and awarded scores that were “manifestly wrong”, the Sunday Times reported.
The company is hoping to claim over £200,000 damages from the government and is calling for Engie to be stripped of the contract.
“This was a rigorous and comprehensive 12-month procurement process which followed EU rules,” said an HM Courts and Tribunals spokesperson.
“At the upcoming court hearing we will be robustly defending our position.”
Shares in Mitie slumped eight per cent on Thursday after the outsourcer warned that clients are currently reluctant to commit to new projects amid ongoing political uncertainty.
Read more: Mitie to continue managing Lloyds Bank facilities until 2024
The company reported an 11 per cent increase in revenue and five per cent rise in operating profit in half-year results last week, while its order book grew one per cent.
Mitie could not be reached for comment.


Jose Mourinho opens up on prospect of facing Manchester United & Chelsea in December
New Tottenham Hotspur manager Jose Mourinho has opened up on the prospect of facing both Manchester United and Chelsea next month. The Portuguese made Spurs his third Premier League club after they sacked Mauricio Pochettino following a disastrous start to the 2019/20 season.
The former Manchester United boss even revealed that he received multiple messages from the Red Devils’ fans, players, coaching staff and board members after his appointment at Tottenham. “Yesterday I received 50 messages from United, the players, staff, the board and that means the world,” he said in his first press conference as Spurs manager.
“That is about the respect people have for you. Manchester United occupied my heart even with things I did not enjoy too much. But I loved so many things there, the fans, the people that worked at the club.“
Mourinho then went on to add that he has ‘only one shirt and one passion’ and that is Tottenham and that would be the case when he faces his former clubs in United and Chelsea next month.
He said: “If I play against one of my former teams, I have only one shirt and one passion and that is my club and now it’s Spurs.”
Spurs are set to face Manchester United on 4th December before playing Chelsea on 22nd of the month.


Calculate Quarterly Averages
The main objective of this app is to calculate the three averages between given high and low numbers, this will divide the range into quarters.
This is a powerful technical analysis tool in either cryptocurrencies or stock trading, the generated numbers define key levels of support and resistance that will effectively work when making decisions to place orders.
Generally, the chart moves somewhat in a systematic way, so that, quarterly averages exist to not help to illustrate levels in the current month but to predict the next price behave (Up or Down) by the end of the month under study and start of the next one.
Averages
Ext. High 2: {{ extHigh2Result }}
Ext. High 1: {{ extHigh1Result }}
High: {{ highResult }}
Avg1: {{ avg1Result }}
Middle: {{ middleResult }}
Avg2: {{ avg2Result }}
Low: {{ lowResult }}
Disclaimer
Before using this website, please make sure that you note the following important information.
https://calculate-avgs.web.app is not a registered investment, legal or tax advisor or a broker/dealer. All investment/financial opinions expressed by https://calculate-avgs.web.app are from the personal research and experience of the owner of the website and are intended as educational and informational material. Although best efforts are made to ensure that all information is accurate and up to date, occasionally unintended errors, omissions, and misprints may occur.
Your investments are your responsibility: We do not accept any liability for any loss or damage which is incurred from you acting or not acting as a result of reading any of our publications. You acknowledge that you use the information we provide at your own risk.
Information, not advice or recommendations: the information contained on this website and the resources available for download (if any) through this website is not intended as, and shall not be understood or construed as, financial advice. We are not lawyers, accountants, or financial advisors, nor are we holding ourselves out to be, and the information contained on this website is not a substitute for financial advice from a professional who is aware of the facts and circumstances of your individual situation.
Do your own research: the content of this website is intended to be used and must be used for informational purposes only. It is very important to do your own analysis before making any investment based on your own personal circumstances. You should take independent financial advice from a professional in connection with, or independently research and verify, any information that you find on this website and wish to rely upon, whether for the purpose of making an investment decision or otherwise.
Regardless of anything to the contrary, nothing available on or through this website should be understood as a recommendation that you should not consult with a financial professional or any other professional as the case maybe to address your information.


--- title: MiniZinc challenge results --- Gecode participated in the 2008 MiniZinc challenge. The results are now available on the MiniZinc challenge results page.


Defined in generated file: python/ops/gen_array_ops.py
Constructs a tensor by tiling a given tensor.
tf.compat.v1.manip.tile
tf.compat.v1.tile
tf.compat.v2.tile
tf.tile( input, multiples, name=None )
This operation creates a new tensor by replicating input
multiples
times.
The output tensor's i'th dimension has input.dims(i) * multiples[i]
elements,
and the values of input
are replicated multiples[i]
times along the 'i'th
dimension. For example, tiling [a b c d]
by [2]
produces
[a b c d a b c d]
.
input
: A Tensor
. 1-D or higher.multiples
: A Tensor
. Must be one of the following types: int32
, int64
.
1-D. Length must be the same as the number of dimensions in input
name
: A name for the operation (optional).A Tensor
. Has the same type as input
.


Phone Book
It's an Web app, that allows you to add your contacts, edit contacts and search contacts. It's designed for people who likes to keep all their contacts in one App.


Contents
clc, close all, clear all
1st Part: Feature extraction
In this script a vector of 1200 obervations is created with 200 samples of each feature vector from random subimages of the original picture.
First image for classification
im1='D101.gif'; car4=zeros(1200,50); for i=1:200 car4(i,:)=car2(im1); close all end
Second image for classification
im1='D1.gif'; for i=1:200 car4(i+200,:)=car2(im1); close all end
Third image for classification
im1='D52.gif'; for i=1:200 car4(i+400,:)=car2(im1); close all end
Fourth image for classification
im1='D49.gif'; for i=1:200 car4(i+600,:)=car2(im1); close all end
Fifth image for classification
im1='D20.gif'; for i=1:200 car4(i+800,:)=car2(im1); close all end
Sixth image for classification
im1='D3.gif'; for i=1:200 car4(i+1000,:)=car2(im1); close all end
2nd part: Training process
Here a cell array of 'tags' is created with the corresponding names for each observation and it's corresponding class. After that a classifier X is created
% Creates an array of type 'cell' for the classes labels C=cell(1200,1); C(1:200)={'class 1, D101'}; C(201:400)={'class 2, D1'}; C(401:600)={'class 3, D52'}; C(601:800)={'class 4, D49'}; C(801:1000)={'class 5, D20'}; C(1001:1200)={'class 6, D3'};
The new classifier uses the pseudoLinear type since the observation matrix is not a square matrix. For computing the covariance uses the pseudoinverse matrix
X=fitcdiscr(car4,C,'discrimType','pseudoLinear')
X = ClassificationDiscriminant PredictorNames: {1x50 cell} ResponseName: 'Y' ClassNames: {1x6 cell} ScoreTransform: 'none' NumObservations: 1200 DiscrimType: 'pseudoLinear' Mu: [6x50 double] Coeffs: [6x6 struct]
Evaluation
Compute the Mahalanobis distance from each observation to each class
dist=zeros(1200,6); for i=1:1200 dist(i,:)=mahal(X,car4(i,:)); end figure, subplot(321),bar(dist(:,1)),title('Distances to class 1 [1,200]') subplot(322),bar(dist(:,2)),title('Distances to class 2 [201,400]') subplot(323),bar(dist(:,3)),title('Distances to class 3 [401,600]') subplot(324),bar(dist(:,4)),title('Distances to class 4 [601,800]') subplot(325),bar(dist(:,5)),title('Distances to class 5 [801,1000]') subplot(326),bar(dist(:,6)),title('Distances to class 1 [1001,1200]')


Bar chart shows the time spent on each question. You can click on the bars to view the questions.
You can analyse how much time you spent on each question. Green bars are the questions which are correctly
answered, pink ones are for incorrect, and the grey bars denote unattempted questions.


--- layout: post title: This Article explores capital’s Achilles heel – the exclusion of women from its leadership ranks – and one innovative remedy for this shortcoming. date: '2009-07-27T12:49:21-07:00' tags: tumblr_url: http://alexhwilliams.tumblr.com/post/150321927/this-article-explores-capitals-achilles-heel ---
This Article explores capital’s Achilles heel – the exclusion of women from its leadership ranks – and one innovative remedy for this shortcoming.—Rosenblum on “Feminizing Capital: A Corporate Imperative” « Feminist Law Professors


N74NK
- Newbie Meroket!
N74NK
Hi?
Welcome to My Site
A Beautiful Design System Built using Bootstrap 4.


js_calc is a web-based calculator with the full capability of JavaScript. Entering a single-line or multiple-line calculation in the Input window and then hitting the [Calc] button immediately give you the result in the Output window.
The input follows the syntax of JavaScript which allows you a natural calculation expression. You can enter a simple calculation expression so as to immediately obtain the result just like a calculator. You can also use one or more variables to get the final result. You can even define one or more functions according to the JavaScript syntax, and then you can use them to get the result.
The only point that is tedious in the JavaScript syntax for this purpose is the fact that we have to add the "Math." prefix each time we use built-in mathematical constants and functions. To avoid this, the following constants and functions can be used without the "Math." prefix.
- e = Math.E
- pi = Math.PI
- abs(x) = Math.abs(x)
- ceil(x) = Math.ceil(x)
- floor(x) = Math.floor(x)
- round(x) = Math.round(x)
- sign(x) = Math.sign(x)
- pow(x,y) = Math.pow(x,y)
- sqrt(x) = Math.sqrt(x)
- cbrt(x) = Math.cbrt(x)
- exp(x) = Math.exp(x)
- log(x) = Math.log(x)
- log10(x) = Math.log10(x)
- sin(x) = Math.sin(x)
- cos(x) = Math.cos(x)
- tan(x) = Math.tan(x)
- atan2(y,x) = Math.atan2(y,x)
- asin(x) = Math.asin(x)
- acos(x) = Math.acos(x)
- atan(x) = Math.atan(x)
- sinh(x) = Math.sinh(x)
- cosh(x) = Math.cosh(x)
- tanh(x) = Math.tanh(x)
- asinh(x) = Math.asinh(x)
- acosh(x) = Math.acosh(x)
- atanh(x) = Math.atanh(x)
- random() = Math.random()


Preparation time
30 mins to 1 hour
Cooking time
30 mins to 1 hour
Serves
Serves 6
Bacon, cream and two types of cheese make the filling for this delightful savoury tart.
For the pastry, sieve the flour and salt into a bowl and make a well in the centre. Rub in the butter, then add the egg and bring the dough together with a splash of water. Pull into a ball shape, wrap in cling film and chill in the fridge for at least one hour.
Grease a 25cm/10in flan case. Roll out the pastry and lay in the flan case, leaving a little pastry overhanging. Rest it in the fridge for 30 minutes. Preheat the oven to 180C/350F/Gas 4.
Prick the base of the pastry, lay a circle of greaseproof paper on top, followed by baking beans and bake blind for 20 minutes. Remove from the oven, leave to rest and trim off the excess pastry.
For the filling, heat the oil in a frying pan and cook the bacon until lightly browned. Remove the bacon with a slotted spoon, retaining the oil.
Add the butter to the oil and slowly colour the onion. Leave to cool, then sprinkle in the flan case. Sprinkle the bacon over and break in the soft cheese.
Beat the eggs and double cream together and mix with 110g/4oz of the grated cheese and the parsley. Season with pepper and pour into flan case. Bake for 20 minutes.
Sprinkle over the remaining cheese and the nutmeg and bake for a further 5-10 minutes, until set. Leave to cool for five minutes. Remove the flan ring and slice to serve.


if (!ArrayProto.indexOf) {
ArrayProto.indexOf = function(needle, fromIndex) {
return $.inArray(needle, this, fromIndex);
};
}
Backwards compatibility fixes for old browsers or old library versions
Fix Array.prototype.indexOf for old browsers
if (!ArrayProto.indexOf) {
ArrayProto.indexOf = function(needle, fromIndex) {
return $.inArray(needle, this, fromIndex);
};
}
jQuery.fn.on was added in version 1.7. Its similar predecessor was “bind”. We delegate to “bind” in old jQuery versions.
if (!$.fn.on) {
$.fn.on = $.fn.bind;
}


The current working directory.
file path delimitor.
file path seperator.
Returns the basename of the given path.
Returns the directory path of the given path.
Returns the file extension of the the given path.
Formats the given PathObject into a path string.
Tests if the given path is absolute.
Joins the given path parameters.
Normalizes the given path.
Parses the given path into a PathObject.
Splits the given path.
Solves the relative path for the given 'from' and 'to' paths.
Resolves the given paths.
Generated using TypeDoc
Provides nodejs path resolution services. This class was lifted from nodejs to allow for path resolution primarily on smokes file system. Can be used for general pathing.


CAN
Controller Area Network (CAN) bus is a two wire serial communication protocol which was originally released at the 1986 Society of Automotive Engineers (SAE) congress in Detroit. The first vehicle to use CAN reduced the weight of its wiring by over 100 pounds. While CAN was originally designed for use in cars to reduce the amount of wiring, the use of CAN has expanded and it can now be found in avionics, hospitals, assembly lines, and even some bicycles and prosthetic limbs.
Some features that make CAN so popular include:
- High speed (up to 1 megabit/second) serial communication over inexpensive twisted pair wiring.
- High noise immunity due to balanced differential signaling.
- Built in message priority which allows higher priority messages to automatically suppress messages of lower priority without any delay in transmission of the higher priority message.
- Guaranteed latency time for high priority messages.
- Automatic synchronization of nodes without a clock signal.
- Communication from 40 meters at 1 megabit per second up to 5 kilometers at 10 kilobits per second (distances will vary depending on bus characteristics).
- Automatic bus arbitration and collision detection and correction.
- Automatic error detection and re-transmission.
- The ability to work even when different nodes have different ground potentials.
- Only two required processor pins (Transmit Data (TD) and Receive Data (RD)).
- Low cost.
CAN bus is generally a two wire bus, but sometimes additional power and ground lines are included requiring four wires.
High speed CAN is set up as a linear bus of 120 ohm nominal twisted pair wiring with two or more nodes. Termination resistors are used at each end of the bus as shown below.
Tip
Some CAN devices including our own development boards have built in termination resistors. If you are using more than two nodes on a high speed CAN bus you must disable the termination resistors on all nodes except for the two end nodes.
Low speed or fault tolerant CAN uses a linear bus, star bus, or multiple star buses. Fault tolerant CAN buses are terminated differently than linear CAN buses and require a termination resistor at each node. The value of these resistors depends on the network but should equal about 100 ohms per CAN line in total.
The TinyCLR CAN Interface
The TinyCLR CAN API provides several methods for configuring the CAN bus and sending and receiving CAN messages.
Configuring the Bus
CAN bit timing is a complex topic that requires considerable knowledge of the CAN protocol. If you can obtain timing parameters for a device you are connecting to, use them. All nodes on a CAN network must use the same baud rate.
Sample bit timing settings are given on each product's documentation page to help you get started. Please note that the given maximum oscillator tolerance and maximum cable length are theoretical maximums based only on the bit timing. These values do not take into account the number of nodes on the network, the type of cabling and termination, and the resistance of the cable, all of which may reduce the maximum bus length. It is up to you to test the network to ensure reliability.
Before you can communicate over the CAN bus, the processor needs to know the characteristics of the bus so all nodes can communicate properly.
SetBitTiming()
defines the CAN bus timing using the arguments listed below. Due to the complexity of CAN bus timing, CAN bit rate calculators are available online which you may find helpful. Please refer to the processor datasheet for more information about the following parameters.
The propagation
argument is used to compensate for the physical delay times of the network and includes the input comparator delay, the output driver delay and the propagation delay of the bus itself (which is affected by the length and type of cable used). Propagation
uses time quanta as a unit of measurement.
The phase1
argument defines the length in time quanta of the phase one segment. The phase one segment can be automatically lengthened during re-synchronization.
The phase2
argument defines the length in time quanta of the phase two segment. The phase two segment can be automatically shortened during re-synchronization.
The baudratePrescaler
argument determines the speed of the CAN system clock.
The synchronizationJumpWidth
defines the maximum amount of time quanta a bit period may be lengthened or shortened during each re-synchronization.
When true, useMultiBitSampling
will cause the bus to be sampled three times for each bit. Its use is recommended for low to medium speed buses to filter noise on the bus line. For high speed buses it is recommended to set this to false
.
In the sample code below, the CAN bus is communicating at one Megabit per second over a short bus.
Sending CAN Messages
WriteMessage()
WriteMessage()
writes a single CAN message. Each CAN message is defined by eight data bytes, an arbitration ID, the length (number of bytes to send), and two Boolean arguments which specify if the transmission is a remote transmission request and whether the message uses an extended arbitration ID. Extended arbitration IDs are 29 bits long, standard IDs are 11 bits long.
WriteMessages()
The WriteMessages()
method is used to send an array of CAN messages. The arguments for this function are the array of CAN messages followed by an offset
and count
integer values. The offset
is the array subscript of the first message to send, while count
specifies how many messages to send.
Receiving CAN Messages
ReadMessage()
ReadMessage()
receives a CAN message and includes the ArbitrationId
, IsExtendedId
, IsRemoteTransmissionRequest
, TimeStamp
and Data
properties.
Filtering Incoming CAN Messages
SetGroupFilters()
SetGroupFilters()
takes two arrays as arguments to set ranges of arbitration IDs that will be accepted. The first array defines the lower bounds of accepted arbitration IDs, while the second array specifies the upper bounds. Both arrays must be the same size. In the sample code below, the group filters will accept messages with arbitration IDs ranging from 0x12
to 0x20
and also between 0x500
and 0x1000
inclusive.
SetExplicitFilters()
SetExplicitFilter()
takes an array argument which specifies individual arbitration IDs that will be accepted regardless of the group filter settings. In the sample code below, CAN messages with arbitration IDs of 0x11
and 0x5678
will be accepted, in addition to the arbitration IDs specified by the group filters.
Sample Code
The following sample code is written for our G120E Dev Board. It requires installation of the GHIElectronics.TinyCLR.Core
, GHIElectronics.TinyCLR.Devices
and GHIElectronics.TinyCLR.Pins
Nuget packages.
using System;
using System.Diagnostics;
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Can;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
class Program {
private static void Main() {
var downButton = GpioController.GetDefault().OpenPin(G120E.GpioPin.P0_22);
downButton.SetDriveMode(GpioPinDriveMode.InputPullUp);
var can = CanController.FromName(G120E.CanBus.Can1);
var propagation = 1;
var phase1 = 12;
var phase2 = 2;
var baudratePrescaler = 4;
var synchronizationJumpWidth = 1;
var useMultiBitSampling = false;
can.SetBitTiming(new CanBitTiming(propagation, phase1, phase2, baudratePrescaler, synchronizationJumpWidth, useMultiBitSampling));
can.Enable();
var message = new CanMessage() {
Data = new byte[] { 0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x2E, 0x20, 0x20 },
ArbitrationId = 0x11,
Length = 6,
IsRemoteTransmissionRequest = false,
IsExtendedId = false
};
var lowerBounds = new int[] { 0x12, 0x500 };
var upperBounds = new int[] { 0x20, 0x1000 };
can.SetGroupFilters(lowerBounds, upperBounds);
var explicitFilter = new int[] { 0x11, 0x5678 };
can.SetExplicitFilters(explicitFilter);
can.MessageReceived += Can_MessageReceived;
can.ErrorReceived += Can_ErrorReceived;
while (true) {
if (downButton.Read() == GpioPinValue.Low) can.WriteMessage(message);
Thread.Sleep(100);
}
}
private static void Can_MessageReceived(CanController sender, MessageReceivedEventArgs e) {
sender.ReadMessage(out var message);
Debug.WriteLine("Arbitration ID: 0x" + message.ArbitrationId.ToString("X8"));
Debug.WriteLine("Is extended ID: " + message.IsExtendedId.ToString());
Debug.WriteLine("Is remote transmission request: " + message.IsRemoteTransmissionRequest.ToString());
Debug.WriteLine("Time stamp: " + message.TimeStamp.ToString());
var data = "";
for (var i = 0; i < message.Length; i++) data += Convert.ToChar(message.Data[i]);
Debug.WriteLine("Data: " + data);
}
private static void Can_ErrorReceived(CanController sender, ErrorReceivedEventArgs e) => Debug.WriteLine("Error " + e.ToString());
}


[DL] Digit Recognition with Tensor Flow
This time I am going to continue with the kaggle 101 level competition – digit recogniser with deep learning tool Tensor Flow.
In the previous post, I used PCA and Pooling methods to reduce the dimensions of the dataset, and train with the linear SVM. Due to the limited efficiency of the R SVM package. I only sampled 500 records and performed a 10-fold cross validation. The resulting accuracy is about 82.7%


{% extends "base.html" %} {% block content %}
Click Forgot Password to reset your password.
Login to change your LDAP password or update your SSH keys.


{% if likes_same_sport == True %}
Basketball Players:
{% for p in players %}
{{p}}
{% endfor %}
{% else %}
Basketball
Basketball is the best sport because it's the most fun.
{% endif %}


Press your key to get the JS event keycode.
event.key
[?]
event.which
[?]
event.keyCode
[?]
This tool was born in the boring time of a developer - Suggest improves this tool on
GitHub