~/Downloads/client_secrets.json
) to
src/main/resources/client_secrets.json.
If you skip this step, when trying to run the sample you will get a 400
INVALID_CLIENT
error in the browser.
Prerequisites: install Java 6, Mercurial, and Maven. You may need to
set your
JAVA_HOME
.
cd [someDirectory] hg clone https://code.google.com/p/google-api-java-client.samples/ google-api-java-client-samples cd google-api-java-client-samples/adsense-cmdline-sample cp ~/Downloads/client_secrets.json src/main/resources/client_secrets.json mvn compile mvn -q exec:java
To enable logging of HTTP requests and responses (highly recommended when developing), please take a look at logging.properties.
Prerequisites: install Eclipse, the Mercurial plugin, and the Maven plugin.
adsense-cmdline-sample
project
[someDirectory]/google-api-java-client-samples/adsense-cmdline-sample
and click "Next"


About Mozilla TS & AP and Swecha
Swecha and Mozilla TS & AP are vibrant communities of technologists, thinkers and builders
working
together to keep the Internet alive and accessible and providing global software solutions
to the
local
people with the Free Software development model. So people can be informed contributors and
creators
of
the Web and Free Software Technologies . We believe that this is an act of Human collaboration across
an open
platform is essential for individual growth and our collective future.
Swecha is a vibrant community of software users, students, academicians and software
professionals/developers determined to provide quality software built on the guidelines of
free software development model.
Swecha aims at providing global software solutions to the local people with the Free Software
development model by working together with the community of developers and users all over
the World.
Come be a part of our community to build technologies which shape the future.


How to extract *.zip-1, *.zip-2, *.zip-3 files
The zip-1, zip-2,.. zip-n files are splits of one binary zip file. Splitting is necessary due to the max file size limit on googlecode. To extract the file:
FIRST concatenate the files together,
THEN unzip them.
Under Windows files can e.g be combined using TotalCommander. Under Linux and Mac OS X you can use the cat >> notation, Hjsplit, or any other merge utility. If you use cat to combine the zip files, you need to fix the merged zip file first. The fixed merged file can be unzipped as a usual zip file.
Example (Gb_england consists of three partial zip files):
cat Gb_england_europe_2.obf.zip-* > Gb_england_europe_2.obf.zip
zip -FF Gb_england_europe_2.obf.zip --out Gb_england_europe_2.obf-full.zip
unzip -o Gb_england_europe_2.obf-full.zip
When will the OsmAnd version published on FDroid be updated?
F-droid is responsible for their repositories (as is Ubuntu for the Ubuntu repos, Debian for Debian repos, ...)
So you should ask this question to the f-droid maintainers. Probably on their forums: http://f-droid.org/forums/
I've got NaN in my google docs using the Live tracking feature
Make sure the url in live tracking has the correct format, having {0} as parameters and not encoded {,} with percentages. This can happen when you copy/paste the url.
Previously there used to be an issue with regional settings, this was, however, fixed using the parseFloat method. To debug the problem, remove parseFloat() method from script so that you will see what OsmAnd sends in this parameter. This should give you a clue what is wrong, if it is in the script, the url in OsmAnd, or OsmAnd itself.


Core Intelligence is like the Special Forces… we do projects that others think are impossible. We take on goals that are absurdly ambitious by any reasonable standard, but we make them happen.
From front end to backend to bleeding edge machine learning developers, Core seeks the top talent in Australia.
Find your future
Please send us your CV a link to your github & linkedin below


- In order to execute this test, a second browser has to be started on a different computer.
Or an independent second browser instance of a different vendor has to be started - browser
instances of the same vendor might use the same HTTP session ID.
- The second browser has to navigate to the same URL ("/bypstest-srv/jasmine/TestClientToClientFiles.html").
The JavaScript code will register the client with the server. The client receives thereby an ID
which is shown in the "Send Form" at "My client ID".
- The "Refresh" button has to be clicked on the first browser. This action updates the listbox next to "Select other ID".
It shows the client ID of the second browser. This ID has to be selected.
- A file has to be selected. Then, "Send" button has to be clicked.
The second browser receives the file and displays its content inside the iframe below "Received File".
|


