Skip to content

Instantly share code, notes, and snippets.

View zaybiz's full-sized avatar

Talimanguluka Kakia zaybiz

View GitHub Profile
{
"address": "",
"city": "Washington",
"country": "",
"description": "Please note that there will be a dance floor for this show and the front row of tables will be cleared out. Be advised that there may be some seated areas where vision of the stage may be obstructed.",
"end": "",
"image_url": "",
"is_scrap": "false",
"latitude": "38.897506",
"longitude": "-77.032139",
/* Sample JavaScript file added with ScriptTag resource.
This sample file is meant to teach best practices.
Your app will load jQuery if it's not defined.
Your app will load jQuery if jQuery is defined but is too old, e.g. < 1.7.
Your app does not change the definition of $ or jQuery outside the app.
Example: if a Shopify theme uses jQuery 1.4.2, both of these statements run in the console will still return '1.4.2'
once the app is installed, even if the app uses jQuery 1.9.1:
jQuery.fn.jquery => "1.4.2"
$.fn.jquery -> "1.4.2"
*/
@zaybiz
zaybiz / monitor.sh
Created November 29, 2012 00:03 — forked from vjt/monitor.sh
Web server tmux monitoring session
#!/bin/sh
#
# Starts a multiplexed terminal session with tmux running monitoring software.
# Requires dstat, htop and grc. The apache configuration for grc can be found
# here: https://gist.github.com/1885569
#
# My .tmux.conf is here instead: https://gist.github.com/1886016#file_3_tmux.conf
#
# tmux 1.7 or later recommended.
#
@zaybiz
zaybiz / gist:3758362
Created September 20, 2012 21:08
Spotify radio log to desktop
tell application "Spotify"
set _track to ""
try
repeat
if player state is not stopped then
if (_track is not equal to the spotify url of current track) then
set _track to the spotify url of current track
log _track
do shell script "echo " & _track & " >> $HOME/Desktop/spotify.txt"
end if