Skip to content

Instantly share code, notes, and snippets.

http://learn.ustwo.com/sketch-resources
http://weekplan.net/wp-content/uploads/2014/08/Getting-First-Things-Done.pdf
https://github.com/sindresorhus/pageres
http://blogs.atlassian.com/2014/08/jira-6-3-untangle-development/
http://www.timeful.com/
http://flexible.gs/
http://zurb.com/university
https://cdnify.com/blog/top-10-gulp-tasks-for-optimising-front-end-performance/
http://csswizardry.com/2014/08/advice-to-budding-front-end-developers/
https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins
@oliverbenns
oliverbenns / console-log.sublime-snippet
Last active August 29, 2015 14:17
Console Log Sublime Text 3 Snippet. Allows the logged value to have the stringified version before it.
<snippet>
<content><![CDATA[console.log('$1', $1);]]></content>
<tabTrigger>log</tabTrigger>
<scope>text.html,source.js</scope>
<description>console.log()</description>
</snippet>
@ckampfe
ckampfe / lingos.md
Created July 23, 2014 04:12
Languages

Languages

Early Languages (1960s and earlier)

  • COBOL: Probably the first language that looked "human readable". Invented with "business" in mind, ie, banks, corporations, etc. Still in use at many financial places as their installations are huge and would be expensive to replace/rewrite. COBOL programmers are very hard to find and very expensive.

  • Fortran: Developed at IBM in the 1950s, still incredibly popular today for economics calculations, math, finance, etc. Popular in academia for this reason.

  • C: Massively influential. probably the most famous programming language. Invented at Bell Labs in the 60s. Still in incredibly wide use for such applications as operating systems, microcontrollers, or anything where speed is a necessary. Very fast, but easy to write buggy code. Runs on almost any hardware ever made. It's syntax and idioms live on in Java, JavaScript, C#, C++

Middle-aged languages (1970s & 1980s)

@stereobooster
stereobooster / embed
Created April 10, 2011 18:13
share buttons snippet
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=ru&amp;ie=UTF8&amp;output=embed&amp;q={address}"></iframe>
@samme
samme / phaser-sprite-lifecycle.md
Last active September 2, 2017 10:30
Phaser Sprite Lifecycle
alive exists fresh health renderable visible
sprite.exists = false
sprite.exists = true ✔️ ✔️
sprite.kill()
sprite.revive(…) ✔️ ✔️ 1* ✔️
sprite.reset(…) ✔️ ✔️ ✔️ 1* ✔️ ✔️
group.create(…) ✔️* ✔️* ✔️*
group.createMultiple(…) ❌* ❌* ❌*
group.resetChild(…, x, y) ✔️ ✔️ ✔️ 1 ✔️ ✔️
@vincentaudebert
vincentaudebert / SegmentedControl.js
Created October 31, 2016 22:50
Radio Buttons renderer
import React, { PropTypes } from 'react';
const SegmentedControl = ({ input, disabled, heading, required, className, items, name, meta: { touched, error } }) => (
<fieldset className={`form__field ${className || ''}`}>
<legend className="form__label">
{heading}{required ? (<span>*</span>) : null}
{ (touched && error) ? (
<span className="form__error"> {error}</span>
) : null }
@diogomoretti
diogomoretti / fonts.styl
Last active November 20, 2019 06:37
Stylus mixin @font-face
// Fonts mixin
font-url(file)
return '../fonts/' + file
webfont(family, file, hack-chrome-windows = false, weight = 'normal')
@font-face
font-family family
src url(font-url(file + '.eot'))
src url(font-url(file + '.eot?#iefix')) format('embedded-opentype'),
url(font-url(file + '.woff')) format('woff'),
@myguidingstar-zz
myguidingstar-zz / angular.min.js
Last active February 11, 2020 11:09
Custom radio and checkbox styles in angularjs http://plnkr.co/edit/gist:5469101?p=preview
/*
AngularJS v1.1.4
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
*/
(function(M,V,s){'use strict';function gc(){var b=M.angular;M.angular=hc;return b}function o(b,a,c){var d;if(b)if(I(b))for(d in b)d!="prototype"&&d!="length"&&d!="name"&&b.hasOwnProperty(d)&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==o)b.forEach(a,c);else if(!b||typeof b.length!=="number"?0:typeof b.hasOwnProperty!="function"&&typeof b.constructor!="function"||b instanceof P||ca&&b instanceof ca||Da.call(b)!=="[object Object]"||typeof b.callee==="function")for(d=0;d<b.length;d++)a.call(c,b[d],
d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function rb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function ic(b,a,c){for(var d=rb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function sb(b){return function(a,c){b(c,a)}}function Ea(){for(var b=Z.length,a;b;){b--;a=Z[b].charCodeAt(0);if(a==57)return Z[b]="A",Z.join("");if(a==90)Z[b]="0";else return Z[b]=String.fromCharCod
@gersande
gersande / unity3tutoriallist.md
Last active August 5, 2020 01:15
Unity Tutorial List for 2D Games
@Zirak
Zirak / gist:3086939
Last active August 27, 2022 22:01
xhr for dummies

So, you want to send a motherfucking XMLHttpRequest (XHR, or commonly and falsly known as AJAX.) Too bad, just ran out of motherfucking XMLHttpRequests; but I still have one regular. XHR is not magic. It does not autofuckinmagically send things the way you want them do be sent. It does not do the thinking for you. It just sends an Http Request.

You get a hold on such a prime beast like this: