Skip to content

Instantly share code, notes, and snippets.

@tirams
tirams / Learning React Redux ES6 resources.md
Created March 8, 2017 22:55
Here are some resources I’ve used to learn react, redux and es6
⬜⬜⬜⬜⬜📈📜⬜⬜📜⛅⛅📜🌕🌔🌕😓🌔🌔📔🍞👼📔🚚🐻🌛🏡🙏🙇🚧🚧🍹🙇⭐🌛🙇🍶🐝🐝🔏🍲📚👒🌛👒👳📡📡⛺😹📔⛅🎂⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜🌁📜⬜⬜📜📜📜📜🌕🌔🌓😹😹🌓👼😱👼👼📻⭐⭐🏡🍦🌛🌛⭐🍦🍹🙇📢📢🐑🐝🐝💴📢🙇📚🐝👼👼📱📡👼🚚👼🌓🌕📜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜📜⬜⬜📜📜📈📜📜🌕🌔👳😰⛅🌓🍜🌓🌔🙈🙇🙇🙇⭐⭐🍦⭐🌛🍹🍹🍹🙇📢🍶🐑💴🐑🙇🙇🙇🐝👼🍲🐑📚📚📚📚🐝🐝🌓🎂📈⬜⬜⬜⬜⬜
⬜⬜📜📈📜⬜📜📜📜📜📜🌕🌔😱😱⛅⛅🌓🌔😹🚚🍶🙇🙇🙏🙏🏡🚧🍦🙇🙇🙇📢📢🍹🍶🐝🍶🙏🚧🏡🙇🍶🐝📚🙇👒🏡🏡🍹🙇📢📡💸🎂🌁⬜⬜⬜⬜
⬜⬜📜📜📜📜🌕😤👪📜🌕🌔🌓😱🌔🌔🌔👳😹🚚🍶📢🙇🌛🚧🍭🏡⭐👒📢📚🙇🙇🍱🍹🙇🍶🍹🏡💫🙇📢📢🐝📢👒🚧🌿💫🚧🎊🙇🍲🌓😹🎂🌁⬜⬜⬜
⬜⬜😤🌕🎂🌕🌕📜👪🌕🌕👳👼🌔🌕🌔🌓🍞👑🍦🙇🌛🐥🐥🐥🐥🚧🌛📢🙇🍭🚧🍭🍱🍦🌛🌛🏡🚧🌛👒📢📢🐝🔏📢🌿🎄🐡📟🛀🙏📢👳😹🌔📜⬜⬜⬜
⬜⬜⛅⛅📩🎂🌕📜🌕🌕🌕👳🌔🌕🌕😹👼😱📻🍹🚧🐥🐥🚧🚧🐥⭐🐥⭐🚧🏡🏡🍹🍶🍦🍹🚧🏡🐵🙇📢🐝🚌👼🔏📢🎍🎄🎍🍬🐧🐘🙇👼👼🌔🌕📝⬜⬜
⬜📈⛅📩⛅⛅🌕🌕🌕🌕🌔🌔📜📜🌔😹👼🐝⭐⭐🌛🌛🏡🚧🚧🚧🚧🚧🚧💫📺🍹🍶🌛⭐🙏🍹🍹🍹🐑🔏🚌👼👳👼🍮🐧🎼🎓🎓🔪🔎🙏👼👼👼🌓🎂🌁⬜
⬜📝⚾😰🌔🌓🌔🌔🌕🌔😹🌕😤🌕🌔😹👒🍹🌛🌛🐥🚧🚧🚧🚧🚧🚧🚧🚧⭐🌛🌛👒🚧🌛📢🙇⭐🍹🍮🐝🚌👳😹🚌🔏🎏🎓🔝🔝🎓🍢🚧🍶🐝🙇👼🎂🌁⬜
📜⛅🍨📡👼👼😹🌓⛅⛅🌕👪👪🌕🌓👒👒📻👒🌛🚧💫🚧🐥🚧🚧🐥🌛🌛👋👑🌛🌛🌛⭐🍹🏡⭐🌛🍶🌛👑📻👼👼🙈🚧👢🔫🎼🎼🎓🐺👒👒🙇👒⛅📈⬜
module['exports'] = function apps (hook) {
var apps = [
{
"id": "0c4aq6aaaaab",
"name": "Neoptu",
"lastAccessed": null,
"dateFormat": "MM-dd-uuuu",
"timeZone": "America/Los_Angeles",
"firstDayOfWeek": 1,
"tables": [
@tirams
tirams / index.html
Last active August 29, 2015 14:17
Angular Demo// source http://jsbin.com/noquci
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.js"></script>
<meta charset=utf-8 />
<title>Angular Demo</title></head>
<body ng-app>
<h1>Angular.JS Simple Markup Demo</h1>
<div id='cons'>
@tirams
tirams / clearables
Created July 26, 2012 23:56
jQuery plugin to auto show button to clear input field
/*
jQuery plugin that sets up input fields with styling and a 'dismiss' icon.
any input elements with clearable class get an icon that shows when there is data in the input
clicking the icon clears the input and triggers a 'cleared' event and sets focus to input
*/
;(function ($, window, document, undefined) {
var pluginName = 'setupClearables', defaults = {};
function updateClearButton(x)
{
@tirams
tirams / colorParents.js
Created July 13, 2012 13:50
jquery snippet to dump position info and outline with color borders an element and its parents
//*debug layout *//
function randomColor() {
return '#' + Math.floor(Math.random() * 16777215).toString(16);
}
//The .offset() the current position of an element relative to the document
function colorParents(startelt, on) {
@tirams
tirams / profileJavascript.snippet
Created February 29, 2012 15:23
add timing to a js page to test performance
// with jQuery on the page do the nezt line in the debugger to include the timer scripts
jQuery.getScript("http://remysharp.com/time.packed.js")
time.func(funcname);
time.stop('nameforeport')
time.start('nameforreport')
//----------------------- DOC ----------------
// see http://remysharp.com/2007/04/20/performance-profiling-javascript/
Synxtax
@tirams
tirams / gist:1834006
Created February 15, 2012 07:18 — forked from joneath/gist:1680082
Basic Backbone View Jasmine Test
describe("NotesView", function() {
beforeEach(function() {
var notes = new NotesCollection();
spyOn(notes, "fetch");
var view = new NotesView({collection: notes});
});
describe("#initialize", function() {
it("should fetch the notes", function() {
@tirams
tirams / twipsy-view.js
Created February 15, 2012 07:16 — forked from oroce/twipsy-view.js
Twitter Bootstrap Backbone.View
var TwipsyView = Backbone.View.extend({
tagName: "div",
className: "twipsy fade",
events: {
"mouseenter": "show",
"mouseleave": "hide"
},
options: {
enabled: true,
title: "twipsyView",
@tirams
tirams / preloadImages
Created February 15, 2012 07:04
jQuery plugin to preload images
// Usage: $(['img1.jpg','img2.jpg']).preloadImages(function(){ ... });
// Callback function gets called after all images are preloaded
$.fn.preloadImages = function (callback)
{
// Helper function, used below.
// Usage: ['img1.jpg','img2.jpg'].remove('img1.jpg');
var checklist = this.toArray();
var removeImg = function (element)
{