create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
// Core assets | |
let coreAssets = []; | |
// On install, cache core assets | |
self.addEventListener('install', function (event) { | |
// Cache core assets | |
event.waitUntil(caches.open(coreID).then(function (cache) { | |
for (let asset of coreAssets) { | |
cache.add(new Request(asset)); |
/* | |
* Extends native promises with deferred objects. | |
* Deferreds return an object that has a <promise>, which could be resolved via | |
* the included <resolve> and <reject> calls. | |
*/ | |
if (Promise && !("deferred" in Promise)) Promise.deferred = function() { | |
var fResolve, | |
fReject, | |
P = new Promise(function(resolve, reject) { | |
fResolve = resolve; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
/* Android stock browser won't let you set font-size smaller than 8px unless you apply this. */ | |
:root { | |
-webkit-text-size-adjust: none; | |
-moz-text-size-adjust: none; | |
-ms-text-size-adjust: none; | |
-o-text-size-adjust: none; | |
text-size-adjust: none; | |
} |
/* Image interpolation demo | |
WebKit-only at the time (April 2012) | |
*/ | |
@keyframes browsers { | |
20% { background-image: url('http://lea.verou.me/css-4d/img/chrome-logo.png'); } | |
40% { background-image: url('http://lea.verou.me/css-4d/img/safari-logo.png'); } | |
60% { background-image: url('http://lea.verou.me/css-4d/img/opera-logo.png'); } | |
80% { background-image: url('http://lea.verou.me/css-4d/img/ie-logo.png'); } | |
} |
function getPhoto() { | |
navigator.camera.getPicture(onPhotoSuccess, onPhotoFail, | |
{quality: 70, targetWidth: 500, targetHeight: 500, | |
sourceType: navigator.camera.SourceType.PHOTOLIBRARY, | |
destinationType: navigator.camera.DestinationType.FILE_URI, | |
}); | |
} | |
function onPhotoSuccess(imageUri) { | |
var $img = $('<img/>'); |
<?php | |
/** | |
* @file | |
* Helper class for encoding images as Base64. | |
* Has support for the Drupal module ImageCache, just provide it with your | |
* preset name if you'd like the class to use that version of an image instead. | |
* Is by no means dependent on Drupal though. Just a nice feature. | |
* Feel free to use it as you like. | |
* | |
* @author Simon Ljungberg <[email protected]> |
// Simple debug output helper | |
function debug(message) { | |
Ti.API.info(message); | |
} | |
/** | |
* | |
* @param thisControl The control you wish to dump | |
* @param goDeep boolean Do you want deep introspection | |
* @param incFuncs boolean Do you want to include functions in the output when going deep |
<?php | |
// CONFIG | |
$access_token = ''; | |
$profile_ids = ''; | |
$limit = 1; | |
$urls = array( | |
'http://feeds.feedburner.com/betabeersjobs', |