Skip to content

Instantly share code, notes, and snippets.

@skseth
skseth / servers.md
Last active May 16, 2022 07:36
Setup Docker, Postgres, Redis and NSQ on Mac

#Postgres

##Create Postgres Dockerfile

#create fresh postgres image  
docker build -t postgres .
@skseth
skseth / findingstuff.md
Last active August 29, 2015 14:13
finding stuff
#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 August 29, 2015 14:13
setting up profiles, terminal, virtualbox, docker, sublime text, github, go etc.
@skseth
skseth / finders.md
Last active August 29, 2015 14:13
finding stuff

##find ignored files in directory

git clean -n -X

##... delete them

git clean -X
@skseth
skseth / programming101.md
Last active August 29, 2015 14:14
What Every Programmer Must Know
@skseth
skseth / osx_setup.md
Last active January 13, 2021 07:05
os x setup

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

@skseth
skseth / local_cloud.md
Last active November 8, 2015 09:27
local cloud
@skseth
skseth / fuzeinv
Created November 12, 2015 07:26
fuzemeeting note
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
@skseth
skseth / gist:477d46a0bf835692a35979ccaaa3a785
Created September 29, 2018 18:33 — forked from proger/gist:1877247
oneway git->svn sync
#!/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