Skip to content

Instantly share code, notes, and snippets.

View ggamel's full-sized avatar
👁️
 👄  👁

Greg Gamel ggamel

👁️
 👄  👁
View GitHub Profile
@ggamel
ggamel / failed-yeoman.txt
Created September 10, 2012 19:12
output after mkdir -p ~/.yeoman
~ ⚡ mkdir -p ~/.yeoman
~ ⚡ sudo npm install -g yeoman
Password:
npm http GET https://registry.npmjs.org/yeoman
npm http 304 https://registry.npmjs.org/yeoman
> [email protected] uninstall /usr/local/share/npm/lib/node_modules/yeoman
> sudo rm -r ~/.yeoman
//
// Sass rotation mixin for IE6+
//
@mixin ms-rotate($degrees) {
@if (not unitless($degrees)) { $degrees: $degrees / 1deg }
$deg2rad: pi() * 2 / 360;
$radians: $degrees * $deg2rad;
$costheta: cos($radians);
$sintheta: sin($radians);
@ggamel
ggamel / gist:3879182
Created October 12, 2012 13:25 — forked from srobbin/gist:1979034
Intelligist Demo: Live JS
/*
We can even execute JavaScript.
For example, here is a simple jQuery plugin that shuffles the "Demo" heading text above.
http://tutorialzine.com/2011/09/shuffle-letters-effect-jquery/
*/
$("#demo-header").shuffleLetters();
@ggamel
ggamel / dabblet.css
Created November 6, 2012 21:33
Greg Gamel logo + red bg
/**
* Greg Gamel logo + red bg
*/
body { background: #e5e5e5; }
svg { background: black; height: 48px; width: 48px; }
@ggamel
ggamel / guilloche.js
Created December 4, 2012 19:43 — forked from 3n/guilloche.js
/*
---
name: guilloche
script: guilloche.js
description: guilloche
provides: [Guilloche]
...
*/
@ggamel
ggamel / dabblet.css
Created December 4, 2012 20:05 — forked from daneden/dabblet.css
Instagram
/**
* Instagram
*/
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
var svg = document.getElementById('graph'),
xml = new XMLSerializer().serializeToString(svg),
data = "data:image/svg+xml;base64," + btoa(xml),
img = new Image()
img.setAttribute('src', data)
document.body.appendChild(img)
@ggamel
ggamel / Rakefile
Created February 8, 2013 07:11 — forked from appleton/Rakefile
require 'pty'
CONFIG = {
:remote => {
:host => 'my.ssh-host.com',
:user => 'my-ssh-username',
:path => 'path-to/site/root'
},
:posts => 'local/posts/directory'
}
@ggamel
ggamel / README.md
Created February 8, 2013 15:32 — forked from chrisjacob/README.md

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result

user nginx nginx;
worker_processes 1;
error_log /var/log/nginx/error_log info;
events {
worker_connections 1024;
use epoll;
}