This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="Solarized Dark" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="EDITOR_FONT_NAME" value="Consolas" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="" /> | |
<option name="ANNOTATIONS_COLOR" value="2b36" /> | |
<option name="ANNOTATIONS_MERGED_COLOR" value="" /> | |
<option name="CARET_COLOR" value="dc322f" /> |
This file contains hidden or 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 sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains hidden or 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
sudo /Developer/Library/uninstall-devtools –mode=all | |
sudo rm -rf /Developer* | |
sudo rm -f /Applications/*Xcode.app |
This file contains hidden or 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 django.test import LiveServerTestCase | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.ComponentModel.Composition; | |
using System.Deployment.Application; | |
using System.Globalization; | |
using System.Linq; | |
using System.Reactive.Linq; | |
using System.Timers; | |
using System.Windows; |
This file contains hidden or 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/python | |
import re | |
import argparse | |
import locale | |
# Accept a sane looking network ID | |
parser = argparse.ArgumentParser(description='Syncie Log Parser') | |
parser.add_argument('-n', action="store", dest="network", type=int) | |
args = parser.parse_args() |
This file contains hidden or 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 boto import ec2 | |
regions = ec2.regions() | |
for region in regions: | |
print region.name | |
conn = ec2.connect_to_region(region.name) | |
instances = conn.get_all_instances() |
This file contains hidden or 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
import os | |
import codecs | |
import xml.etree.ElementTree as etree | |
from dateutil import parser as du | |
from urlparse import urlparse | |
def parse_export(path): | |
"""Parses the WordPress export file into a Python-native format""" |
This file contains hidden or 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
// Add these to a form: | |
// * Web Browser | |
// * Button 1 (starts the process) | |
// * Button 2 (outputs the current URL) | |
// * TextBox 1 (logs actions) | |
// * TextBox 2 (for the token) | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
webBrowser1.Navigate("https://www.yammer.com/dialog/oauth?client_id=SFZc9HHFXK77keEFYdXphw&redirect_uri=http://brianlyttle.com/yammer/mshtml/redirect_uri&response_type=token"); |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import os | |
import yampy | |
import webbrowser | |
# Configure all of these constants at https://www.yammer.com/client_applications | |
CLIENT_ID = '' | |
CLIENT_SECRET = '' | |
REDIRECT_URI = 'http://brianlyttle.com/yammer/' |
OlderNewer