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 / linux_setup.md
Last active May 2, 2019
Setting up my linux machine
View linux_setup.md

Setup linux

Currently covering ubuntu 18.04 64 bit

Ins

View lock.go
package main
import (
"bufio"
"fmt"
"io"
"os"
"syscall"
)
@skseth
skseth / PropMain.java
Created Mar 9, 2019
Java CompositeConfiguration usage
View PropMain.java
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 {
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
@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 local_cloud.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

@skseth
skseth / programming101.md
Last active Aug 29, 2015
What Every Programmer Must Know
View programming101.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
You can’t perform that action at this time.