Skip to content

Instantly share code, notes, and snippets.

View jasonsperske's full-sized avatar

Jason Sperske jasonsperske

View GitHub Profile
anonymous / my.css
Created May 20, 2015 23:48
CSS Gradient Animation
View my.css
background: linear-gradient(223deg, #00ffbd, #7d00ff, #ef583a);
background-size: 600% 600%;
-webkit-animation: Channel 42s ease infinite;
-moz-animation: Channel 42s ease infinite;
-o-animation: Channel 42s ease infinite;
animation: Channel 42s ease infinite;
@-webkit-keyframes Channel {
    0%{background-position:81% 0%}
    50%{background-position:20% 100%}
    100%{background-position:81% 0%}
kujohn /
Last active January 21, 2022 02:36
Port forwarding in Mavericks

Port Forwarding in Mavericks

Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file Create an anchor file under /etc/pf.anchors/<anchor file> with your redirection rule like:

anonymous / my-bootstrap.bat
Created April 23, 2012 15:01
twitter bootstrap compilation under windows
View my-bootstrap.bat
@echo off
rem 03.02.2012, setup of directories may vary
mkdir bootstrap\img
mkdir bootstrap\css
mkdir bootstrap\js
copy img\* bootstrap\img
node.exe f:\nodejs\node_modules\less\bin\lessc.js less\bootstrap.less > bootstrap\css\bootstrap.css
node.exe f:\nodejs\node_modules\less\bin\lessc.js -x less\bootstrap.less > bootstrap\css\bootstrap.min.css