Intro To Web Animation Techniques
CSS, JS, Animated Gifs, Videos, SVG, and More...
Purposeful animation can be used to guide users through a workflow in the same way that good typography should underscore the hierarchy of information in a document.
– Rachel Nabors, Web Animation Engineer
Ever since Apple choose to not support the Flash player on the iPhone, thus ending Flash's reign as the de facto standard for animation on the web, web designers were forced to rethink the role of web animation during this transitional period while trying to figure out and make sense of the many different web animation approaches and technologies over the years. Thanks to the increasing browser support of CSS3 Animation (in combination with good ole' Javascript), web animation has made a comeback and has evolved with many new and exciting technologies and emerging solutions. Sadly, there is still no home-run "one-size-fits-all" GUI solution like Flash (web designers can't simply open up Flash, throw some keyframes on a timeline, and hit enter), but the good news is that web designers can animate using code. And it's not that hard to do once you get the basics. Let's dive in...
A Quick Overview
There are several different ways to animate on the web, with CSS and JS being the predominant two front-end technologies. Before discussing the current state of technologies and techniques, it is important to note that there are several different contexts and new applications for animation on the web today that go beyond the traditional non-interactive narrative animations (e.g. promotional videos and animated illustrations). For example, web animation is being used to create highly interactive and visually complex interfaces and systems (e.g. games, hybrid apps, "rich" web sites with animated page transitions, scroll-triggered animations, etc.). Lastly, we are seeing an increasing use of smaller, more subtle UI animations (e.g. animated menus and animated UI components) where web animation is used for improved usability and UX.
Given the above stated technologies and contexts, here are a few general guidelines to consider:
- For subtle UI based web animation, use CSS3 animation. If user interactivity is required, add in a light amount of Javascript for DOM manipulation (e.g. toggle class on user click).
- For more complex UI web animations, such as scroll-triggered animations and animated page transitions, you'll need to use Javascript. Your JS can be coded manually from scratch (using a combination of JS and CSS) or you can use a third-party JS framework.
- For visually complex animations that are short, straight-forward, linear, and non-interactive, consider using your favorite GUI (e.g. After Effects) to create an animated gif.
- For longer form, dramatic narrative animations with complex visual effects, consider there's always Video (HTML5 video).
CSS3 Animation
Native Support in Most Browsers
- Native CSS properties used to animate elements (two approaches):
- Native CSS properties used to change elements (core):
- CSS transform
- translate(x,y)
- scale(x,y)
- rotate(angle)
- CSS opacity()
- CSS transform
- 3rd Party CSS Libraries (e.g. Animate.css)
JS Animation
Javascript animation via DOM manipulation
- Vanilla JS
- W3Schools Example (uses both JS and CSS)
- JQuery
- 3rd Party JS Libraries
Others
Animated Gifs, HTML5 Video, HTML5 Canvas, and more...
- Web Animations API (WAAPI)
- Classic, well-supported GUI-based approaches:
- Animated Gif's
- HTML5 Video
- Web-specific GUI-based approach:
- Adobe Animate (e.g. to export HTML5 Canvas)
- SVG Animation
- Scroll-triggered Animations
- Page Transitions (e.g. Barba.js)
- Mobile-UI Frameworks (e.g. JQuery Mobile, Framework 7, Ionic, etc)
A Brief History
When trying to determine which web animation techniques are best amongst the many options available today, be sure to keep in mind the many different contexts and types of scenarios that exists for different web animations on the web today. For example, there are a growing number of UI animations, including micro-animations, that are becoming effective means of creating a better, more meaningful interfaces with a direct and positive impact on improving user experiences. Examples include animation navigation menus and menu icons, animated accordions, animated overlays, and animated form elements. Taken one notch further, UI animation includes animated page (or "state") transitions, such as the slide-left and slide-right transitions commonly found in many native mobile apps.
When it comes to content, many interfaces use animation to reveal, or present content using techniques such as fading, scaling, and sliding in content on page load and triggered animation based on user interactions and navigation, such as via page scrolling. Taken a step further, UI content in not only revealed, but also animated to illustrate custom content features, using elements such as custom animated illustrations and icons, and visual storytelling via vertical and horizontal scrolling. Taken further, there are full-blown time-based, linear time-based animation, such as animated advertisements and narrative motion graphics. Going even further, there are browser-based games that combine animation and interactivity in non-linear formats, along with code-generated artwork, three-dimensional worlds, and full-blown physics engines with particle systems and complex visual effects one might see in a medium like TV or film.
Check out this article entitled Popular Web Animation Techniques by Nick Babich with visual examples of some of the contexts mentioned above.
"You'll want to stick to transitioning transform and opacity as much as possible."
- Mark Geyer
http://markgeyer.com/pres/the-art-of-ui-animations/#/5/5
CSS3 animation techniques
For simple UI animations on the web, such as animated menus and UI components, CSS3 animation is probably going to offer the best support and performance across browsers. But wait, there are multiple ways to animate things using CSS3 Animation, so where to begin? CSS animation with keyframes? CSS transitions? Start by asking about the context: is this a UI animation with two states (A > B) and trigger via a user interaction (user hovers or clicks), then CSS transitions are probably going to the simplest and easiest.
CSS Transitions
transition: all 1s ease;
CSS Animation @Keyframes
If something needs to animate without any user interaction (or without using javascript), or if the animation contains more than just two states (e.g. A > B > C > D), then CSS animation and @keyframes should work well.
@keyframes fade-in {
from { transform: opacity: 0; }
to { transform: opacity: 1; }
}
.fade-in {
opacity: 0;
animation: fade-in 1s ease-in-out 1s forwards;
}
CSS Transforms
Regardless of whether you choose CSS Transition or CSS animation, both can utilize the power of CSS Transforms. CSS transforms can translate, rotate, and scale HTML elements. Together with opacity, one can do amazing animations with these simple tools.
Four Core CSS Properties to use for CSS Animation:
- position/translation: translate(x,y)
- scale: scale(x,y)
- rotation: rotate(angle)
- opacity: opacity(value);
3rd Party CSS Libraries
If the effect that you or your client needs is not easily able to achieved via native CSS, there are several third-party CSS animation libraries to check out. They are also fun to peruse for visual inspiration.
Javascript (JS) Animations
One level up from Native CSS animations are Javascript animations. There are multiple approaches and ways to use Javascript to create web animations, from writing native/vanilla JS, to JQuery, to 3rd party libraries.
Native JS
Vanilla JS, alone or in combination with CSS, is an effective and well-supported way to create browser-based web animations. Essentially Javascript is used to change the properties of elements on the page via DOM manipulation. This can be done directly (e.g. changing an elements properties using javascript) or indirectly (e.g. adding/removing a class on an element that is then changed via CSS3 animation). For a working example, check out this W3Schools example that uses both JS and CSS.
JQuery
JQuery's .animate is a quick and easy approach. Check out W3Schools JQuery animation page to learn more and to see some demo examples, like this one.
3rd Party JS Libraries
If your needs are not easily able to achieved via native JS or Jquery, there are several third-party JS animation libraries to check out.
Web Animations API (WAAPI)
The Web Animations API is an important thing to monitor in the years to come. Currently, browser support for WAAPI is relatively poor (compared to the other options presented on this page, although there is supposedly an OK polyfill), but this might be the future of animation on the web. Keep an eye on it.
Other Approaches, Techniques, and Technologies to Consider:
Page Transitions:
- Barba.js
- Helpful links/examples/articles:
Sprite Animations
- [ Links coming soon ]
SVG Animation
SVG Animation is an effective approach for vector-based imagery, such as icons and illustrations. Similar to other HTML elements, SVG's can be animated using CSS, JS, and/or a combination of these technologies.
- [ Links coming soon ]
Scroll-triggered animation
Animations that are triggered as the user scrolls on a page often times use Javascript for triggering (to detect when an element is within the viewport of a screen while the user is scrolling) and CSS for the animation (e.g. by adding/removing a class on an element).
- Article with demo: https://ihatetomatoes.net/one-page-scroll-with-animations/
- Sample Breakdown article: https://ihatetomatoes.net/apple-iphone-5c-page-deconstructed/
- ScrollReveal.js
The Principles of Animation
No matter what, don't forget the basics of strong animation and motion graphic design. To remind yourself of the core principles of animation, watch this Illusion of Life animation.
The illusion of life from cento lodigiani on Vimeo.
Try to solve the challenge below by doing the following: in the code examples below, click on the "edit in codepen" button in the upper right, then delete the css and try to recreate the original from scratch.
CSS Animation Exercise #1: Simple Fade-in Using @keyframes
[codepen_embed height=”500” theme_id=”0” slug_hash=”zRzQQW” default_tab=”css,result” user=”kccnma”]See the Pen CSS Animation Test: Simple Fade-in Using @keyframes by kccnma (@kccnma) on CodePen.[/codepen_embed]
Instructions: remove all fade-in css and try to re-do it from scratch.
CSS Animation Exercise #2: Simple Scale-in Using @keyframes
[codepen_embed height=”500” theme_id=”0” slug_hash=”ddRBpB” default_tab=”css,result” user=”kccnma”]See the Pen CSS Animation Test: Simple Scale-in Using @keyframes by kccnma (@kccnma) on CodePen.[/codepen_embed]
Instructions: remove all scale-in css and try to re-do it from scratch.
CSS Animation Exercise #2: Simple Move-in (and Fade-in) Using @keyframes
[codepen_embed height=”500” theme_id=”0” slug_hash=”KQqjZZ” default_tab=”css,result” user=”kccnma”]See the Pen CSS Animation Test: Simple Move-in Using @keyframes by kccnma (@kccnma) on CodePen.[/codepen_embed]
Instructions: remove all move-in css and try to re-do it from scratch.
CSS Animation Exercise #4: CSS3 Animation Hero Section Examples
[codepen_embed height=”600” theme_id=”0” slug_hash=”wmgRRP” default_tab=”css,result” user=”kccnma”]See the Pen CSS3 Animation Header and Hero Section Example by kccnma (@kccnma) on CodePen.[/codepen_embed]
Instructions: remove all css and try to re-do it from scratch.
CSS Animation Exercise #4: CSS3 Animation Hero Section Examples
[codepen_embed height=”600” theme_id=”0” slug_hash=”oqBmQG” default_tab=”css,result” user=”kccnma”]See the Pen CSS3 Animation Header and Hero Section Example by kccnma (@kccnma) on CodePen.[/codepen_embed]
Instructions: remove all css and try to re-do it from scratch.
If you completed these exercises, nice work!
Summary
There are multiple different ways to animate on the web. For UI based animation, the simplest and easiest way is to use CSS3 animation. When relatively simple user interactivity is required, you can add in a light amount of Javascript for DOM manipulation. For more complex UI web animations, such as scroll-triggered animations and animated page transitions, more advanced Javascript is required. These can be coded manually, from scratch (using a combination of JS and CSS), or you can use a third-party JS framework. For visually complex animations that are short, straight-forward, linear, and non-interactive, consider using an animated gif. For longer form, dramatic narrative animations with complex visual effects, there's always HTML5 Video.
When trying to determine which web animation techniques are best amongst the many options available today, be sure to keep in mind the overall size of the files and all dependencies required and the performance implications on the browser during page load (e.g. a large SVG that is greater than 1MB might be better displayed as either layered pngs or even an animated gif). Often times the best practice is to do a series of tests experimenting with several different techniques, then critically weigh the pro's and cons for each before making a decision. Regardless of the technologies used, be sure to use UI animation with a clear and thoughtful purpose that will result in a meaningful interface with a positive impact on improving the user experience.
Related Resources and Reading
- Rachel Nabor's Animation at Work Book
- Rachel Nabor's 2014 ALA Web Animation at Work Article
- CSS Animation for Beginners by Rachel Cope
- Mark Geyer's Web Animation Presentation
- Caesar, a CSS Easing Tool
- Beginners Guide to CSS Animation
- Val Head's Many Resources, including her book Designing Interface Animation
Inspiration:
- https://delaneau.com/
- https://www.psd2html.com/10-years-in-review/
- https://www.apple.com/mac-pro/ (old school, no longer live?)
- https://ihatetomatoes.net/apple-mac-pro-page-deconstructed/
- http://madebytheory.com/ (simple and subtle)
- https://humaan.com/
Examples:
- Animated Forms
- 10 Exciting Page Transition Effects (via Speckyboy)
Systems:
Go Further
- Try animation a page's header and hero content like this Codepen Example
- Try revealing content as a user scrolls down the page like this Codepen Example
Author Notes
This was written specifically to help aspiring web designers as they aim to:
- Learn the basic concepts and principles of web animation
- Learn how the basic principles of motion graphic design can be applied in the context of user interface design
- Use animation and motion design technologies and techniques to enhance the user experience.


Register with us forfuture convenience
Register and save time Register with us for future convenience
Fast and easy check out Easy access to your order history and status
Already Registered
Please log in below
Select a billing address from your address book or enter a new address.
Flat Rate
Fixed $40.00
Check / Money order
Credit Card (saved)
Blouse
Short-sleeved blouse with feminine draped sleeve detail.


Sand Walker
{% include "glfx.html" %} The Pocket Reward Explorer
{% include "_flashes.html" %}
The database can be either rebuilt by replaying the blockchain using tools from the public repository, or by downloading it below.
The Sandwalker Database
The database of the the Sand Walker project contains rewards entries from all pocket accounts since block 0, it is structured as follows:
- id, a unique internal identifier for the reward,
- account, a pocket account,
- block, the block height,
- reward, the reward in µPkt.
The database can be either rebuilt by replaying the blockchain using tools from the public repository, or by downloading it below.


--- layout: page title: About header-img: "img/about-bg.png" ---
Eric has had a fascination with computers and their inner workings since his early high school years when his mother first bought a Gateway 2000 that ran windows 95. After pursuing a few career paths he began his journey coding in May of 2015 with his first codecademy online classes learning HTML & CSS. As of April 2018 he began the online web development course at Flatiron School based in NYC. He is loving every moment of the program! He is happily married with 2 children and resides in Chicago where the summers are hot and winters cold!


Castle class, used to store information of castle.
More...
|
|
static Vector2 | CSize = new Vector2(2, 2) |
| | The size of castles (2, 2)
|
| |
Castle class, used to store information of castle.
| final void game.Castle.Draw2D |
( |
CGame |
game | ) |
|
Draws the 2D tile, and if hovered, draws the selection ring around as well.
- Parameters
-
| final void game.Castle.Draw3D |
( |
CGame |
game | ) |
|
Draws the 3D tiles.
- Parameters
-
| final void game.Castle.DrawSelectionRing |
( |
CGame |
game | ) |
|
Draws the selection ring around the 2D tile to indicate hovering.
- Parameters
-
| final Vector2 game.Castle.IndexPosition |
( |
| ) |
|
Gets pos of castle.
- Returns
- Returns position of castle.
| final void game.Castle.IndexPosition |
( |
Vector2 |
position | ) |
|
Sets pos of castle.
- Parameters
-
| position | Used to set position of castle. |
| final void game.Castle.Update |
( |
CGame |
game | ) |
|
Updates if player is hovering.
- Parameters
-
The documentation for this class was generated from the following file:
- android/src/game/Castle.java


--- layout: post title: Palm Treo 500 - Tips and Tricks date: '2008-09-22T17:32:00+02:00' tags: - tips and tricks - tips - tricks - palm - treo - '500' - mac - os - mac os x - missing sync - textmadebyme tumblr_url: http://blog.alezzandro.com/post/51250046/palm-treo-500-tips-and-tricks ---
Today starts a serie of Tips and Tricks that I’ve discovered for the Smartphone Palm Treo 500 (unbranded).
I will publish the first:
Make the Palm Treo 500 work with Missing Sync (Mac OS X):
If your Palm Treo 500 isn’t recognized immediately by your Mac OS X (through Missing Sync), try to select: “Enable advanced network functionality” into: Start->Settings->Connections->USB to PC.
Gbye,
Stay tuned for more Tips and Tricks!!


Functions | |
| template<typename Point1 , typename Point2 > | |
| void | boost::geometry::add_point (Point1 &p1, Point2 const &p2) |
| Adds a point to another. More... | |
| template<typename Point > | |
| void | boost::geometry::add_value (Point &p, typename detail::param< Point >::type value) |
| Adds the same value to each coordinate of a point. More... | |
| template<typename Point1 , typename Point2 > | |
| void | boost::geometry::assign_point (Point1 &p1, Point2 const &p2) |
| Assign a point with another. More... | |
| template<typename Point > | |
| void | boost::geometry::assign_value (Point &p, typename detail::param< Point >::type value) |
| Assign each coordinate of a point the same value. More... | |
| template<typename ResultP , typename P1 , typename P2 > | |
| ResultP | boost::geometry::cross_product (P1 const &p1, P2 const &p2) |
| Computes the cross product of two vectors. More... | |
| template<typename P > | |
| P | boost::geometry::cross_product (P const &p1, P const &p2) |
| Computes the cross product of two vectors. More... | |
| template<typename Point1 , typename Point2 > | |
| void | boost::geometry::divide_point (Point1 &p1, Point2 const &p2) |
| Divides a point by another. More... | |
| template<typename Point > | |
| void | boost::geometry::divide_value (Point &p, typename detail::param< Point >::type value) |
| Divides each coordinate of the same point by a value. More... | |
| template<typename Point1 , typename Point2 > | |
| select_coordinate_type< Point1, Point2 >::type | boost::geometry::dot_product (Point1 const &p1, Point2 const &p2) |
| Computes the dot product (or scalar product) of 2 vectors (points). More... | |
| template<typename Point1 , typename Point2 > | |
| void | boost::geometry::multiply_point (Point1 &p1, Point2 const &p2) |
| Multiplies a point by another. More... | |
| template<typename Point > | |
| void | boost::geometry::multiply_value (Point &p, typename detail::param< Point >::type value) |
| Multiplies each coordinate of a point by the same value. More... | |
| template<typename Point1 , typename Point2 > | |
| void | boost::geometry::subtract_point (Point1 &p1, Point2 const &p2) |
| Subtracts a point to another. More... | |
| template<typename Point > | |
| void | boost::geometry::subtract_value (Point &p, typename detail::param< Point >::type value) |
| Subtracts the same value to each coordinate of a point. More... | |
| void boost::geometry::add_value | ( | Point & | p, |
| typename detail::param< Point >::type | value | ||
| ) |
Adds the same value to each coordinate of a point.
| Point | Any type fulfilling a Point Concept |
| p | point |
| value | value to add |
| void boost::geometry::add_point | ( | Point1 & | p1, |
| Point2 const & | p2 | ||
| ) |
Adds a point to another.
The coordinates of the second point will be added to those of the first point. The second point is not modified.
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
| void boost::geometry::subtract_value | ( | Point & | p, |
| typename detail::param< Point >::type | value | ||
| ) |
Subtracts the same value to each coordinate of a point.
| Point | Any type fulfilling a Point Concept |
| p | point |
| value | value to subtract |
| void boost::geometry::subtract_point | ( | Point1 & | p1, |
| Point2 const & | p2 | ||
| ) |
Subtracts a point to another.
The coordinates of the second point will be subtracted to those of the first point. The second point is not modified.
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
| void boost::geometry::multiply_value | ( | Point & | p, |
| typename detail::param< Point >::type | value | ||
| ) |
Multiplies each coordinate of a point by the same value.
| Point | Any type fulfilling a Point Concept |
| p | point |
| value | value to multiply by |
| void boost::geometry::multiply_point | ( | Point1 & | p1, |
| Point2 const & | p2 | ||
| ) |
Multiplies a point by another.
The coordinates of the first point will be multiplied by those of the second point. The second point is not modified.
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
| void boost::geometry::divide_value | ( | Point & | p, |
| typename detail::param< Point >::type | value | ||
| ) |
Divides each coordinate of the same point by a value.
| Point | Any type fulfilling a Point Concept |
| p | point |
| value | value to divide by |
| void boost::geometry::divide_point | ( | Point1 & | p1, |
| Point2 const & | p2 | ||
| ) |
Divides a point by another.
The coordinates of the first point will be divided by those of the second point. The second point is not modified.
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
| void boost::geometry::assign_value | ( | Point & | p, |
| typename detail::param< Point >::type | value | ||
| ) |
Assign each coordinate of a point the same value.
| Point | Any type fulfilling a Point Concept |
| p | point |
| value | value to assign |
| void boost::geometry::assign_point | ( | Point1 & | p1, |
| Point2 const & | p2 | ||
| ) |
Assign a point with another.
The coordinates of the first point will be assigned those of the second point. The second point is not modified.
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
| ResultP boost::geometry::cross_product | ( | P1 const & | p1, |
| P2 const & | p2 | ||
| ) |
Computes the cross product of two vectors.
All vectors should have the same dimension, 3 or 2.
| p1 | first vector |
| p2 | second vector |
| P boost::geometry::cross_product | ( | P const & | p1, |
| P const & | p2 | ||
| ) |
Computes the cross product of two vectors.
All vectors should have the same dimension, 3 or 2.
| p1 | first vector |
| p2 | second vector |
| select_coordinate_type<Point1, Point2>::type boost::geometry::dot_product | ( | Point1 const & | p1, |
| Point2 const & | p2 | ||
| ) |
Computes the dot product (or scalar product) of 2 vectors (points).
| Point1 | Any type fulfilling a Point Concept |
| Point2 | Any type fulfilling a Point Concept |
| p1 | first point |
| p2 | second point |
|
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |


Home
Articles
Here are some of the articles I recently added (sorted from newest to oldest).
Best GNU/Linux distribution for your grandma and you
Why JavaScript is bad for privacy
Online Privacy Ultimate Guide
Yet another Firefox Hardening guide


Introduction
Welcome to Protean! Throughout these documentation pages, you'll find help for every feature.
Features
miscellaneous
Left panel content goes here
Right panel content goes here
Welcome to Protean! Throughout these documentation pages, you'll find help for every feature.
Documentation in part by /u/_BindersFullOfWomen_


|
KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Testing authentication process More...
Classes | |
| class | Configurator |
| The test configurator More... | |
| class | TestInstaller |
| The test installer to register components More... | |
Public Member Functions | |
| AuthenticationTests (ITestOutputHelper output) | |
| Initializes a new instance of the AuthenticationTests class. More... | |
| async Task | GrantPasswordTest (string clientId, string clientSecret, string userName, string userPassword, HttpStatusCode expectedResult) |
| Basic authorization test More... | |
| async Task | GrantRefreshToken (bool createTicket, string ticketUserId, string ticketClientId, string clientId, string clientSecret, HttpStatusCode expectedResult) |
| Tests the refreshing access tokens process More... | |
Additional Inherited Members | |
| Protected Member Functions inherited from KlusterKite.Web.Tests.WebTest< AuthenticationTests.Configurator > | |
| WebTest (ITestOutputHelper output) | |
| Initializes a new instance of the WebTest<TConfigurator> class. More... | |
| override void | Dispose (bool disposing) |
Testing authentication process
Definition at line 38 of file AuthenticationTests.cs.
| KlusterKite.Web.Tests.Auth.AuthenticationTests.AuthenticationTests | ( | ITestOutputHelper | output | ) |
Initializes a new instance of the AuthenticationTests class.
| output | The output. |
Definition at line 46 of file AuthenticationTests.cs.
| async Task KlusterKite.Web.Tests.Auth.AuthenticationTests.GrantPasswordTest | ( | string | clientId, |
| string | clientSecret, | ||
| string | userName, | ||
| string | userPassword, | ||
| HttpStatusCode | expectedResult | ||
| ) |
Basic authorization test
| clientId | The client Id. |
| clientSecret | The client Secret. |
| userName | The user Name. |
| userPassword | The user Password. |
| expectedResult | The expected Result. |
Definition at line 88 of file AuthenticationTests.cs.
| async Task KlusterKite.Web.Tests.Auth.AuthenticationTests.GrantRefreshToken | ( | bool | createTicket, |
| string | ticketUserId, | ||
| string | ticketClientId, | ||
| string | clientId, | ||
| string | clientSecret, | ||
| HttpStatusCode | expectedResult | ||
| ) |
Tests the refreshing access tokens process
| createTicket | A value indicating whether to create refresh tokens in the test |
| ticketUserId | The user id in the refresh ticket |
| ticketClientId | The client id in the ticket |
| clientId | The client id in the request |
| clientSecret | The client secret in the request |
| expectedResult | The expected response code |
Definition at line 157 of file AuthenticationTests.cs.


I am currently pursuing a PhD at NUI Galway under the supervision of Prof. Louise Allcock. I am funded through the Irish Research Council Government of Ireland Postgraduate scheme and Dr. Tony Ryan Research scholarship. I am interested in the evolution of cephalopods using both molecular and morphological data.
Ringvold, H. and Taite, M. , 2018. Using citizen science to obtain data on large, floating gelatinous spheres from NE Atlantic, attributed to egg mass of ommastrephid squid (Oegopsida, Cephalopoda, Mollusca). Marine Biology Research, pp.1-10. doi: 10.1080/17451000.2018.1504165


How to run an Ubuntu desktop on ChromeOS
| All of these procedures work on an ASUS C200 Chromebook. Some steps may not work for all devices. |
Developer Mode
-
Invoke Recovery Mode with
ESC + REFRESH and tap POWER
-
Enter Developer Mode from the Recovery screen by pressing
CTRL-D
-
Confirm Developer Mode and the chromebook will start into Developer Mode.
The initial conversion Developer Mode might take a bit. Now each time you reboot the chromebook, you will need to press CTRL-D
to enter Developer Mode.
Install Crouton
-
Install the Chrome browser extension from https://goo.gl/OVQOEt.
-
Download the latest version of crouton from https://goo.gl/fd3zc.
-
Open a crosh shell with
CTRL + ALT + T
-
Enter
shell
-
sudo sh ~/Downloads/crouton -t xiwi,xfce
-
Answer the prompts and wait for the install to complete
-
-
Start your full Linux desktop with
sudo startxfce4
Mount a SMB Share into Linux (NOT CURRENTLY WORKING)
Chrome has an extension that finally makes it easy to mount SMB shares in ChromeOS. The problem comes when trying to share this mount into the Linux desktop.
-
Open a crosh shell with
CTRL + ALT + T
-
Enter
shell
-
cd ~/Downloads
-
wget https://raw.githubusercontent.com/divx118/crouton-packages/master/change-kernel-flags
-
sudo sh ~/Downloads/change-kernel-flags
-
This may be undone with
sudo sh ~/Downloads/change-kernel-flags -r
-
| The kernel flag setting must be redone after each ChromeOS update. |
-
cd /usr/local
-
sudo wget "https://raw.github.com/divx118/cifs/master/mountcifs.tar.gz"
-
sudo tar xvf mountcifs.tar.gz
-
Edit the fstab,
sudo vi ./etc/fstab
-
Mine looks like:
-
//<IP_ADDRESS>/Public /media/removable/public smbfs username=myuser,password=mypass,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Using the Mount
-
Start with
sudo mountcifs start
-
Start you linux desktop
-
Stop with
sudo mountcifs stop


{{ title }}
{% trans %}Sorry, we couldn't find the page you were looking for. Please, try searching our site using the form below.{% endtrans %}
{% import "search/basic-form.html" as form with context %} {{ form.form() }}{% if request.MOBILE %}
{% extends 'mobile/base.html' %}
{% else %}
{% extends 'base.html' %}
{% endif %}
{% set title = _('Page Not Found') %}
{% set hide_header_search = True %}
{% block content %}
{% trans %}Sorry, we couldn't find the page you were looking for. Please,
try searching our site using the form below.{% endtrans %}{{ title }}


Joe Jackson - Look Sharp
It's a Beautiful Day
Led Zeppelin
David Bowie Aladdin Sane
The Beatles With The Beatles
King Crimson In the Court of the Crimson King
Joe Jackson - Look Sharp
The Who Who's Next
Madonna True Blue


Home
About
Menu
Locations
Contact
About
Menu
Locations
Contact
Contact Us
Questions? Comments?
Fill out the form below with your thoughts on Pop!
First Name:
Last Name:
Email Address:
Phone Number:
Message:
Write your message here.
Send


Welcome to Human Anatomy Atlas
This website will show you what you can discover with ZSpace and Visible Body's "Human Anatomy Atlas". We will break it down into three parts: usability analysis and detailed guide. The usability analysis will evaluate the usability of the hardware and software. The detailed guide will include pictures and screen shots and address everything you need to get started discovering the human body.


variation snails traits temperature genetic immune high activity snail change examined heat climate family-level reaction responses (±.) {border-style potential PO-like family px;} temperatures #ffffff;} antibacterial species stagnalis norms reproduction defence eggs families conditions number treatments using effects population selection (Table Biol ]). evolutionary history natural phenotypic response used wave (see Science block environmental length life maintained oviposited Lymnaea Seppälä different exposed measured parameters populations shell size thermal °C, Ecol Fig. adaptation adaptive concentration experimental function growth limited plasticity °C) < <. (i.e. evolution haemolymph however, px; reproductive water {font-family ./science. Evolution However, activity, correlations did effect font-size haemocyte increase maternal means negative observed studies variance (e.g. Soc calculated days. double; error estimated experiment important results showed significant stock trade-offs trait (F) (T) (e.g., ./j.-...x Climate Exp Furthermore, Proc analyses border-color border-width changing chose collected correlation data differences estimate examine fitness freshwater global host increased indicates individuals marginal phenoloxidase ponds reduced resistance solid; treatments. van waves {font-style {font-weight ./j.-..tb.x ANOVAs Evol Foundation Hoffmann Leicht Merilä Oxford Parasitology SE) Sheldon University Wilson according activity: analysed and/or article available bold changes climatic clutch clutches connected courier; covariation described em; expression extreme factors fed file fitness-related heritable hermaphrodite indicated interaction interactions low measurements need parallel plastic pond possible pt;} range respond selection. similar simultaneous snail, snails. stress strongly study supplementary survival traits. trematode typical variation, wild


The radar is a document that sets out the changes that we think are currently interesting in software development - things in motion that we think you should pay attention to and consider using in your projects. It reflects the idiosyncratic opinion of a bunch of senior technologists based on our day-to-day work and experiences. While we think this is interesting, it should not be taken as a deep market analysis.


Hybrid clouds
Enables developers to build and run applications entirely in the cloud
For cases when you need your resources public, we can provide an hybrid cloud setup. Leave your important applications secure in the private zone and only expose a selected subset, such as your main website. Hybrid clouds are ideal when you need to interact with vendors, suppliers, partners and others as part of the ecosystem. Give them the ability to access your private resources on special request on demand.
Get Started


Create a bookmark and use the textarea content for the URL value, or drag the link to the bookmark bar.
Adjusts all text on the page to these values:
* {
line-height = 1.5;
letter-spacing = 0.12em;
word-spacing = 0.16em;
}
p {
margin-bottom = 2em;
}
Inspired by text-adaptation.js from Alastair Campbell.
Check serialized DOM of current page
Grabs the serialized DOM of whatever page you’re currently browsing and sends it to the Nu Html Checker.
Original bookmarklet by Steve Faulkner at Nu Html Checker about page.
Check for WCAG 2.0 parsing compliance
Filters Nu Html Checker results to just show messages relevant to requirements in the WCAG 2.1 spec.
Original bookmarklet by Steve Faulkner at Nu Html Checker about page.


Moringa School
Software Development (Android Track)
London School of Economics and Political Science
Masters of Science in International Social and Public Policy: Graduated With Merit
2018-2019
University of Oxford, Oxford, UK
Bachelor of Arts in Economics and Philosophy Study Abroad Programme: finished With High-Merit
Aug 2017-Dec 2017
George Fox University, OR, USA
Bachelor of Arts in Economics and Philosophy: Graduated Magna Cum Laude
2014-2017
Academic Tutor, Uber Tutors, London, UK: Oct 2018-Jan 2020
- Uber Tutors (Uber Tutors is a top education support service in London)
- Develop Math and English lesson plans to cater to each of my student’s strengths, needs and challenges individually and specially to make them more academically acute in terms of critical thinking and problem solving.
Mentorship Program Coordinator, Missions of Hope International: Jan 2018-Sep 2018
- Initiated and coordinated a one-on-one mentorship program (in NGO that educates over 17,000 youth in slums) as an effective intervention in helping mitigate dysfunctional behaviors
- Program’s objective: a galvanizing support system that will motivate the youth to self-actualization: Includes academic tutoring, Socratic-method discussions, chess training, and career coaching.
- Created a monitoring and evaluation plan for the mentorship program that includes a Logical Framework, Indicators Document, Data Flow Map, Roles and Responsibilities Chart, Planing for Data Quality Management, analysis and Use
- Recruited and supervised a mentorship committee that took over after I left for graduate school and would ensure the sustainability and growth of the program. Currently still a consultant for the mentorship program.
Researcher, Oregon Community Foundation (OCF), Portland, OR. : Jan 2018-Sep 2018
- Gathered data about Oregon and Oregon’s counties and assist with analysis and writing for a statewide published annual report for OCF’s Tracking Oregon’s Progress project.
- Used data to tell stories of Oregon’s socio-economic progress
- Conducted a literature review, on topics related to youth at risk, middle school out-of-school programming, college/career readiness, and arts education
- Assisted with analysis of interview transcripts, observations and other data collected from grantee organizations to identify challenges, and successes
Social and Political Intern in Kenyan government ,Kenya vision 2030 Delivery Secretariat, Nairobi, Kenya: May 2016-August 2016
Software Development (Android Track)
- Assistant to the social & political pillar directorate answered routine inquiries from different government ministries and mail invitation letters for board meetings.
- Researched, wrote, and filed progress reports on Kenyan government projects in various sectors about health, education, water sanitation, sports, culture, and social services to vulnerable groups.
Accompanied director to project locations for evaluation of progress.
Multicultural Representative, George Fox University, Newberg, OR. : Aug 2016-April 2017
- Cultivated awareness, mutual respect, and appreciation of cultural diversity within the student community. Develop ways to provide students of diverse races and cultures an affirming and supportive environment, which encourages cross-cultural communication and sharing.
- Initiated and instructed a dance fitness club to bring people from diverse backgrounds together through music.
- Organize, and coordinate event space design and catering
- Recruited and supervised a mentorship committee that took over after I left for graduate school and would ensure the sustainability and growth of the program. Currently still a consultant for the mentorship program.
PUBLICATIONS
AWARDS AND SCHOLARSHIPS
- Female Athlete of the Year 2014 at Rosslyn Academy. Demonstrated sportsmanship, leadership, excellence in academics and high school varsity teams in football, basketball, and volleyball for four years.
- Steinfeldt Peace Scholar (Undergraduate 2016-2017)- Is awarded to a student who demonstrate a commitment to peace studies with a clear peacemaking vocation.
- Magna Cum Laude Undergraduate) and Dean’s Honor Roll ($16,000 scholarship annually)


