Skip to content

Instantly share code, notes, and snippets.

@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 / 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
@skseth
skseth / PropMain.java
Created March 9, 2019 08:43
Java CompositeConfiguration usage
package test;
import org.apache.commons.configuration.CompositeConfiguration;
import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.commons.configuration.BaseConfiguration;
import java.util.Iterator;
class PropMain {
package main
import (
"bufio"
"fmt"
"io"
"os"
"syscall"
)