Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Juan Herrera jdjuan

🎯
Focusing
Block or report user

Report or block jdjuan

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
@cfjedimaster
cfjedimaster / gist:ee4a2fd935318e29bd5364d71ea221c1
Last active Aug 21, 2018
Bookmarklet to gray scale images w/o alt.
View gist:ee4a2fd935318e29bd5364d71ea221c1
javascript:(function(){
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = "img[alt=\"\"],img:not([alt]){ filter:grayscale(100%) }";
document.body.appendChild(css);
})();
@ltciro
ltciro / Observable_in_vanillaJS.md
Last active Jan 19, 2018
simulate pattern observable in vanilla JS
View Observable_in_vanillaJS.md

Rxjs

const next = (message)=> console.log("First observer message: " + message);
const error = (error) => console.log("Second observer error: " + error);
const complete = () => console.log("complete");

const next1 = (message)=> console.log("First observer message 1: " + message);
const error1 = (error) => console.log("Second observer error 1: " + error);
const complete1 = () => console.log("complete 1");
@jdnichollsc
jdnichollsc / app.js
Last active May 8, 2017
Ionic Google OAuth Authentication, Firebase 3 and (ngCordovaOauth plugin or cordova-plugin-googleplus)
View app.js
angular.module('App', ['ionic', 'ngCordova', 'ngAnimate', 'ngCordovaOauth', 'firebase'])
.run(['$ionicPlatform',
'$rootScope',
'$firebaseAuth',
function($ionicPlatform, $rootScope, $firebaseAuth) {
$ionicPlatform.ready(function() {
if(window.cordova && window.cordova.plugins.Keyboard) {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
@btroncone
btroncone / ngrxintro.md
Last active Jun 27, 2019
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series
View ngrxintro.md

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@digitaljhelms
digitaljhelms / gist:4287848
Last active Jun 27, 2019
Git/GitHub branching standards & conventions
View gist:4287848

Branching

Quick Legend

Instance Branch Description, Instructions, Notes
You can’t perform that action at this time.