Skip to content

Instantly share code, notes, and snippets.

@mheadd
mheadd / philly-locater.php
Created February 25, 2011 20:20
A Tropo scripting application that finds library locations in Philadelphia.
<?php
/**
* Find My Library - an IM and SMS application that finds library locations in Philadelphia.
*
* @copyright 2011 Mark J. Headd (http://www.voiceingov.org)
* @author Mark Headd
*
* Deploy this application on http://www.tropo.com
*/
@nesquena
nesquena / caveatPatchor.js
Created May 17, 2011 00:37
propane_extensions
/*
As of version 1.1.2, Propane will load and execute the contents of
~/Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.
@matiasfha
matiasfha / index.html
Created June 2, 2011 20:19
nodejs + thrift +socket.io + couchdb
<!DOCTYPE>
<html>
<head>
<title>Test</title>
</head>
<body>
<div id="mensajes">
Hola Mundo
@cyberhobo
cyberhobo / import-wpe-archive
Last active December 17, 2015 17:39
Beginnings at least of a shell script to refresh a local development WordPress site with the contents of a WPEngine archive. Uses [wp-cli](http://wp-cli.org).
#!/bin/bash
# exit on error
set -e
archive=$1
# one argument: the archive file
if [ ! -r "$archive" ]; then
echo "Usage: import-wpe-archive <zip-archive>"
@christophermoura
christophermoura / itunes-podcast-url-extractor.php
Created January 13, 2017 16:47
iTunes Podcast URL Extractor
<?php
/*
* Podcast URL Extractor
* implemented at http://itunes.so-nik.com
*
* All code has been re-written by lasavior.
* Original code & inspiration from Michael Sitarzewski, zerologic.com
*
* Ex: http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewPodcast?id=269238657
@prebenlm
prebenlm / .A how to display Irssi-hilights in OS X Notification Center.md
Last active August 12, 2019 08:54
Guide: how to make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier

Irssi in Mac OS X Notification Center

Mou icon

Overview

This guide will explain how you can make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier.

We will also explain how the process can be automatically started each time you log in to your Mac and ensure the connection to the server is kept alive.

@matthewtole
matthewtole / gcolor.js
Created February 26, 2015 23:39
GColor utilities for PebbleKit JS
/*
GColor
A small utility library for dealing with GColor in the new PebbleSDK.
----------------------
The MIT License (MIT)
Copyright © 2015 Matthew Tole
Permission is hereby granted, free of charge, to any person obtaining a copy
@jfeldstein
jfeldstein / get_campaigns.js
Created August 2, 2013 20:55
Persistent referrer and UTM campaign tracking for Segment.io
getReferrerTraits = function() {
// Requires: jQuery, jQuery.cookie, segment.io
// TODO: Update referralHost:blackList with your domain, so we only track external referrers.
var analytics_args = [],
analytics_traits,
acquisitionSource,
firstReferrer,
firstCampaign,
@niksumeiko
niksumeiko / git-checkout-their-remote-branch-ohmyzsh-alias.zsh
Last active November 10, 2021 06:29
Git checkout remote branch · ohmyzsh custom alias
# ~/.oh-my-zsh/custom/git-checkout-remote-branch-ohmyzsh-alias.zsh
unalias gcor
function gcor() {
if [ -n "$1" ]; then
if git show-ref -q --heads $1; then
gco $1
else
gfo $1
gco -t origin/$1
fi
@Stalruth
Stalruth / Stage 2022-06-25.md
Last active March 13, 2023 03:28
The June 2022 Discord Developer Stage

Recording by @Wolfhound905

User Survey

  • Sets context for API and App updates
  • Survey was sent out to bot users
  • 60% of respondents have used Slash Commands; this went up over time
  • 50% of users say the main reason they like Slash Commands is Discoverability
    • Incl. features such as Autocomplete and Message Components
  • Top two features users struggle with