Skip to content

Instantly share code, notes, and snippets.

View kingster's full-sized avatar
🏠
Working from home

Kinshuk Bairagi kingster

🏠
Working from home
View GitHub Profile
@zeuxisoo
zeuxisoo / gist:1008973
Created June 5, 2011 13:44
[Android] Create and Remove Desktop Shortcut

Create

private void addShortcut(){  
	Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
          
	// Shortcut name
	shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.app_name));  
	shortcut.putExtra("duplicate", false);	// Just create once
@madhur
madhur / miner.js
Created June 2, 2011 23:31
miner
function SocialMiner()
{
var verbose=true;
var profileArray=new Array();
this.tabUrl;
var that=this;
@matthewmccullough
matthewmccullough / git-deletealltags.bsh
Created April 1, 2011 20:29
Script to delete all tags both locally and remotely
for t in `git tag`
do
git push origin :$t
git tag -d $t
done