+
The all-new WX-S R5
Ergonomic Leather Seats
Available in Comfort Suede and leather. High-contrast stitching colors available.
Learn more
Close


1 killed, 39 arrested in Mindanao anti-crime raids
by Alfred P. DalizonAGENTS of the Police Regional Office 12 yesterday launched simultaneous anti-crime raids that resulted in the killing of an armed drug trafficking suspect and the arrest of 39 others, PRO12 director Brig. Gen. Alfred Corpus said.
The official said that PRO12 agents, backed by operatives from the Philippine National Police Special Action Force, Criminal Investigation and Detection Group, Highway Patrol Group, Intelligence Group and the Army, simultaneously served 78 search warrants for illegal possession of drugs, firearms and explosives against the targets in different parts of General Santos City, Sultan Kudarat, South Cotabato and Sarangani provinces.
In a report to PNP Officer-in-Charge Lt. Gen. Archie Francisco Gamboa, Corpus said an armed drug target was killed in a gunfight with operatives.
Arrested were 39 other suspects.
Seized during the operations were 32 assorted unlicensed firearms, six hand grenades, 372 pieces of assorted live ammunition and an estimated P500,000 worth of shabu and dried marijuana leaves.
Corpus said that appropriate criminal charges are being readied against the arrested suspects.


