Skip to content

Instantly share code, notes, and snippets.

View nrrrdcore's full-sized avatar

Julie Ann Horvath nrrrdcore

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

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
@max-mapper
max-mapper / blink-led.js
Last active April 13, 2022 20:30
raspberry pi scripts
@janl
janl / gist:3110170
Created July 14, 2012 09:23
CoUp Coffee Chemex Guide

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 22:16 — forked from nrrrdcore/apple-shadow.css
Bending Shadows Backwards: Apple.com's Container CSS Sorcery
.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 {
@michaelparenteau
michaelparenteau / compass-flags.scss
Created May 11, 2012 21:20
Compass Ribbon Mixin
@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 March 28, 2012 13:44
css 3d bended shadow
.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 January 4, 2012 08:36
jQuery UI Tabs - Basic Setup (Haml,Coffeescript)
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 September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

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