Skip to content

Instantly share code, notes, and snippets.

Samir Seth skseth

Block or report user

Report or block skseth

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
@skseth
skseth / servers.md
Last active Dec 6, 2019
Setup Docker, Postgres, Redis and NSQ on Mac
View servers.md

#Postgres

##Create Postgres Dockerfile

#create fresh postgres image  
docker build -t postgres .
@skseth
skseth / findingstuff.md
Last active Aug 29, 2015
finding stuff
View findingstuff.md
#all files changed today
find . -mtime 0

#all files in directory, or subdirectories whose names match a pattern
find . -name '*.go' 

#all files in directory whose names match a pattern and which have specific content
@skseth
skseth / profiles-and-base-setup.md
Last active Aug 29, 2015
setting up profiles, terminal, virtualbox, docker, sublime text, github, go etc.
View profiles-and-base-setup.md
@skseth
skseth / finders.md
Last active Aug 29, 2015
finding stuff
View finders.md

##find ignored files in directory

git clean -n -X

##... delete them

git clean -X
@skseth
skseth / programming101.md
Last active Aug 29, 2015
What Every Programmer Must Know
View programming101.md
View osx_setup.md

Setting up my OS X machine

First Things First

  • Enable FileVault (for encryption) - save recovery key in safe place
  • Sophos Anti-virus - update files
  • Office for Mac (if needed for project)

Setting Up a Profile

View local_cloud.md
@skseth
skseth / fuzeinv
Created Nov 12, 2015
fuzemeeting note
View fuzeinv
This is a Fuze Meeting. For the optimal Fuze experience, we suggest you download Fuze ( https://www.fuze.com/download ) before your meeting.
Meeting ID: <ID>
Join Online Meeting: http://fuze.me/<ID>
Join by phone:
Dial phone number and enter the Meeting ID when prompted
- US Toll: +1 201-479-4595
- India Toll Free : 0008004420042
View gist:477d46a0bf835692a35979ccaaa3a785
#!/bin/bash
SVN_HOST="https://svn/path/to/repo"
git checkout master
git pull --rebase
git config --local svn-remote.svn.url "${SVN_HOST}"
git config --local svn-remote.svn.fetch ":refs/remotes/git-svn"
git config --local svn.rmdir true
You can’t perform that action at this time.