Fresco Restaurant
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temp
or incididunt ut labore et dolore magna aliqua. Ut enim ad minim.

We Always serve the vaping hot and delicious foods
Lorem ipsum dolor sit ametcons
icing elit.
Lorem ipsum dolor sit ametcons
icing elit.
Lorem ipsum dolor sit ametcons
icing elit.
Who are in extremely love with eco friendly system. Lorem ipsum dolor sit amet,
consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat.


You need to make sure the "EXAM RESULTS" section relfects automatically the responses from the "EXAM QUESTIONS" section in real time. Basically, you need to implement 2-way binding between the HTML controls in the "EXAM QUESTION" section and the "EXAM RESULT" section that read the model.
EXAM RESULTS
What is 2-way binding?
What is an expression?
What is ng-model?
What is ng-bind?
EXAM QUESTIONS
What is 2-way binding?
What is an expression?
What is ng-model?
What is ng-bind?


This naming(Akan-Names) tradition is shared throughout West Africa and the African diaspora. During the 18th–19th centuries, slaves in the Caribbean from the region that is modern-day Ghana were referred to as Coromantees. Many of the leaders of slave rebellions had "day names" including Cuffy or Kofi, Cudjoe or Kojo, and Quamina or Kwame/Kwamina.
We have different namings in our current society with diffrent meanings


