Skip to content

Instantly share code, notes, and snippets.

@alexrup
alexrup / xmonad.hs
Created June 28, 2013 01:13
xmonad config file.
import XMonad
import XMonad.Layout
import XMonad.Layout.MultiToggle
import XMonad.Layout.MultiToggle.Instances
import XMonad.Layout.NoBorders
import XMonad.Operations
import XMonad.Actions.DwmPromote
import XMonad.Actions.NoBorders
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
@alexrup
alexrup / coloredlogcatmodified
Last active December 19, 2015 06:58
modified colored logcat
#!/usr/bin/python
'''
Copyright 2009, The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@alexrup
alexrup / roku-package-script
Created August 13, 2013 01:28
Bash script to package roku applications.
#!/bin/bash
if [[ -z $1 ]]; then
echo "Usage: roku-package-script [PATH TO APPLICATION]"
else
PKG_UPLOAD_PATH=$1
echo "Enter the IP address of the Roku device: "
read DEVICE_IP
@alexrup
alexrup / ruby_love
Created December 13, 2013 01:55
Unit testing is so much fun
require_relative 'lib/onescreen-ember'
require 'pry'
OneScreen::Ember.service_uri = 'http://10.101.101.148:3000/api' #Jovel = 10.101.101.172
OneScreen::Ember.service_token = 'mrxugPQ6ByzCMV34DzxQ' #Jovel = V83TbPpoxbMe9PM4Us3E'
# binding.pry
# Available calls
# OneScreen::Ember::Campaign.find(8) 'list single campaign'
@alexrup
alexrup / eth-stuff
Last active September 8, 2017 21:37
0x17514B572aDD1dc41Cb03d42F4eA54a578a76F39