Skip to content

Instantly share code, notes, and snippets.

View itsbalamurali's full-sized avatar
🎯
Focusing

Balamurali Pandranki itsbalamurali

🎯
Focusing
View GitHub Profile
@itsbalamurali
itsbalamurali / client.coffee
Last active August 29, 2015 14:27 — forked from 2fours/client.coffee
piping form part stream directly to pkgcloud rackspace upload hangs
request = require 'request'
fs = require("fs")
baseUri = "http://localhost:8000"
r = request.post baseUri + "/images", (err, res, body) ->
if err
console.log err
form = r.form()
form.append "image", fs.createReadStream("testImage")

Use node to handle file upload

Edit
# https://gist.github.com/6159923.git
[email protected]:6159923.git

git clone $gist blip_upload
# OR
git remote add origin $gist

Use node to handle file upload

Edit
# https://gist.github.com/6159923.git
[email protected]:6159923.git

git clone $gist blip_upload
# OR
git remote add origin $gist
@itsbalamurali
itsbalamurali / List.md
Last active August 29, 2015 14:08 — forked from msurguy/List.md

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

<?php
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' );
$registrationIds = array( $_GET['id'] );
// prep the bundle
$msg = array
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>GCM Sender</title>
</head>
<body>
<h2>GCM Sender</h2>
<form method="POST" name="input" action="gcm_sender.php" />

Root

api.tiles.mapbox.com/v1/

Albums

api.tiles.mapbox.com/v1/albums.json
api.tiles.mapbox.com/v1/albums.jsonp
@itsbalamurali
itsbalamurali / 0_reuse_code.js
Created April 22, 2014 19:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/**
* Chat CSS
*
* @author Michael <[email protected]>
* @author Patrick <[email protected]>
* @copyright 2011 Amiado Group AG, All rights reserved.
* @copyright 2012, 2013 Patrick Stadler & Michael Weibel. All rights reserved.
*/
html, body {