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
local _, ns = ... | |
ns.Config.show.pvpicons = false | |
ns.Config.units.['player'].scale = 1.0 | |
ns.Config.units.['player'].showCombatFeedback = false | |
ns.Config.units.['player'].position = {'CENTER', UIParent, -225, -200} | |
ns.Config.units.['player'].castbar.scale = 1.132 | |
ns.Config.units.['pet'].scale = 1.0 | |
ns.Config.units.['pet'].castbar.scale = 1.132 | |
ns.Config.units.['target'].scale = 1.0 |
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
api = Battlenet.new(:us) | |
api.realm["realms"].each do |r| | |
begin | |
auctions = api.auction_data(r["name"]) | |
%w(alliance horde).each do |f| | |
puts "Processing #{auctions["realm"]["name"]} #{f}" | |
auctions[f]["auctions"].each { |a| Resque.enqueue CharacterJob, "us", auctions["realm"]["name"], a["owner"] } | |
end | |
ensure | |
next |
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 'formula' | |
class Tex2png < Formula | |
homepage 'http://xyne.archlinux.ca/projects/tex2png/' | |
url 'http://xyne.archlinux.ca/projects/tex2png/src/tex2png-2012.12.tar.xz' | |
sha1 '54a932a9e540afe2b007784be0132abd0848e9fc' | |
depends_on 'xz' | |
def install |
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 'faraday' | |
conn = Faraday.new(:url => "https://account.guildwars2.com") do |faraday| | |
faraday.request :url_encoded | |
faraday.response :logger | |
faraday.adapter Faraday.default_adapter | |
end | |
response = conn.post do |req| | |
req.url "/login" |
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
Last login: Sun Mar 10 16:25:53 on console | |
macbook:~ chris$ sudo mkdir -p /opt/boxen | |
Password: | |
macbook:~ chris$ sudo chown ${USER}:admin /opt/boxen | |
macbook:~ chris$ git clone https://github.com/boxen/our-boxen /opt/boxen/repo | |
Cloning into '/opt/boxen/repo'... | |
remote: Counting objects: 1025, done. | |
remote: Compressing objects: 100% (508/508), done. | |
remote: Total 1025 (delta 461), reused 989 (delta 430) | |
Receiving objects: 100% (1025/1025), 22.72 MiB | 1.58 MiB/s, done. |
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 | |
## | |
## iptables rules for gentoo.bbck.net | |
## Mostly stolen from ArchWiki | |
## | |
## Last updated April 3, 1013 | |
## | |
# Reset everything | |
iptables -F |
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
#cloud-config | |
hostname: puppet | |
fqdn: puppet.bbck.net | |
manage_etc_hosts: true | |
package_update: true | |
package_upgrade: true | |
write_files: | |
- encoding: b64 | |
content: W21haW5dDQpkbnNfYWx0X25hbWVzPXB1cHBldC5iYmNrLm5ldCxwdXBwZXQNCmxvZ2Rpcj0vdmFyL2xvZy9wdXBwZXQNCnNzbGRpcj0vdmFyL2xpYi9wdXBwZXQvc3NsDQpydW5kaXI9L3Zhci9ydW4vcHVwcGV0DQplbnZpcm9ubWVudHBhdGg9JGNvbmZkaXIvZW52aXJvbm1lbnRzDQoNClthZ2VudF0NCnNlcnZlcj1wdXBwZXQuYmJjay5uZXQNCmNsYXNzZmlsZT0kdmFyZGlyL2NsYXNzZXMudHh0DQpsb2NhbGNvbmZpZz0kdmFyZGlyL2xvY2FsY29uZmln== | |
owner: root:root |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Big Dipper</key> | |
<dict> | |
<key>alias</key> | |
<string>Ursa Major</string> | |
</dict> | |
<key>Ursa Major</key> |
OlderNewer