Skip to content

Instantly share code, notes, and snippets.

View therako's full-sized avatar

Arun Kumar (AK) therako

  • Intuit
  • New York
View GitHub Profile
@therako
therako / .bash_profile
Last active January 2, 2020 12:07
My current bash_profile without secretes
MAILCHECK=0
# Workspace
WORKSPACE="$HOME/w"
alias w="cd ${WORKSPACE}"
export PATH="$PATH:$WORKSPACE/bin"
@therako
therako / GoSublimeUserSettings.json
Last active March 3, 2017 03:19
My sublime configs
{
"fmt_cmd": [
"goimports"
],
"env": {
"GOPATH": "$HOME/Code/go",
"PATH": "$GOPATH/bin:$PATH"
},
"comp_lint_enabled": true,
"comp_lint_commands": [
import time
import os
import csv
from datetime import datetime
from sqlalchemy import create_engine
from googleapiclient import discovery
from oauth2client.client import SignedJwtAssertionCredentials
from googleapiclient.http import MediaFileUpload
client_email = os.environ["BQ_CLIENT_EMAIL"]
@therako
therako / .vimrc
Last active October 20, 2017 13:00
My Full Vim config with all useful plugins
" enable syntax highlighting
syntax enable
" show line numbers
set number
" set tabs to have 4 spaces
set ts=4
" indent when moving to the next line while writing code
#!/usr/bin/python
import base64
import hashlib
result = base64.b64encode(hashlib.sha1("test").digest())
print result
@therako
therako / osx-for-hackers.sh
Created October 11, 2015 11:58 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@therako
therako / feature_flag.rb
Created September 13, 2015 05:34
Feature Toggle in Rails
class FeatureFlag
def self.allow_comments?
MomConfig['COMMENTS_SECTION_AVAILABLE'] == 'true'
end
end
@therako
therako / EpFgD.markdown
Last active August 29, 2015 14:01
A Pen by Arunkumar.

Modernizr - Trying box-shadow check

-- this will create box-shodow in supported browsers and normal border in others(like IE 8).

-- also added modernizr-min-custom.js is a custom contains very few checks including box-shadow.


A Pen by Arunkumar on CodePen.

@therako
therako / fxLjA.markdown
Last active August 29, 2015 14:01
A Pen by Arunkumar.