Colors of social brands is [here][2]
Facebook Share
http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwebsite.com&t=url%20encoded%20text
Facebook Like Button
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwebsite.com
| #!/bin/sh | |
| # 初期設定 | |
| WORK=$HOME/Builds/build-essential | |
| PREFIX=$HOME/local | |
| export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
| # ソースコードのダウンロード | |
| if [ ! -d $WORK/src ] ; then | |
| mkdir src |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| /** | |
| * A function to take a string written in dot notation style, and use it to | |
| * find a nested object property inside of an object. | |
| * | |
| * Useful in a plugin or module that accepts a JSON array of objects, but | |
| * you want to let the user specify where to find various bits of data | |
| * inside of each custom object instead of forcing a standardized | |
| * property list. | |
| * | |
| * @param String nested A dot notation style parameter reference (ie "urls.small") |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| (function($, undefined) { | |
| // Shorthand to make it a little easier to call public laravel functions from within laravel.js | |
| var laravel; | |
| $.laravel = laravel = { | |
| // Link elements bound by jquery-ujs | |
| linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]', | |
| // Select elements bound by jquery-ujs | |
| inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]', |
| <html> | |
| <head> | |
| <style> | |
| span.cursor { | |
| -webkit-animation: blink 2s steps(1) infinite; | |
| -moz-animation: blink 2s steps(1) infinite; | |
| -ms-animation: blink 2s steps(1) infinite; | |
| -o-animation: blink 2s steps(1) infinite; | |
| animation: blink 2s steps(1) infinite; | |
| } |
Opera:
[Docs for > Opera 9.5 ][1]
doesnotexist:-o-prefocus, .example {
/*The following will apply rules to 'example' class in Opera only.*/
}
Firefox:
| server { | |
| listen 80; | |
| server_name domain.com; | |
| location / { | |
| proxy_pass http://mystream; | |
| proxy_set_header Host $http_host; | |
| } | |
| } |
I have following object:
var cities={10:'Tashkent', 14:'Karakalpakiya', 16:'Andijan'};I want sort it by city names, so after sort it should be:
var cities={16:'Andijan', 14:'Karakalpakiya', 10:'Tashkent'};But I can't sort object properties, instead can convert object into array, then sort items.