View keybindings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.previousEditor" | |
}, |
View post-commit-jira.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# SVN post-commit hook to link revisions to JIRA tickets | |
# | |
# Author: Carlo Sciolla <carlo@backbase.com> | |
# Author: Phil Wilson | |
# Revision: 0.2 | |
# fill in your Jira credentials and URL: | |
USER=foo |
View settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.colorTheme": "Solarized Dark", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/.settings": true, |
View jira-versions-to-ical.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$versions_url = 'http://HOSTNAME.atlassian.net/rest/api/2/project/KEY/versions?os_username=USERNAME&os_password=PASSWORD'; | |
$versions_file = file_get_contents($versions_url); | |
$versions = json_decode($versions_file); | |
start_calendar(); | |
foreach ($versions as $version) { | |
make_event($version); |
View options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fatfilename 1 | |
whitespace 1 | |
nopurge = 1 | |
subdirformat <name> | |
radiomode best | |
tvmode best | |
output /mnt/iplayer | |
nopurge = 1 | |
fileprefix <episode> | |
aactomp3 1 |
View ted_scrape.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from https://github.com/plexinc-plugins/TED-Talks.bundle/blob/master/Contents/Code/__init__.py | |
import re, datetime | |
from string import ascii_uppercase | |
################################################################################################### | |
PLUGIN_TITLE = "TED Talks" | |
TED_BASE = "http://www.ted.com" | |
TED_TALKS_FILTER = "http://www.ted.com/talks/browse.json?tagid=%s&orderedby=%s" |
View accelerando.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Accelerando | |
A novel by Charles Stross | |
Copyright © Charles Stross, 2005 | |
http://www.antipope.org/charlie/blog-static/buy-my-books/buy-my-books-uk.html | |
Published by |
View example.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "superfeedr" | |
## You can have all the XMPP logging by changing the Babylon log level | |
Babylon.logger.level = Log4r::DEBUG | |
## | |
# Don't ever forget that all this is ASYNCHRONOUS... | |
# If you don't run EM in your program, then it will started for... however, EM.run begin a blocking call, you shoudl probably run it into a specific Thread to keep the rest of your app running :) |
View wotlisten.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby -KU | |
# ported to use the RSS feed rather than screen-scrape | |
require 'rubygems' | |
require 'open-uri' | |
require 'rexml/document' | |
require 'rexml/xpath' | |
if ARGV[0] |