Skip to content

Instantly share code, notes, and snippets.

Jansen Price sumpygump

Block or report user

Report or block sumpygump

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kherge
kherge / README.md
Last active May 28, 2019
A simple semantic version manager for Git repositories.
View README.md

Git Releases

git-releases is a shell script that will manage semantic version numbers as tags for a Git repository.

Installation

  1. Copy git-releases to a directory in $PATH.
  2. Chmod git-releases to 755.
@gmccreight
gmccreight / master.vim
Last active Jul 21, 2019
A script that gives you a playground for mastering vim
View master.vim
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)
View remember.md

Remember

PHP

strpos(haystack, needle)
$leadingZero = sprintf("%02d", $string);
$currency = sprintf("%01.2f", $n);
error_reporting(E_ALL | E_STRICT); ini_set('display_errors', 1);

JavaScript

$(function() { ... }); // on pageload (jQuery)
You can’t perform that action at this time.