- Post-factum CI
- Error(s) already in code base
- Difficult to rollback changes
- Manual merge
- Cumbersome
- Difficult
- Error-prone
for (i=0;i<60;i++){ | |
var test; | |
test = "CODE:"; | |
test +="TAG POS=1 TYPE=DIV ATTR=TXT:Withdraw" + "\n"; | |
var w1 = ("name") | |
var w2 = ("name") | |
var itemname = content.document.getElementsByClassName("item-name")[i].innerHTML | |
if (w1 != itemname) | |
{iimDisplay("aaaa!" + i)} | |
else{content.document.getElementsByClassName("item-name")[i].click() |
Community
Cheatsheets
Books
/** | |
* Causes <i>doRun.run()</i> to be executed asynchronously on the | |
* AWT event dispatching thread. This will happen after all | |
* pending AWT events have been processed. This method should | |
* be used when an application thread needs to update the GUI. | |
* In the following example the <code>invokeLater</code> call queues | |
* the <code>Runnable</code> object <code>doHelloWorld</code> | |
* on the event dispatching thread and | |
* then prints a message. | |
* <pre> |
write 1 | |
dump | |
right | |
write 2 | |
dump | |
left | |
left | |
write 3 | |
dump |
source :rubygems | |
gem 'sinatra' | |
gem 'sinatra-contrib' |
This script installs a patched version of ruby 1.9.3-p125 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Huge thanks to funny-falcon for the performance patches.
class S; def initialize *w; @s=w; end; def method_missing *w;@s<<w;self;end;def | |
to_ary;[@s.map{ |e| e=~/[\,\.\:\-\(\)\/\'\"]/?[e]:[" ",e] }.join.strip];end;end | |
def Object.const_missing(c);S.new c;end; ###### https://gist.github.com/2354740 | |
puts This.is.a.sentence.represented.by.a.Ruby.expression(",").try.it.out! ##### |
class BlahBlah < ActiveRecord::Migration | |
def up | |
puts "Records: #{TestResult.count}\n" | |
Feature.destroy_all | |
TestResult.all.each do |e| | |
begin | |
e.update_attribute(:generated, nil) | |
rescue ActiveRecord::RecordInvalid => er | |
puts "###\nId: #{er.record.id}\n###\nErrors:\n\t#{er.record.errors.full_messages.join("\n")}\n" | |
end |