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
(function () { | |
var canvas = document.createElement('canvas'), | |
ctx, | |
img = document.createElement('img'), | |
link = document.getElementById('favicon').cloneNode(true), | |
day = (new Date).getDate() + ''; | |
if (canvas.getContext) { | |
canvas.height = canvas.width = 16; // set the size | |
ctx = canvas.getContext('2d'); |
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
[vagrant@u64 workfeed]$ rake --trace dev:reset_environment | |
(in /opt/workfeed) | |
** Invoke dev:reset_environment (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute dev:reset_environment | |
** Invoke restart (first_time) | |
** Execute restart | |
memcached(1526): Operation not permitted | |
memcached: no process found |
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
rake db:migrate | |
(in /opt/workfeed) | |
== PreMigrateTask: started. | |
-- /opt/workfeed/db/pre_migrate/000_pg_log_type.sql | |
NOTICE: drop cascades to 13 other objects | |
DETAIL: drop cascades to function "pg_log$get_log_data"(timestamp without time zone,timestamp without time zone,text,boolean) | |
drop cascades to view all_queries_td | |
drop cascades to view all_queries_wk | |
drop cascades to view all_queries_mn | |
drop cascades to view ddl_queries_td |
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
module AdditionalMethods | |
def new_method | |
"do some things" | |
end | |
end | |
obj = SomeObject.new | |
obj.extend(AdditionalMethods) | |
puts obj.new_method |
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
window.foo= () -> console.log('foo') |
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
defaults: &defaults | |
host: localhost | |
# slaves: | |
# - host: slave1.local | |
# port: 27018 | |
# - host: slave2.local | |
# port: 27019 | |
development: | |
<<: *defaults |
NewerOlder