Skip to content

Instantly share code, notes, and snippets.

@gbajaj
gbajaj / hockeyapp-uploader.sh
Created July 30, 2017 08:19 — forked from adascal/hockeyapp-uploader.sh
HockeyApp's Command Line Uploader is a shell script to upload your IPA or APK files to HockeyApp for monitoring and distribution.
#!/bin/sh
# locations of various tools
CURL=curl
SERVER_ENDPOINT=https://rink.hockeyapp.net/api/2/
# Put your HockeyApp APP_TOKEN here. Find it in your HockeyApp account settings.
APP_TOKEN=""
package com.letsdecode.problems.recursion;
import java.util.ArrayList;
import java.util.List;
public class NQueeen {
int n;
boolean[][] a;
boolean truth[];
List<List<String>> list = new ArrayList<>();
package com.sjl.util;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import java.util.List;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
public class FragmentUtils {
/**
* @param frag
* The Fragment whose parent is to be found
* @param callbackInterface
* The interface class that the parent should implement
* @return The parent of frag that implements the callbackInterface or null
#!/bin/bash
f=$(pwd)
mkdir drawable-mdpi drawable-hdpi drawable-xhdpi drawable-xxhdpi
# fake argv and argc in bash
argc=$#; argv[0]=$0 # argv[0] is a prog name
for foo in $( seq $argc )
do
@gbajaj
gbajaj / dabblet.html
Created November 27, 2012 06:12
Untitled
@gbajaj
gbajaj / dabblet.html
Created November 27, 2012 06:06
Untitled
<!-- content to be placed inside <body>…</body> -->
@gbajaj
gbajaj / dabblet.html
Created November 26, 2012 21:48
Untitled
<ul id="menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>
@gbajaj
gbajaj / dabblet.html
Created November 26, 2012 20:31
Untitled
<ul id="menu">
<li><a href="#"> Home </a></li>
<li><a href="#"> About </a></li>
<li><a href="#"> Services </a></li>
<li><a href="#"> Portfolio </a></li>
<li><a href="#"> Contacts </a></li>
</ul>
@gbajaj
gbajaj / dabblet.html
Created November 26, 2012 20:29
Untitled
<a href="#" class="button"> Follow Me</a>