My identity, strengths and values
Describe how your culture has influenced your values and identity.
I am from Kerala in India, and my identity has been shaped by my upbringing. Coming from a collectivist culture, who I am today is a culmination of all the values I have learnt and the support I have received from my whānau, teachers and friends. Strong family values, respect for elders and a sense of duty towards my whānau, are some of the values my culture has imbibed in me.
Describe your core personal values.
The values I uphold are living with integrity, being in harmony with other people and the environment, and giving back to the society.
Describe your strengths and limitations.
| Strengths | Kindness, Respect, Empathy, Resilience, Positive attitude |
|---|---|
| Limitations | Can overload myself and not reach out for help, trying to do things as properly or perfectly as possible, managing conflicts |
Evaluate your strengths and limitations in terms of your learning and career development. Identify which of your strengths might help you in your learning journey and how they might intersect with learning obstacles.
My strengths make me a kind and empathetic team player. I am a listener and I respect other people's viewpoints. My resilience allows me to see things through to completion inspite of difficulties, which will be particularly advantageous during the bootcamp. With respect to my limitations, as I am aware of them, I shall take conscious measures to ask for help. I also understand the very essence of Agile methodology is to create and refine your product, so I will stick to the timeboxes and move on to the next exercise even if I feel my output isn't as good as I want it to be.


!DOCTYPE html >
< h2 >< /h2 >< b >< i > MY CODING EXPERIENCE < /i >< /b >< /h2 >< /p >< /p > Hello everyone, first of all thanks for making this repo, actually i was in 11 th class when i get my first exposure to c++ < p > in first year of my college i learned some machine learning algorithms, html css and also i got enrolled in codechef, its now i am going to learn about cryptography, datamining and selenium.in my point of view coding is a solution for every human problem, it was coding that took us to the moon. < /br >< /p > < marquee > so keep coding keep ENJOYING < /marquee >< /b >. < /body >


