Skip to content

Instantly share code, notes, and snippets.

Ido Sela idosela

  • Google
  • New York, NY
Block or report user

Report or block idosela

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
idosela / http-response-interceptor.js
Last active Jul 18, 2018
Sample code for ng-conf 2014
View http-response-interceptor.js
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) {
'$q', '$templateCache', 'activeProfile',
function($q, $templateCache, activeProfile) {
// Keep track which HTML templates have already been modified.
var modifiedTemplates = {};
// Tests if there are any keep/omit attributes.
var HAS_FLAGS_EXP = /data-(keep|omit)/;
idosela /
Created May 15, 2012
Convert svg to png file and optimize using pngcrush.
# Require:
# sudo apt-get install librsvg2-bin
# sudo apt-get install pngcrush
# Usage:
# sh input.svg output.png
rsvg-convert -o "$2" "$1"
idosela / angular-bc.js
Created Apr 13, 2012 — forked from vojtajina/angular-bc.js
Angular: BC module for scope/controller separation
View angular-bc.js
* @license AngularJS
* (c) 2010-2012 AngularJS
* License: MIT
* Backward compatibility module for AngularJS
* @author Vojta Jina <>
You can’t perform that action at this time.