Skip to content

Instantly share code, notes, and snippets.

Ohad osadan

Block or report user

Report or block osadan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@osadan
osadan / introrx.md
Created Jan 31, 2017 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
View feopsconf
// Visual regression
http://responsivenews.co.uk/post/56884056177/wraith
https://www.npmjs.org/package/grunt-photobox
http://cburgmer.github.io/csscritic/
https://github.com/Huddle/PhantomCSS
http://siteeffect.io/
// CSS test
http://csste.st/techniques/
View pgDebug.js
var safariDebug = ( navigator.platform.indexOf("iPhone") < 0 && navigator.platform.indexOf("iPod") < 0 && navigator.platform.indexOf("iPad") < 0 );
if(safariDebug)
{
PhoneGap.run_command = function()
{
if (!PhoneGap.available || !PhoneGap.queue.ready)
return;
View localStorageSync.js
// overriding sync to use local storage when possible
sync : function(method, model, options){
var key, now, timestamp, refresh;
if(method === 'read' && this.constants.isStoredInLocalStorage) {
// only override sync if it is a fetch('read') request
key = this.getKey();
if(key) {
now = new Date().getTime();
timestamp = $storage.get(key + ":timestamp");
refresh = options.forceRefresh;
You can’t perform that action at this time.