Skip to content

Instantly share code, notes, and snippets.

Avatar

Julie Ann Horvath nrrrdcore

  • Apple
  • San Jose, CA
View GitHub Profile
@minamarkham
minamarkham / emoji.js
Created Oct 28, 2015
Add emojis to URL
View emoji.js
function emoji() {
if (navigator.userAgent.indexOf('Mac OS X') != -1) {
window.location.hash = "💋";
}
};
emoji();
// only works on Macs 😞
@daneden
daneden / Readme.md
Last active Apr 12, 2016
Aspirational Dropbox SCSS Guidelines (Draft)
View Readme.md
View nodejs_resource.markdown

Node.js Resources

What is node.js?

Node.js is just JavaScript running on the server side. That's it. That's all there is to it.

Express

  • Express Docs, if you want to get started and already know JavaScript this is the place to be
@maxogden
maxogden / blink-led.js
Last active Jan 23, 2017
raspberry pi scripts
View blink-led.js
@janl
janl / gist:3110170
Created Jul 14, 2012
CoUp Coffee Chemex Guide
View gist:3110170

Chemex Quick Guide

Not this is rocket sience :)

Water

Fill the water heater with a finger more than 1 liter of water. Set it on its power-base, hit the button that’s all the way out on the handle. This starts the heating process. Now hit the “minus” (“-”) button so you see a red light on the 90° marker. Let it heat up. In the meantime:

Beans

@stevenh512
stevenh512 / apple-shadow.css
Created May 18, 2012 — forked from nrrrdcore/apple-shadow.css
Bending Shadows Backwards: Apple.com's Container CSS Sorcery
View apple-shadow.css
.shadow-stuff {
-moz-border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
-webkit-border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
border-radius: 0% 0% 100% 100% / 0% 0% 8px 8px;
-moz-box-shadow: rgba(0,0,0,.30) 0 2px 3px;
-webkit-box-shadow: rgba(0,0,0,.30) 0 2px 3px;
box-shadow: rgba(0,0,0,.30) 0 2px 3px;
}
.container {
View compass-flags.scss
@mixin ribbon($color, $ribbon-thickness, $notch-color, $notch-side) {
@include background-image(linear-gradient(lighten($color, 20%), darken($color, 10%)));
@include inline-block;
position: absolute;
padding-#{$notch-side}: $ribbon-thickness;
@if $notch-side == left {
height: $ribbon-thickness;
line-height: $ribbon-thickness;
right: -2px;
padding-right: 10px;
@Indamix
Indamix / gist:2226290
Created Mar 28, 2012
css 3d bended shadow
View gist:2226290
.bended-shadow {position:relative}
.bended-shadow::before, .bended-shadow::after {
content: '';
position: absolute;
width: 60%;
height: 20px;
-webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
-ms-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
@kagemusha
kagemusha / gist:1559115
Created Jan 4, 2012
jQuery UI Tabs - Basic Setup (Haml,Coffeescript)
View gist:1559115
Tested on: jquery-ui-1.8.16
To set up, need:
1) an HTML div enclosing the tabs (as a ul) and pages,
2) Javascript initialization function $("..").tabs({options})
HTML:
- consists of enclosing div, a %ul which has links to pages, and tab pages as divs
- link hrefs correspond to tab page ids
@lucasfais
lucasfais / gist:1207002
Created Sep 9, 2011
Sublime Text 2 - Useful Shortcuts
View gist:1207002

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt