Skip to content

Instantly share code, notes, and snippets.

Prasanth Vaaheeswaran vprasanth

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am vprasanth on github.
  • I am vprasanth (https://keybase.io/vprasanth) on keybase.
  • I have a public key ASBhwov88hY2cc56hg19LfWWu5HKRTPpiJlfcugAvajcWgo

To claim this, I am signing this object:

@vprasanth
vprasanth / argh.md
Last active Sep 4, 2019
Getting the friggin linters working on Sublime
View argh.md

SublimeLinter.sublime-settings--User

{
  "debug": false,
  "paths": {
    "osx": ["~/.nvm/versions/node/v10.15.3/bin/"]
  },
  "linters": {
    "eslint": {
      "env": { "PATH": "~/.nvm/versions/node/v10.15.3/bin/" }
View semantic-commit-messages.md

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

View scroll.js
// iffe
(function() {
'use strict';
const nav = [
{
element: '#home-button',
target: '#scroll-to-home'
},
{
View .functions.sh
# my docker functions
dps () {
docker ps;
}
dstop () {
docker stop $1;
}
@vprasanth
vprasanth / cookie.js
Created Nov 11, 2015 — forked from ajagelund/cookie.js
MDN JavaScript cookie framework
View cookie.js
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@vprasanth
vprasanth / .jscsrc
Created Oct 15, 2015
Simple .jscsrc
View .jscsrc
{
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireParenthesesAroundIIFE": true,
"disallowMultipleSpaces": true,
"validateIndentation": 4,
"maximumLineLength": 120,
"requireCapitalizedConstructors": true,
"disallowEmptyBlocks": true,
"validateQuoteMarks": "'",
"validateLineBreaks": "LF",
View gulpfile.js
'use strict';
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var es = require('event-stream');
var del = require('del');
var sourcemaps = require('gulp-sourcemaps');
var browserSync = require('browser-sync');
var minifyHTML = require('gulp-minify-html');
You can’t perform that action at this time.