Skip to content

Instantly share code, notes, and snippets.

Avatar

Saket Choudhary saketkc

View GitHub Profile
@saketkc
saketkc / wedding_ivr.php
Created Apr 13, 2012 — forked from kookoolib/wedding_ivr.php
KooKoo Wedding IVR
View wedding_ivr.php
<?php
session_start();
require_once("response.php");//response.php is the kookoo xml preparation class file
$r = new Response();
$r->setFiller("yes");
$recore_wav="update";
if(isset ($_REQUEST['event']) && $_REQUEST['event']== "NewCall" )
{
$_SESSION['caller_number']=$_REQUEST['cid'];
$_SESSION['kookoo_number']=$_REQUEST['called_number'];
@saketkc
saketkc / FileUpload.java
Created May 14, 2012
FileUpload Rest Service
View FileUpload.java
package com.starcamping.boundary.rest;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.UUID;
View getinsertsize.py
#!/usr/bin/env python
'''
Automatically estimate insert size of the paired-end reads for a given SAM/BAM file.
Usage: getinsertsize.py <SAM file> or samtools view <BAM file> | getinsertsize.py -
Author: Wei Li
'''
from __future__ import print_function
import sys;
@saketkc
saketkc / 0_reuse_code.js
Last active May 23, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console