Skip to content

Instantly share code, notes, and snippets.

Ritesh Angural ringular

Block or report user

Report or block ringular

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View singapore-geojson.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View merchant.json
"id": 12345,
"name": "International Beer Company",
"status": 1, // Incomplete, Approved, Disabled, Rejected
"images": {
"banner": {
"url": "....",
"w": 600,
"h": 200
ringular / cabot_recover.js
Created Jun 13, 2014
Test recovery for cabot
View cabot_recover.js
consol.log('hello world');
ringular / .chef_profile
Created Jan 23, 2014
bash aliases for knife
View .chef_profile
alias kb="knife bootstrap"
# alias k="knife bootstrap windows ssh FQDN
# alias k="knife bootstrap windows winrm FQDN
alias kbdc="knife client bulk delete"
alias kcc="knife client create --editor /usr/bin/sublime"
alias kdc="knife client delete"
alias kec="knife client edit"
ringular / mobile_app_redirect.js
Created Dec 16, 2013
Mobile app protocol redirect
View mobile_app_redirect.js
var url;
var app_protocol = "YOUR_APP_PROTOCOL_HERE:/"
var app_path = window.location.pathname
if (/Android/i.test(navigator.userAgent)) {
if (/iPhone/i.test(navigator.userAgent)) {
You can’t perform that action at this time.