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
| javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter", document.URL.replace(/sid=[0-9a-f]*&?/,''));return false; |
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
| package main | |
| import ( | |
| //"fmt" | |
| "net/http" | |
| "io/ioutil" | |
| "html/template" | |
| "regexp" | |
| "errors" | |
| "log" |
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
| # lib/mailinterceptor.rb | |
| class MailInterceptor | |
| def self.delivering_email(message) | |
| message.to = "dev@example.com" | |
| message.subject = "[#{message.to}] " + message.subject | |
| end | |
| end | |
| # config/initializers/setup_mail.rb |
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
| if ENV['sauce'] | |
| module Job | |
| extend self | |
| def id | |
| @__jobid || 'undefined' | |
| end | |
| def id=(j) | |
| @__jobid ||= j | |
| end |
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
| <div id="face"> | |
| <div class="eye left"></div> | |
| <div class="eye right"></div> | |
| <div class="nose"></div> | |
| <div class="mouth"></div> | |
| </div> |
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 re | |
| subnums = [ ('cd',4*'c'), | |
| ('xl',4*'x'), | |
| ('iv',4*'i'), | |
| ('d',5*'c'), | |
| ('l',5*'x'), | |
| ('v',5*'i'), | |
| ('cm',9*'c'), | |
| ('xc',9*'x'), |
NewerOlder