Skip to content

Instantly share code, notes, and snippets.

@zorawar87
zorawar87 / Delete all unmerged branches
Last active March 14, 2020 21:07
Delete unmerged, local-only git branches in a single repo
git branch --color=never --no-merged | xargs git branch -D
@zorawar87
zorawar87 / handle_args.c
Created February 11, 2018 01:00
Handling Command Line Args in C
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
//#include <curl/curl.h>
#define URL_BASE "http://someurl.cc/"
#define URL_1M URL_BASE "file_1M.bin"
#define URL_2M URL_BASE "file_2M.bin"
@zorawar87
zorawar87 / xjbFQJHx.txt
Created September 27, 2017 13:22
Bill Zeller
This is Google's cache of http://documents.from.bz/note.txt. It is a snapshot of the page as it appeared on Jan 31, 2011 18:11:15 GMT. The current page could have changed in the meantime.
Text-only version
I have the urge to declare my sanity and justify my actions, but I
assume I'll never be able to convince anyone that this was the right
decision. Maybe it's true that anyone who does this is insane by
definition, but I can at least explain my reasoning. I considered not
writing any of this because of how personal it is, but I like tying up
loose ends and don't want people to wonder why I did this. Since I've

Keybase proof

I hereby claim:

  • I am zorawar87 on github.
  • I am zorawar87 (https://keybase.io/zorawar87) on keybase.
  • I have a public key whose fingerprint is 1B9B E778 3E7A 0EB6 3D8B 226E 0E36 8E9F 403A F0A4

To claim this, I am signing this object:

using UnityEngine;
using System.Collections;
using Leap;
public class Instantiation : MonoBehaviour
{
public GameObject cube;
public int limiter = 5;
public float boxSeparation = 4f;
using UnityEngine;
using System.Collections;
using Leap;
public class Instantiation : MonoBehaviour {
//public Rigidbody projectile;
public GameObject projectile;
public int limiter=5;
public float boxSeparation =4f;
using UnityEngine;
using System.Collections;
using Leap;
public class Instantiation : MonoBehaviour {
//public Rigidbody projectile;
public GameObject projectile;
public int limiter=5;
Controller controller;
//Rigidbody clone;