Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
CodeMyUI / index.jade
Created Oct 24, 2016
Stagger Text Animation - GSAP
View index.jade
span.color-1 H
span.color-2 e
span.color-3 l
span.color-4 l
span.color-1 o
span.color-2 &nbsp
span.color-2 Y
span.color-3 o
subfuzion /
Last active Sep 6, 2021
vim/neovim configuration

I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.

It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.

This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.

These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,

ankurk91 /
Last active Sep 15, 2021
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with
LauLaman /
Last active Sep 15, 2021
Use GPG to sign commits using git & PHPStorm

1 - install GPG tools :

2 - Create new key for your github email

3 - Add key to git on your local machine: git config --global user.signingkey YOURKEY

4 - configure git to sign all commits: git config --global commit.gpgsign true

5 - add to the bottom of ~/.gnupg/gpg.conf: (create the file if it not exists)

jshimko /
Last active Nov 24, 2020
Deploy Reaction Commerce on Digital Ocean with Nginx and a Let's Encrypt SSL certificate
# start a server on Digital Ocean
docker-machine create \
--driver digitalocean \
--digitalocean-access-token <YOUR API KEY> \
--digitalocean-size 2gb \
# tell Docker to run commands on that server
0xIslamTaha /
Last active Nov 3, 2016 — forked from jniltinho/
Install Golang on Linux
## Install Golang 1.6.2 64Bits on Linux (Debian|Ubuntu|OpenSUSE|CentOS)
## Run as root (sudo su)
## Thank's **Bruno Albuquerque bga at**

These examples are presented in an attempt to show how each coding styles attempts to or does not attempt to isolate side-effects. There are only 2 semantic elements in a barebone "Hello World" implementation:

  • Invocation of console.log
  • Declaration of HELLO_WORLD

Since every coding style can abstract away data into a parameter or variable, there is no point for us to show that. All implementations assume HELLO_WORLD is a constant that is always inlined. This way it reduces the variations we need to present. (To make an anology, if we were to implement incrementByOne, would we need to inline the number 1 or pass it in as parameter?)

CAVEAT/LIMITATION: All implementations also assume console is static global. In case of functional programming, console.log is asumed to be a function that can be passed around without further modification. (This is not the case in the browser, but that can be resolved with console.log.bind(console))


alopresto /
Last active Sep 10, 2021
Steps to enable GPG signing of git commits.

If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:

  1. Generate and add your key to GitHub
  2. $ git config --global commit.gpgsign true ([OPTIONAL] every commit will now be signed)
  3. $ git config --global user.signingkey ABCDEF01 (where ABCDEF01 is the fingerprint of the key to use)
  4. $ git config --global alias.logs "log --show-signature" (now available as $ git logs)
  5. $ git config --global alias.cis "commit -S" (optional if global signing is false)
  6. $ echo "Some content" >> example.txt
  7. $ git add example.txt
  8. $ git cis -m "This commit is signed by a GPG key." (regular commit will work if global signing is enabled)
nmai / iconMonster.js
Last active Sep 25, 2020 — forked from illmat/iconMonster.js
Downloads all SVG files. Works, but may take some time to complete. About 15% of the SVG icons cannot be retrieved through their previews so the script must download them individually.
View iconMonster.js
var casper = require('casper').create({
verbose: true,
logLevevel: 'debug',
pageSettings: {
webSecurityEnabled: false
var fs = require('fs');
var pages = [];
lopezjurip /
Created Sep 26, 2015
OSX Homebrew: docker-machine setup


Make sure you have installed Homebrew and (Homebrew-Cask)[].

# Install Homebrew
ruby -e "$(curl -fsSL"

# Install Homebrew-cask
brew install caskroom/cask/brew-cask