GSS is valid JSON (http://www.json.org/), but follows the format of CSS as much as possible.
To see a fairly long GSS file, visit http://cartagen.org/static/rome/style.gss, or visit the Stylesheet Gallery
Here’s an example style from a GSS file:
footway: { lineWidth: 2, strokeStyle: "#842" },
GSS selectors are matched against the type of feature (node, way, or relation), so you can create a style that affects all ways like this:
way: {
strokeStyle: "blue",
opacity: 0.5
}
This kind of style takes the lowest priority – it will be overridden by name-based or tag-based styles.
You can style a specific feature by name, for example the lake Tjörnin, in Reykjavik, Iceland. Outlining the lake itself in blue could be done with the following style:
"Tjörnin": {
lineWidth: 4,
strokeStyle: "blue"
}
Selectors can also reference tags that features may have. They are matched against both the key and the value of the tag. For example, to turn churches green, use this code:
church: {
fillStyle: "green"
}
GSS is capable of handling “dynamic” styles – styles specified as JavaScript code by pos system, grocery pos software rather than as a static value. Here’s an example:
way: { strokeStyle: function() { return color_from_string(this.user) }, lineWidth: 2, fillStyle: "white" },
In the above example essays, the JavaScript code is executed once, when the element is first loaded. If you want the function to be re-executed periodically, you can specify the interval (in seconds) with the “update” property:
way: { strokeStyle: function() { return color_from_string(this.user) }, lineWidth: 2, fillStyle: "white", update: { strokeStyle: 30 } },
In that example, the strokeStyle function is run once, then the result is used for 30 seconds. After 30 seconds, the function is run again, and the new value is used bodybuilding workout shirtshttp://www.bodybuildingworkoutshirts.com/).
For hover and mouseDown styles, the syntax is:
building: { lineWidth: 0.001, fillStyle: "#444", hover: { fillStyle: '#222' }, mouseDown: { lineWidth: 4, strokeStyle: "red" } },
The above converts the user name of the contributor (from OSM) to a hex string useable as a color. So what you see is something like this:
http://cartagen.org/?gss=http://unterbahn.com/cartagen/style.gss
To trigger a JavaScript call on hover or mouseDown, nest an action property in the event’s style definition, like so:
building: { lineWidth: 0.001, fillStyle: "#444", hover: { fillStyle: '#222', action: function() { // javascript code goes here console.log('hover!') } }, mouseDown: { lineWidth: 4, strokeStyle: "red" } },
Cartagen’s context menus are controlled entirely by GSS. To create items that are always available, add then to the body style, like this:
body: { menu: { "My menu item": function() {alert('a message')}, "My other item": function() {alert('another message')} } }
The function associated with the menu item can contain any valid Javascript.
Context menus may also be applied to specific features, like other GSS styles.
building: { menu: { "Show the name": function(){alert(this.tags.get('name'))} } }
Note that the “this” keyword in the function associated with the menu item refers to the feature that the context menu was invoked upon.
Colors are handled the same way as in CSS. There are four formats:
A color name, like “blue” or “red”. A fill list is at w3schools.
A hex string that specifies red, green, and blue values in base 16, like #1a44bf or #3db.
An rgb definition that specifies red, green, and blue values out of 255, like rgb(10, 100, 255).
An rgba definiton, which works like an rgb definition, but also has an alpha (opacity) value between 0 and 1. 1 is fully opaque, 0 is fully transparent. For example, rgba(255, 0, 0, 0.5) is half-transparent red.
In the below reference, “Color” refers to a string in one of the above formats.
Here’s a list of all the GSS properties and what they do:
The color a closed way is filled with.
Type: Color
Default: Transparent
The pattern to fill a closed way with. Overrides fillStyle.
Type: String - path to the image
Default: No pattern
The color of an unclosed way, or the border of a closed way.
Type: Color
Default: Black
The opacity of the feature. 1 is fully opaque, 0 is fully transparent. To control the opacity of individual parts of a feature (e.g. just the fill, or just the stroke), use an rgba color definition (see above) for that part.
Type: Number - between 0 and 1, inclusive
Default: 1
The width, in pixels, of an unclosed way, or the width of the border of a closed way.
Type: Number - non-negative integer
Default: 6
The color of the outline of a way.
Type: Color
Default: No outline
The width of the outline of a way.
Type: Number - non-negative integer
Default: No outline
The radius, in pixels, of a node.
Type: Number - non-negative integer
Default: 6
The image to draw at the center of a way. Should be the path to the image.
Type: String - path to the image
Default: No pattern
Text to display as the label of a way.
Type: String
Default: No label
Color to draw label text in.
Type: Color
Default: #eee
Size, in points, of the label text.
Type: Number - non-negative integer
Default: 11
Whether the label should scale with the zoom level.
Type: Boolean
Default: false
Background color to draw behind label.
Type: Color Default: No background
/)###
Angle, in radians, to rotate the label by. Set to “fixed” to force label to not rotate with map in . Note that unclosed ways’ labels are automatically rotate to align with the way.
Type: Boolean or String
Default: 0


Keep track, stay sharp
Are (Polish) programmers lazy?
They don't want to do extra hours, stay late, etc.
They aren't!
They do care about what they do.
A tired programmer can create up to 43% more problems in the source code.
The problems that have to be fixed on the very next day.
Or they will haunt you as technical debt.
Are you able to show that to
the Business?
You could hook up multiple code analyzers to catch the
current
codebase issues.
But is this enough to evaluate the state of your project?
What about:
- historical insights
- types of problems
- development trends
- code stability
- project size
- and many more?
We will back you up with data!
Coditsu gives you:
More than 50 key project metrics.
All the top open-source quality tools.
Authors and organization context.
So that you don't have to take care of that on your own.
Maintaining a basic set of quality tools for a
single
web-application will cost:
- 480 work minutes per month per project
- $240 per month per project
By providing Quality as a Service, Coditsu will reduce those costs:
- by 99% (down to 5 work minutes) per project
- by 80% (down to $50) per month per project
Quality software market in 2015
Market size: USD 5.96 billion
IT and Telecom: USD 535 million
http://www.grandviewresearch.com/industry-analysis/quality-management-software-market
http://www.idc.com/getdoc.jsp?containerId=US40915816
Software quality trends
http://www.grandviewresearch.com/industry-analysis/quality-management-software-market
http://www.idc.com/getdoc.jsp?containerId=US40915816
You need to care about quality, if:
- You own a software product
- You are a senior developer
- You are a project manager
Let us help you get there!
Business model:
$50 per project + $20 per each active programmer
Team:
- 2 x Ruby and Rails Ninja Developers
- 1 x UI designer
- 1 x Technical Writer


LynxJS
Viewport
Your browser doesn't support canvas games! Download a cooler browser if you want to play this game!
Console


home
products
about
1
rest, relax, unwind
Embrace your choices - we do
show now
/
featured
loading...
all products


In this website we provide you with an Analysis test which may help you predict you future smoking behaviour.
We used Four various algorithms and among them , the best is choosen to predict the behaviour.List of the algorithms
- Random forest classifier
- Gradient Boosting algorithm
- Decision Tree classifier
- Gaussian Naive Baye's classifier


{{message}}
here is v-if. If loading==false then this div was not loaded in html source
here is v-show. If loading==false then this div's style was been set to 'display:none;' in html source
Ok!
Well!


Datepicker
Create a toggleable dropdown with an datepicker.
Usage
To create a datepicker, just add the data-uk-datepicker
attribute to an <input>
element. You also have the possibility of customizing the date format. Just add the format option to the data-uk-datepicker
attribute.
The datepicker detects whether the JavaScript from the Form select component is being loaded. This allows you to quickly toggle between years and months through a select form inside the datepicker.
Example
Markup
<form class="uk-form">
<input type="text" data-uk-datepicker="{format:'DD.MM.YYYY'}">
</form>
JavaScript options
This is an example of how to set options via attribute:
data-uk-datepicker="{weekstart:0, format:'DD.MM.YYYY'}"
| Option | Possible value | Default | Description |
|---|---|---|---|
weekstart |
integer (0..6) | 1 | Start of the week |
i18n |
JSON object | { months:['January',...], weekdays:['Sun',..,'Sat'] } | Language string definitions |
format |
any combination of DD, MM and YYYY | 'YYYY-MM-DD' | Date format string |
offsettop |
integer | 5 | Offset to the input value |
minDate |
bool (false to ignore the option) string (date as in format )integer (offset in days from current date) |
false | Min. date |
maxDate |
bool (false to ignore the option) string (date as in format )integer (offset in days from current date) |
false | Max. date |
pos |
'auto', 'top', 'bottom' | 'auto' | Position of the datepicker |
Init element manually
var datepicker = UIkit.datepicker(element, { /* options */ });
Events
| Name | Parameter | Description |
|---|---|---|
show.uk.datepicker |
event | On datepicker dropdown show |
hide.uk.datepicker |
event | On datepicker dropdown hide |
update.uk.datepicker |
event | On calendar rendering |


Automated Farming machine
with IOT!
Switch: {{ switch }}
MACHINE
MACHINE ON
MACHINE OFF
Video Streaming Demonstration
Video Streaming Demonstration
Manual
Control
Automated Farming machine
🢁🢁
Forward
🢀🢀Left
Right 🢂🢂
Backward
🢃🢃


India is my country
And all Indians are my brothers and sisters.
I love my country,
and I am proud of its rich and varied heritage.
I shall always strive
to be worthy of it.
I shall give respect to my parents, teachers and all elders.
and treat everyone with courtesy.
To my country and my people,
I pledge my devotion.
In their well being and prosperity alone,
lies my happiness. jai hind.