Let's start with a quick overview. Every time a browser makes a request to a server it specifies an HTTP header called Accept-Language. This header specifies a list of locales which the browser would like in preferred order.
GWT supports localization by generating a separate HTML file for each language your application supports. When a browser requests your application, GWT looks at the request and figures out which file matches the JavaScript preferred locale. If it can't find one it delivers the default, usually English. But there's a problem.
GWT code is compiled into JavaScript and it runs in the browser. This is why we can create Spiffy UI applications that access server code written in PHP, .NET, and Erlang. However, it also means GWT code can't access the "Accept-Language" header. Instead it must rely on JavaScript to get the preferred locale by using mechanisms like navigator.language
, navigator.systemLanguage
, and navigator.userLanguage
.
JavaScript only provides one language rather than the preferred list. To make matters worse, many popular browsers supply different languages to code running on the client than to code running on the server, if you've specified additional preferred locales. It's too easy for your client code to think it is running in a different locale from your server. The result is an application that's half in French and half in Japanese.
The solution is a special GWT property specifying the locale:
<meta name="gwt:property" content="locale=fr">
Spiffy UI offers a servlet filter that will compare the locales the browser requests with the locales your application supports, and find the best match. It will then output the GWT locale property, and make sure the server and client in your application agree on the same locale.
The easiest way to use the locale filter is to create a new servlet filter that extends GWTLocaleBundleFilter
. This filter will look in your application and determine the supported locales based on the properties files you have. For example, if you have files named Strings_fr.properties
, Strings_de.properties
, and Strings_en.properties
, then your application supports French, German, and English.
Implement the class like this:
public class SampleLocaleFilter extends GWTLocaleBundleFilter { protected String getResourcePath() { return "/WEB-INF/classes/org/spiffyui/spsample/client"; } }
The resource path is the location in your WAR of your properties files. Then map it in your web.xml file like this:
<filter> <description>My best-match locale filter</description> <filter-name>SampleLocaleFilter</filter-name> <filter-class>org.spiffyui.spsample.server.SampleLocaleFilter</filter-class> </filter> <filter-mapping> <filter-name>SampleLocaleFilter</filter-name> <url-pattern>/index.html</url-pattern> </filter-mapping>
You can map this filter to any file in your application. There are many other options. Take a look at the JavaDoc.
Localizing your strings is just the first step. The Spiffy UI Framework includes internationalized date and time utilities based on Datejs. In addition, it includes date and time widgets which wrap the JQuery UI Datepicker and a JQuery Time Picker.
A number formatting utility is also included so that numbers can be displayed with the appropriate group and decimal separators. So for example, 100000.0 in English would appear as 100,000.0, but in German it would appear as 100.000,0. See the Number Format unit tests for the many possibilities.
These utilities are optional and require an additional servlet to support localized formats. To use them you need to include the JSLocaleServlet
in your project. You can extend the JSLocaleServlet
to provide custom localizations.
The JSLocaleServlet
will redirect the browser to the best matching localized JS file for date.js
or jquery.ui.datepicker.js
. Spiffy UI includes a basic algorithm for determining the best matching locale by looping through the requested browser locales and attempting to match them against one of the supported locales. It first attempts to match exactly, then by language and country, then by language. If it doesn't find a match it will return the English version of the JavaScript file requested.
By default the date utilities are localized in the following 67 locales:
Afrikaans
Albanian (Gjuha shqipe)
Algerian Arabic
Arabic (?(?????
Armenian (???????)
Azerbaijani (Az?rbaycan dili)
Basque (Euskara)
Bosnian (Bosanski)
Bulgarian (????????? ????)
Catalan (Català)
Chinese Hong Kong (????)
Chinese Simplified (????)
Chinese Traditional (????)
Croatian (Hrvatski jezik)
Czech (ceština)
Danish (Dansk)
Dutch (Belgium)
Dutch (Nederlands)
English/Australia
English/New Zealand
English/UK
Esperanto
Estonian (eesti keel)
Faroese (føroyskt)
Farsi/Persian (?(?????
Finnish (suomi)
French (Français)
French/Swiss (Français de Suisse)
Galician
German (Deutsch)
Greek (????????)
Hebrew (?(?????
Hindi (?????)
Hungarian (Magyar)
Icelandic (Õslenska)
Indonesian (Bahasa Indonesia)
Italian (Italiano)
Japanese (???)
Kazakhstan (Kazakh)
Khmer
Korean (???)
Latvian (Latvieöu Valoda)
Lithuanian (lietuviu kalba)
Luxembourgish
Macedonian
Malayalam
Malaysian (Bahasa Malaysia)
Norwegian (Norsk)
Polish (Polski)
Portuguese (Português)
Portuguese/Brazilian (Português)
Rhaeto-Romanic (Romansh)
Romanian (Româna)
Russian (???????)
Serbian (?????? ?????)
Serbian (srpski jezik)
Slovak (Slovencina)
Slovenian (Slovenski Jezik)
Spanish (Español)
Swedish (Svenska)
Tamil (?????)
Thai (???????)
Tajikistan
Turkish (Türkçe)
Ukranian (??????????)
Vietnamese (Ti?ng Vi?t)
Welsh/UK (Cymraeg)
These different languages are served by the JSLocaleServlet
. To include this in your project, add the following entries to your web.xml:
<servlet> <servlet-name>JSLocaleServlet</servlet-name> <servlet-class>org.spiffyui.server.JSLocaleServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>JSLocaleServlet</servlet-name> <url-pattern>/js/lib/i18n/date</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>JSLocaleServlet</servlet-name> <url-pattern>/js/lib/i18n/jquery.ui.datepicker.js</url-pattern> </servlet-mapping>
The JSLocaleServlet
returns JavaScript files supporting the date formats. This servlet must be referenced in the head
section of your HTML file like this:
<script type="text/javascript" src="js/lib/i18n/date"></script> <script type="text/javascript" src="js/lib/i18n/jquery.ui.datepicker.js"></script>
If your application requires a customized best-matching-locale routine, you may extend JSLocaleServlet
, override getBestMatchLocale
, then include your class in web.xml instead. For example:
public class MyLocaleServlet extends JSLocaleServlet { private static final long serialVersionUID = 1L; private static final MyLocaleChooserFactory LOCALE_FACTORY = new MyLocaleChooserFactory(); @Override protected Locale getBestMatchLocale(HttpServletRequest request, HttpServletResponse response, ServletContext context) throws ServletException { return LOCALE_FACTORY.getBestLocaleChooser(context). getBestLocale(request, response, context); } }
You then need to add your class to the web.xml file instead of the Spiffy UI framework version.
<servlet> <servlet-name>JSLocaleServlet</servlet-name> <servlet-class>com.myco.MyLocaleServlet</servlet-class> </servlet>


Cannot be empty
Title cannot be more than {{ TITLE_MAX_LENGTH }} characters long
Title cannot be blank


val numFeatures: Int
The number of features each case has.
numFeatures - The number of features each case has.
numFeatures


Daimler to cut thousands more jobs in bid to reduce costs
Car manufacturer struggling with cost of electic vehicles
Daimler is to cut thousands more jobs worldwide in the next two years as it struggles to pay for the enormous costs of investing in electric vehicles.
The Mercedes-Benz owner had already announced that a tenth of managers would be axed, but will now let go of at least a thousand administrative staff too.
Assembly-line employees are not included in the latest figures. Daimler had previously agreed a jobs guarantee with workers’ representatives, which protects operational staff in Germany against compulsory redundancies until the end of 2029.
In a statement, Daimler said it would reduce its headcount in a “socially responsible manner”, and use “natural fluctuation to cut jobs that become vacant”.
The carmaker, which directly employs 130,000 people in Germany, added that voluntary redundancy packages will also be offered to those nearing retirement.
The company, which says it will cut €1.4 billion in personnel costs, will seek to make further savings by offering its current workforce the option of reducing weekly working hours.
“A reduction in capacity must not be carried out on the backs of employees,” warned Michael Brecht, chairman of Daimler’s works council.
The council added that “the focus of personnel cost reduction must be on the improvement of processes and workflows.”
Daimler’s latest announcement comes days after Audi announced it was cutting almost 10,000 jobs, and reducing the production capacity at two of its main factories. – Copyright The Financial Times Limited 2019


Select your preferences to start searching
Best Quality + Value
Calcuated to match your preferences
-
11:45am - 7:52pm
Spirit • 5h 25m • Nonstop • SEA (Seattle) - EWR (Newark)
7:40am - 10:37pm
Spirit • 6h 31m • Nonstop • EWR (Newark) - (Seattle) SEA
Seat Map
-
7:30am - 3:46pm
Alaska • 5h 16m • Nonstop • SEA (Seattle) - JFK (NYC)
4:05pm - 7:38pm
Alaska • 6h 31m • Nonstop • JFK (NYC) - (Seattle) SEA
Seat Map
-
1:05pm - 9:24pm
Delta • 5h 25m • Nonstop • SEA (Seattle) - EWR (Newark)
6:30pm - 10:08pm
Delta • 6h 31m • Nonstop • EWR (Newark) - (Seattle) SEA
Seat Map
-
5:32pm - 5:07pm+1
Frontier • 23h 25m • 12h layover in DEN • EWR (Newark) - (Seattle) SEA
9:20am - 9:56pm
Frontier • 8h 05m • 50m layover in CVG • SEA(Seattle)-EWR(Newark)
Seat Map
-
7:32pm - 7:07pm+1
JetBlue • 5h 25m • Nonstop • SEA(Seattle)-JFK(NYC)
9:20am - 9:56pm
JetBlue • 6h 31m • Nonstop • JFK(NYC)-(Seattle)SEA
Seat Map
-
7:55pm - 4:20pm
Alaska • 5h 25m • Nonstop • SEA(Seattle)-JFK(NYC)
9:00am - 12:31pm
Alaska • 6h 31m • Nonstop • JFK(NYC)-(Seattle)SEA
Seat Map
-
11:05pm - 7:21am+1
Alaska • 5h 25m • Nonstop • SEA(Seattle)-EWR(Newark)
3:50pm - 7:30pm
Alaska • 6h 31m • Nonstop • EWR(Newark)-(Seattle)SEA
Seat Map
Other flights
Match dates and cities, but may not match all preferences
-
7:55am - 4:20pm
Alaska • 5h 15m • Nonstop
SEA (Seattle) - EWR (Newark)
9:00am - 12:31pm
Alaska • 6h 34m • Nonstop
EWR (Newark) – SEA (Seattle)
-
11:05am - 7:21pm
Delta • 5h 32m • Nonstop
SEA (Seattle) - JFK (NYC)
3:50pm - 7:30pm
Delta • 6h 05m • Nonstop
JFK (NYC) - SEA (Seattle)
-
9:50pm - 5:59pm
JetBlue • 5h 25m • Nonstop
SEA (Seattle) - JFK (NYC)
5:39pm - 9:02pm
JetBlue • 6h 04m • Nonstop
JFK (NYC) - SEA (Seattle)
-
5:32pm - 5:07pm+1
Frontier • Layover 12h 5min in DEN
SEA (Seattle) - JFK (NYC)
9:20am - 9:56pm
Frontier • Layover 50m in CVG
EWR (Newark) - SEA (Seattle)
-
7:30am - 3:46pm
Alaska • 5h 35m • Nonstop
SEA (Seattle) - EWR (Newark)
4:05pm - 7:38pm
Alaska • 6h 33m • Nonstop
EWR (Newark) - SEA (Seattle)
-
11:05pm - 7:21am+1
Alaska • 5h 35m • Nonstop
SEA (Seattle) - EWR (Newark)
3:50pm - 7:30pm
Alaska • 6h 31m • Nonstop
EWR (Newark) - SEA (Seattle)
-
1:05pm - 9:24pm
Delta • 5h 35m • Nonstop
SEA (Seattle) - EWR (Newark)
6:30pm - 1:08pm
Delta • 5h 52m • Nonstop
EWR (Newark) - SEA (Seattle)
-
11:45am - 7:52pm
Spirit • 5h 45m • Nonstop
SEA (Seattle) - JFK (NYC)
7:40pm - 10:37pm
Spirit • 6h 12m • Nonstop
JFK (NYC) - SEA (Seattle)
-
3:17pm - 5:03pm
Spirit • 5h 45m • Nonstop
SEA (Seattle) - EWR (Newark)
6:30am - 2:17pm
Spirit • 6h 12m • Nonstop
EWR (Newark) - SEA (Seattle)


rippled creates 4 SQLite databases to hold bookkeeping information about transactions, local credentials, and various other things.
It also creates the NodeDB, which holds all the objects that make up the current and historical ledgers.
The size of the NodeDB grows in proportion to the amount of new data and the amount of historical data (a configurable setting) so the performance of the underlying storage media where the NodeDB is placed can significantly affect the performance of the server.


Swagger Petstore
Describe APIs in Pet Store
pet
Description for pet tag
addPet
Add a new pet to the store
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
Pet object that needs to be added to the store |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 405 | Invalid input |
updatePet
Update an existing pet
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
Pet object that needs to be added to the store |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 400 | Invalid ID supplied |
||
| 404 | Pet not found |
||
| 405 | Validation exception |
findPetsByStatus
Finds Pets by status
Multiple status values can be provided with comma separated strings
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *status | Status values that need to be considered for filter |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid status value |
findPetsByTags
Finds Pets by tags
Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *tags | Tags to filter by |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid tag value |
deletePet
Deletes a pet
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| api_key | |||
| *petId | Pet id to delete |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 400 | Invalid ID supplied |
||
| 404 | Pet not found |
getPetById
Find pet by ID
Returns a single pet
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *petId | ID of pet to return |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid ID supplied |
||
| 404 | Pet not found |
updatePetWithForm
Updates a pet in the store with form data
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *petId | ID of pet that needs to be updated |
||
| name | Updated name of the pet |
||
| status | Updated status of the pet |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 405 | Invalid input |
uploadFile
uploads an image
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *petId | ID of pet to update |
||
| additionalMetadata | Additional data to pass to server |
||
| file | file to upload |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
store
Access to Petstore orders
Additional description for store tag
addPet
Add a new pet to the store
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
Pet object that needs to be added to the store |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 405 | Invalid input |
getInventory
Returns pet inventories by status
Returns a map of status codes to quantities
Request
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | object | successful operation |
placeOrder
Place an order for a pet
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
order placed for purchasing the pet |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid Order |
deleteOrder
Delete purchase order by ID
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *orderId | ID of the order that needs to be deleted |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 400 | Invalid ID supplied |
||
| 404 | Order not found |
getOrderById
Find purchase order by ID
For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *orderId | ID of pet that needs to be fetched |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid ID supplied |
||
| 404 | Order not found |
user
Operations about user
createUser
Create user
This can only be done by the logged in user.
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
Created user object |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| default | successful operation |
createUsersWithArrayInput
Creates list of users with given input array
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
List of user object |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| default | successful operation |
createUsersWithListInput
Creates list of users with given input array
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *body |
|
List of user object |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| default | successful operation |
loginUser
Logs user into the system
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *username | The user name for login |
||
| *password | The password for login in clear text |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | string | successful operation |
|
| 400 | Invalid username/password supplied |
logoutUser
Logs out current logged in user session
Request
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| default | successful operation |
deleteUser
Delete user
This can only be done by the logged in user.
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *username | The name that needs to be deleted |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 400 | Invalid username supplied |
||
| 404 | User not found |
getUserByName
Get user by user name
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *username | The name that needs to be fetched. Use user1 for testing. |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 |
|
successful operation |
|
| 400 | Invalid username supplied |
||
| 404 | User not found |
Other APIs
| Improve this Doc View SourceupdateUser
Updated user
This can only be done by the logged in user.
Request
Parameters
| Name | Type | Default | Notes |
|---|---|---|---|
| *username | name that need to be updated |
||
| *body |
|
Updated user object |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 400 | Invalid user supplied |
||
| 404 | User not found |
Definitions
Pet
| Name | Type | Notes |
|---|---|---|
| category |
|
|
| id | integer (int64) | |
| name | string | |
| photoUrls | array | |
| status | string | pet status in the store |
| tags |
|
Category
| Name | Type | Notes |
|---|---|---|
| id | integer (int64) | |
| name | string |
Tag
| Name | Type | Notes |
|---|---|---|
| id | integer (int64) | |
| name | string |
ApiResponse
| Name | Type | Notes |
|---|---|---|
| code | integer (int32) | |
| message | string | |
| type | string |
Order
| Name | Type | Notes |
|---|---|---|
| complete | boolean | |
| id | integer (int64) | |
| petId | integer (int64) | |
| quantity | integer (int32) | |
| shipDate | string (date-time) | |
| status | string | Order Status |
User
| Name | Type | Notes |
|---|---|---|
| string | ||
| firstName | string | |
| id | integer (int64) | |
| lastName | string | |
| password | string | |
| phone | string | |
| userStatus | integer (int32) | User Status |
| username | string |


Trip Planner
Look up the weather information before planning your trip within two weeks.
Search
Your travel is in
No input
Temperature : ?°C
Wind Speed : m/s
No explanation
Save The Trip


DefaultPrinter()
Syntax
Result = DefaultPrinter()Description
Selects the default printer as current printer for print operation. This function has to be called before all other printer functions. Once DefaultPrinter() has been successfully called, StartPrinting() is used to actually start to print.
Parameters
None.
Return value
Nonzero if a default printer is available, zero otherwise.
See Also
StartPrinting()
Supported OS
All


Register
Our
Team
Our people are our greatest asset and biggest differentiator.
They also believe in having a lot of fun along the way.


--- layout: post title: Nice and Simple :) date: type: post published: false status: draft categories: - Ruby on Rails tags: [] meta: {} author: login: broberts65 email<EMAIL_ADDRESS>display_name: Bob Roberts first_name: '' last_name: '' ---
To integrate Facebook signup and login in your application you need to do the followings.
via Dead Simple Facebook Integration With Your ROR App — Dead Simple Ruby On Rails


--- type: header title: Panel header usage: Panel Header styling stylesheet: '/scss/components/panel-header.scss' ---


multiallelic-data.Rmd
This vignette demonstrates the MALECOT analysis pipeline for multi-allelic data, i.e. data for which there are more than two alleles at a locus. It covers:
This tutorial assumes some prior knowledge about MALECOT, so if you are completely new to the program we recommend working through the simpler bi-allelic tutorial first.
The bi-allelic data format used in previous tutorials cannot be used for multi-allelic data because now we can observe more than just homozygous and heterozygous calls at a locus. Instead, if there are J alleles at a locus then we can observe any subset of these alleles, ranging from just a single allele to all J alleles. MALECOT accommodates this by reading in data in long format.
The easiest way to understand long format is to simulate some multi-allelic data. This can be done using the standard sim_data()
function but with the argument data_format = "multiallelic"
. As before, there are many elements that make up this simulated data, including records of the true values used in simulation, but here we are only interested in the “data” element. Here we will draw samples from 5 subpopulations covering a range of mean COIs from 1 to 5. We will assume that we have sequenced the samples at 10 loci, with each locus having 5 possible alleles. Finally, we will assume 10% missing data so we can see what missing data looks like in long format:
mysim <- sim_data(data_format = "multiallelic", n = 100, L = 10, K = 5, COI_mean = 1:5,
alleles = 5, prop_missing = 0.1)
head(mysim$data)
## sample_ID locus haplotype
## 1 samp001 1 3
## 2 samp001 2 -9
## 3 samp001 3 -9
## 4 samp001 4 4
## 5 samp001 5 5
## 6 samp001 6 4
We can see that multi-allelic data has three columns, consisting of the sample ID, the locus, and the observed haplotype. The column names must match those shown above. The locus column must contain positive integer values starting at 1, meaning if loci are encoded as character strings then they must be converted to integers first. The same is true for haplotypes, which must be encoded as positive integers starting at 1, or as missing data.
Every locus must be represented in every sample - there can be no missing loci. Instead we can use the missing data character (-9 by default) to insert gaps in the data as needed. For example, in the simulated data above there is missing information in sample001 at loci 2 and 3, but this sample still has entries for all 10 loci rather than leaving these rows out entirely.
Once we have data in the correct format we can create a new project and bind the data to the project using the bind_data_multiallelic()
function:
# create project and bind data
myproj <- malecot_project()
myproj <- bind_data_multiallelic(myproj, df = mysim$data)
We create parameter sets in the usual way, and with the same options for priors as for bi-allelic data. The only difference is that there is currently no error model implemented in the multi-allelic method, meaning arguments like e1
and e2
are ignored (this is something that may change in future versions of the program). We run the MCMC using the run_mcmc()
function:
# create parameter set
myproj <- new_set(myproj, name = "tutorial multiallelic", COI_model = "nb", COI_max = 20,
estimate_COI_mean = TRUE, COI_dispersion = 2, lambda = 1)
# run MCMC
myproj <- run_mcmc(myproj, K = 5, burnin = 1e4, converge_test = 1e2,
samples = 1e4, pb_markdown = TRUE)
## Running MCMC for K = 5
## Burn-in phase
##
|
|=================================================================| 100%
## converged within 200 iterations
## Sampling phase
##
|
|=================================================================| 100%
## completed in 10.4237 seconds
##
## Processing results
## Total run-time: 11.33 seconds
You may find that this MCMC takes considerably longer to run than the bi-allelic MCMC. This is because the likelihood calculation is more complicated when there are more than two alleles.
As always we need to check the behaviour of our MCMC before moving on to results:
plot_loglike_dignostic(myproj, K = 5)
get_ESS(myproj, K = 5)
## rung1
## 636.3328
Notice that the autocorrelation falls off much more slowly than it did under the bi-allelic MCMC, and hence the effective sample size is smaller. This is one example where we should re-run the MCMC with a larger number of samples
to increase the chance that the MCMC has explored the space well. For the sake of this tutorial we will save time by loading in results obtained by re-running this MCMC with samples = 1e5
:
# check behaviour
plot_loglike_dignostic(myproj, K = 5)
get_ESS(myproj, K = 5)
## rung1
## 4309.956
We now mave a nice fuzzy black caterpillar and a much larger effective sample size, giving us greater confidence that the MCMC has explored the space well.
The same plotting functions can be used irrespective of whether data is bi-allelic or multi-allelic. In the case of the posterior allocation or “structure” plot we find that there is generally more signal in multi-allelic data because there are more possible ways for subpopulations to look different from one another:
# structure plot
plot_structure(myproj, K = 5, divide_ind_on = TRUE)
In this example we find that 100 samples sequenced at just 10 loci with 5 alleles is enough to pull samples apart into 5 distinct subpopulations, while a similar analysis with bi-allelic data would have struggled to detect this level of structure.
Perhaps the main advantage of multi-allelic data is in estimating COIs, where there tends to be far greater power than for bi-allelic data. This is because each new allele brings additional information about the number of circulating strains, rather than just relying on the overall proportion of heterozygous vs. homozygous calls. The following plot shows posterior 95% credible intervals in black, with true (simulated) COIs overlayed as red crosses:
# load ggplot2 package
library(ggplot2)
# produce plot of posterior COIs
posterior_COI <- plot_COI(myproj, K = 5)
# overlay true COI values
posterior_COI <- posterior_COI + geom_point(aes(x = 1:100, y = mysim$true_m), col = "red", shape = 4)
posterior_COI
In this example we find that estimates are precise up to COIs of around 3 or 4, then become imprecise at 5 and above. Generally speaking our ability to discern high COIs increases with the number of possible alleles at a locus.
The same gains in precision can be seen in the estimated mean COI per subpopulation:
# get correct plotting order
group_order_k5 <- get_group_order(myproj, K = 5, target_group = mysim$true_group)
plot_order <- order(group_order_k5)
plot_COI_mean(myproj, K = 5, deme_order = plot_order)
The only plot that differs between bi-allelic and multi-allelic data is the posterior allele frequency plot, which is now a grouped barplot showing posterior 95% credible intervals for each separate allele. The following plot shows posterior allele frequencies for the first deme only, with true values overlayed as red crosses:
# produce plot of posterior allele frequencies for this subpopulation
posterior_p <- plot_p(myproj, K = 5, deme = 1)
# get true simulated allele frequencies for this subpopulation
sim_p <- mapply(function(x){x[group_order_k5[1], ]}, mysim$true_p, SIMPLIFY = FALSE)
# get plotting results into dataframe
df <- data.frame(locus = rep(1:10, each = 5),
p = unlist(sim_p),
allele = rep(1:5, 10))
# overlay true allele frequencies onto plot
posterior_p <- posterior_p + geom_point(aes(x = locus, y = p, group = allele), data = df,
position = position_dodge(width = 0.9), col = "red", shape = 4)
posterior_p
In the previous tutorial we saw how different priors could be used to define skewed allele frequency distributions, and how different prior shapes could be explored using the plot_prior_p()
function. The same is true for multi-allelic data, except now the prior plots look different because the prior is J-dimensional, where J is the number of alleles. In multi-allelic plots the J dimensions are visualised using a parallel coordinates plot, in which axes are displayed parallel to one another rather than perpendicular. The prior distribution is visualised using 1000 random draws from this distribution, corresponding to 1000 simulated trajectories on the plot.
The following example shows a prior skewed in favour of the second allele. The expected allele frequency for allele j is equal to lambda[j]/sum(lambda)
, which in this case yields an expectation of 0.375 for the second allele:
plot_prior_p(lambda = c(1,6,2,3,4))
The prior uncertainty is dictated by the magnitude of lambda
, with larger values leading to reduced uncertainty. For example, we could define a second prior with exactly the same expected allele frequencies but lower uncertainty by multiplying all lambda
values in the above by 10:
plot_prior_p(lambda = c(1,6,2,3,4)*10)
The default prior in the multi-allelic case is a value of lambda[j] = 1
for every allele, giving an expected allele frequency of 1/J for every allele:
plot_prior_p(lambda = 1, alleles = 5)
When thinking about the prior on allele frequencies it is useful to imagine that each subpopulation has its own allele frequencies, drawn by picking one of these trajectories at random. Therefore if the prior is very precise (like the second plot above) then we are stating that we expect subpopulations to look very similar in their composition. If this seems unlikely a priori then we should use a smaller value of lambda
. Our aim when designing priors is to capture the plausible range of values, not what we expect the actual values to be.
The next tutorial covers how to compare different values of \(K\) and different models in MALECOT.


|
Multicore Manager (MCMGR) User's Guide
Rev. 4.1.0
NXP Semiconductors
|
This section describes the Multicore Manager component API. More...
This section describes the Multicore Manager component API.
Macros | |
| #define | MCMGR_HANDLE_EXCEPTIONS (0) |
| Set to 1 to enable exception handling. | |
Typedefs | |
| typedef enum _mcmgr_status | mcmgr_status_t |
| Enumeration that defines MCMGR function return status codes. | |
| typedef enum _mcmgr_core_property | mcmgr_core_property_t |
| Enumeration that defines property of core. | |
| typedef enum _mcmgr_core_status | mcmgr_core_status_t |
| Enumeration that defines the property value of core status. | |
| typedef enum _mcmgr_core_type | mcmgr_core_type_t |
| Enumeration that defines property value of core type. | |
| typedef enum _mcmgr_core | mcmgr_core_t |
| Enumeration that defines core. | |
| typedef enum _mcmgr_start_mode | mcmgr_start_mode_t |
| Enumeration that defines start type. | |
| typedef enum _mcmgr_event_type_t | mcmgr_event_type_t |
| Type definition of event types. | |
| typedef void(* | mcmgr_event_callback_t) (uint16_t data, void *context) |
| Type definition of event callback function pointer. | |
Enumerations | |
| enum | _mcmgr_status { kStatus_MCMGR_Success, kStatus_MCMGR_Error, kStatus_MCMGR_NotImplemented, kStatus_MCMGR_NotReady } |
| Enumeration that defines MCMGR function return status codes. More... | |
| enum | _mcmgr_core_property { kMCMGR_CoreStatus, kMCMGR_CoreType, kMCMGR_CorePowerMode } |
| Enumeration that defines property of core. More... | |
| enum | _mcmgr_core_status { kMCMGR_InReset, kMCMGR_NotInReset } |
| Enumeration that defines the property value of core status. More... | |
| enum | _mcmgr_core_type { kMCMGR_CoreTypeCortexM0, kMCMGR_CoreTypeCortexM0Plus, kMCMGR_CoreTypeCortexM4, kMCMGR_CoreTypeCortexM33, kMCMGR_CoreTypeCortexM7 } |
| Enumeration that defines property value of core type. More... | |
| enum | _mcmgr_core { kMCMGR_Core0, kMCMGR_Core1 } |
| Enumeration that defines core. More... | |
| enum | _mcmgr_start_mode { kMCMGR_Start_Synchronous, kMCMGR_Start_Asynchronous } |
| Enumeration that defines start type. More... | |
| enum | _mcmgr_event_type_t { kMCMGR_RemoteCoreUpEvent = 1, kMCMGR_RemoteCoreDownEvent, kMCMGR_RemoteExceptionEvent, kMCMGR_StartupDataEvent, kMCMGR_FeedStartupDataEvent, kMCMGR_RemoteRPMsgEvent, kMCMGR_RemoteApplicationEvent, kMCMGR_FreeRtosMessageBuffersEvent, kMCMGR_EventTableLength } |
| Type definition of event types. | |
| enum | mcmgr_version_enum { kMCMGR_Version = 0x00040100 } |
| Version of MCMGR. More... | |
Functions | |
| mcmgr_status_t | MCMGR_EarlyInit (void) |
| Initialize the multicore manager, early init. More... | |
| mcmgr_status_t | MCMGR_Init (void) |
| Initialize the multicore manager. More... | |
| mcmgr_status_t | MCMGR_StartCore (mcmgr_core_t coreNum, void *bootAddress, uint32_t startupData, mcmgr_start_mode_t mode) |
| Start a selected core. More... | |
| mcmgr_status_t | MCMGR_GetStartupData (uint32_t *startupData) |
| Get startup data for the slave core. More... | |
| mcmgr_status_t | MCMGR_StopCore (mcmgr_core_t coreNum) |
| Stop a selected core. More... | |
| int32_t | MCMGR_GetVersion (void) |
| Get version of MCMGR. More... | |
| mcmgr_status_t | MCMGR_GetCoreProperty (mcmgr_core_t coreNum, mcmgr_core_property_t property, void *value, uint32_t *length) |
| Get property of the CPU core. More... | |
| uint32_t | MCMGR_GetCoreCount (void) |
| Return the count of cores in a multicore system. More... | |
| mcmgr_core_t | MCMGR_GetCurrentCore (void) |
| Get current CPU core. More... | |
| mcmgr_status_t | MCMGR_RegisterEvent (mcmgr_event_type_t type, mcmgr_event_callback_t callback, void *callbackData) |
| Register event handler. More... | |
| mcmgr_status_t | MCMGR_TriggerEvent (mcmgr_event_type_t type, uint16_t eventData) |
| Trigger event handler. More... | |
| mcmgr_status_t | MCMGR_TriggerEventForce (mcmgr_event_type_t type, uint16_t eventData) |
| Trigger event handler, force version. More... | |
| enum _mcmgr_core |
| enum _mcmgr_core_property |
| enum _mcmgr_core_status |
| enum _mcmgr_core_type |
| enum _mcmgr_start_mode |
| enum _mcmgr_status |
| enum mcmgr_version_enum |
Version of MCMGR.
Version 1.0.0, for version 1.2.3 it will be 0x00010203
| mcmgr_status_t MCMGR_EarlyInit | ( | void | ) |
Initialize the multicore manager, early init.
After calling this function, MCMGR_TriggerEvent() and/or MCMGR_Init() can be called.
| uint32_t MCMGR_GetCoreCount | ( | void | ) |
Return the count of cores in a multicore system.
This function returns the count of cores in a multicore system.
| mcmgr_status_t MCMGR_GetCoreProperty | ( | mcmgr_core_t | coreNum, |
| mcmgr_core_property_t | property, | ||
| void * | value, | ||
| uint32_t * | length | ||
| ) |
Get property of the CPU core.
This function provides the property of the CPU core.
| [in] | coreNum | Enum of core. |
| [in] | property | Requested property type. |
| [in,out] | value | Parameter for value of property. |
| [in,out] | length | Parameter for size of property value in bytes. |
| mcmgr_core_t MCMGR_GetCurrentCore | ( | void | ) |
Get current CPU core.
This function returns enum of current core.
| mcmgr_status_t MCMGR_GetStartupData | ( | uint32_t * | startupData | ) |
Get startup data for the slave core.
This function read startup data provided by the master core. Use only on the slave core during the startup.
| [out] | startupData | Data to read by this function. |
| int32_t MCMGR_GetVersion | ( | void | ) |
Get version of MCMGR.
This function returns a number of MCMGR version.
| mcmgr_status_t MCMGR_Init | ( | void | ) |
Initialize the multicore manager.
After calling this function, all API can be used.
| mcmgr_status_t MCMGR_RegisterEvent | ( | mcmgr_event_type_t | type, |
| mcmgr_event_callback_t | callback, | ||
| void * | callbackData | ||
| ) |
Register event handler.
This function registers an event handler. for remote processor events handling.
| [in] | type | Type of the event. |
| [in] | callback | User callback. |
| [in] | callbackData | Data/context for user callback. |
| mcmgr_status_t MCMGR_StartCore | ( | mcmgr_core_t | coreNum, |
| void * | bootAddress, | ||
| uint32_t | startupData, | ||
| mcmgr_start_mode_t | mode | ||
| ) |
Start a selected core.
This function causes a selected core to initialize and start the code execution. If the secondary core application boots from RAM, then there is a need to call the function, which copies this app. Image to RAM prior this function.
| [in] | coreNum | Enum of the core to be started. |
| [in] | bootAddress | Boot address of the core to be started application. |
| [in] | startupData | Data which can be get by the other core on startup. |
| [in] | mode | Start mode, use kMCMGR_Start_Synchronous for synchronous mode (wait until the core is started), kMCMGR_Start_Asynchronous for asynchronous mode (do not wait). |
| mcmgr_status_t MCMGR_StopCore | ( | mcmgr_core_t | coreNum | ) |
Stop a selected core.
This function causes a selected core to halt code execution.
| [in] | coreNum | Enum of core to be stopped. |
| mcmgr_status_t MCMGR_TriggerEvent | ( | mcmgr_event_type_t | type, |
| uint16_t | eventData | ||
| ) |
Trigger event handler.
This function triggers an event handler on the remote core.
| [in] | type | Type of the event. |
| [in] | eventData | Data to send to remote core. |
| mcmgr_status_t MCMGR_TriggerEventForce | ( | mcmgr_event_type_t | type, |
| uint16_t | eventData | ||
| ) |
Trigger event handler, force version.
This function triggers an event handler on the remote core, force version that does not check the consumption of previously sent data.
| [in] | type | Type of the event. |
| [in] | eventData | Data to send to remote core. |