Skip to content

Instantly share code, notes, and snippets.

@maoizm
maoizm / InnerShadow-SVGFilter.xml
Last active November 10, 2016 18:55
Inner shadow SVG Filter for Illustrator CC 2014. Step 1: Effects > Document Raster Effect Settings... > Resolution: 300+ dpi; Anti-alias: ON, Preserve spot colors: ON, Step 2: Effects > SVG Filters > Apply SVG Filter > New (file icon) > Paste in the Gist & Save, Step 3: Select your object > Effect > SVG Filters > "InnerShadow" (Original source: h…
<filter id="InnerShadow">
<!-- Shadow Offset, don't make vals lower or you'll break it -->
<feOffset
dx='2'
dy='3'
/>
<!-- Shadow Blur -->
<feGaussianBlur
stdDeviation='1'
result='offset-blur'
@prabirshrestha
prabirshrestha / .bash_profile
Last active May 19, 2024 08:06
my terminal settings for windows
# curl -Lk https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.bash_profile -o ~/.bash_profile
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh # This loads NVM
export PATH="$HOME/.cargo/bin:$HOME/go/bin:$HOME/Library/Python/3.7/bin:$PATH"
export PATH="$HOME/.config/nvim/plugins/vim-themis/bin:$PATH"
stty -ixon
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
@dmglab
dmglab / git_bible.md
Last active March 9, 2024 02:59
how to git

Note: this is a summary of different git workflows putting together to a small git bible. references are in between the text


How to Branch

try to keep your hacking out of the master and create feature branches. the [feature-branch workflow][4] is a good median between noobs (i have no idea how to branch) and git veterans (let's do some rocket sience with git branches!). everybody get the idea!

Basic usage examples

@ChaseFlorell
ChaseFlorell / 01-Update-Windows.ps1
Last active December 12, 2019 16:58
Boxstarter Installation Scripts
# http://boxstarter.org/package/url?
#####################
# BEGIN CONFIGURATION
#####################
#region Initial Windows Config
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted
@cpbotha
cpbotha / README.md
Last active January 10, 2017 00:49
d3.js breathing drop shadows

Look ma, those drop shadows are breathing!

Your eyes want you to believe that the blocks are hovering up and down, when in fact only the drop shadow is being translated out and in again.

Follow me on https://twitter.com/cpbotha for even more fun, or see my other d3 blocks: http://bl.ocks.org/cpbotha

@mbostock
mbostock / .block
Last active March 1, 2024 06:07
The Gist to Clone All Gists
license: gpl-3.0
@hail2u
hail2u / twitter-bird.svg
Created June 6, 2012 20:39
SVG version of the new Twitter bird.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.