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
Mime::EXTENSION_LOOKUP.each { |m| puts m} |
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
SELECT schemaname,relname,n_live_tup | |
FROM pg_stat_user_tables | |
ORDER BY n_live_tup DESC; |
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
dd if=/dev/urandom | pv | dd of=/dev/null |
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
<a href="javascript:(function(){ | |
var forEach = Array.prototype.forEach; | |
forEach.call(document.getElementsByClassName('jmc-laterpay-purchase-overlay-container'), function(elm) { elm.parentNode.removeChild(elm)}); | |
var content = document.getElementsByClassName('jmc-laterpay-paid-content'); | |
forEach.call(content, function(elm) { elm.classList.remove('jmc-laterpay-paid-content-hidden') } ); | |
})();">Fuck MoPo</a> |
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
user$ ruby -run -e httpd . -p 9090 | |
user$ python -m SimpleHTTPServer | |
user$ gem install serve | |
user$ serve |
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
alert(JSON.stringify(object)) |
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 Rails.env == "development" | |
Dir.foreach("#{Rails.root}/app/models") do |model_name| | |
require_dependency model_name unless model_name == "." || model_name == ".." | |
end | |
end |
NewerOlder