Skip to content

Instantly share code, notes, and snippets.

Character Plan by DDO Character Planner Version 3.10
DDO Character Planner Home Page
Level 20 Lawful Good Elf Male
(20 Ranger)
Hit Points: 220
Spell Points: 429
BAB: 20/20/25/3030
Fortitude: 14
require 'rubygems'
require 'sinatra/base'
class Web < Sinatra::Base
get '/' do
"hello"
end
end
require 'rubygems'
require 'mechanize'
require 'highline'
agent = WWW::Mechanize.new
highline = HighLine.new
main_page = agent.get('https://m.caixadirecta.cgd.pt')
page2 = main_page.form_with(:name => 'Login_execute') do |form|
% git svn dcommit
Committing to svn+ssh://admin/srv/svn/rtssec/esper/trunk ...
A esper
66fee897026d7063e9ffec9c64878e2c6b7d0962 doesn't exist in the repository at /usr/lib/git-core/git-svn line 4597
Failed to read object 66fee897026d7063e9ffec9c64878e2c6b7d0962 at /usr/lib/git-core/git-svn line 564
% git cat-file -t 66fee897026d7063e9ffec9c64878e2c6b7d0962
error: unable to find 66fee897026d7063e9ffec9c64878e2c6b7d0962
fatal: git cat-file 66fee897026d7063e9ffec9c64878e2c6b7d0962: bad file
Bluepill.define_process_condition(:log_watch) do
def initialize(options = {})
@file_name = options.delete(:file)
@regexp = options.delete(:regexp)
@file_pos = 0
@file_size = 0
end
def run(pid)
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: vendor/jars/common/json_simple-1.1.jar
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[user]
name = MUDA ISTO
email = E ISTO
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
def test_s1
monitor_epl "S1"
send_event("Subsystems", ["Srv_cpuavg_total", "Qa", "ip", "pt.ptp", "TPPCRM01", "OS", "", -1, 60, "Max", 1, [10.0,50.0,60.0,70.0,90.0].to_java(:Double), 0])
send_timer(1)
send_event("Qa", [ "Qa", "ip", "pt.ptp", 1000, "Srv_cpuavg_total", "TPPCRM01", "", "OS", 95.2, 0, ""])
@jsvd
jsvd / df
Created March 24, 2011 01:18
{-# OPTIONS_GHC -Wall -fno-warn-missing-signatures #-}
{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} -- for TallAlt
-- sereven's xmonad.hs (0.9.2 - 0.10) $ 2011-03-15
-- imports {{{
import XMonad hiding (keys)
import qualified XMonad.StackSet as W
-- standard libraries