Skip to content

Instantly share code, notes, and snippets.

View darekrossman's full-sized avatar

Darek Rossman darekrossman

View GitHub Profile
@ivomarino
ivomarino / momentum.sh
Last active April 24, 2018 18:42
momentum.sh - A simple script for allowing OSX users to use Momentum backgrounds
#!/bin/sh
#
# A simple script for allowing OSX users to use Momentum backgrounds found
# in this Chrome plugin https://chrome.google.com/webstore/detail/momentum/laookkfknpbbblfpciffpaejjkokdgca
# as Desktop backround.
#
# Quick one-liner installation and execution (requires wget on CLI):
#
# % wget -O ~/Pictures/momentum.sh https://gist.githubusercontent.com/ivomarino/b2ff5b26018d4f174629/raw/a91ee46e62968527f7908db2dea5b29d5708719e/momentum.sh && chmod +x ~/Pictures/momentum.sh && cd ~/Pictures && ./momentum.sh
@MoOx
MoOx / svgicon.css
Last active December 3, 2018 08:50
Svg icons with React.js with webpack loader (svg: raw-loader)
.SVGIcon {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* fix webkit/blink poor rendering issues */
transform: translate3d(0,0,0);
/* it's better defined directly because of the cascade shit
width: inherit;
height: inherit;
@gre
gre / easing.js
Last active September 9, 2024 03:53
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {