Flash js
- https://helpx.adobe.com/flash-player/kb/create-pop-browser-windows-flash.html#main_main_geturljs
- http://www.permadi.com/tutorial/flashjscommand/
http://www.jstorimer.com/blogs/workingwithcode/7766125-writing-ruby-scripts-that-respect-pipelines | |
http://unix.stackexchange.com/questions/9957/how-to-check-if-bash-can-print-colors | |
http://unix.stackexchange.com/questions/23763/checking-how-many-colors-my-terminal-emulator-supports | |
https://code.google.com/p/rubyroute/source/browse/trunk/rubyroute.rb | |
http://richonrails.com/articles/ip-geolocation-in-ruby-on-rails |
<!DOCTYPE html> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- According to Heather Champ, former community manager at flickr, | |
you should not allow search engines to index your "Contact Us" |
Copyright (c) 2011 Jed Schmidt, http://jed.is | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: | |
executables = {} | |
total = 0 | |
path_extensions = ENV["PATHEXT"].gsub(".", "").downcase.split(File::PATH_SEPARATOR) | |
path = ENV["Path"] | |
path.split(File::PATH_SEPARATOR).each do |value| | |
dir = Pathname.new(value) | |
if dir.exist? then | |
filter = File.join(dir.realpath, "*.{" + path_extensions.join(",") + "}") | |
Dir.glob(filter).each do |file| |
sc create MySQL5 binPath= "D:\tools\mysql\bin\mysqld --defaults-file=D:\tools\mysql\my.ini MySQL5" | |
NET START MySQL5 | |
NET STOP MySQL5 | |
sc delete MySQL5 |
// This test is ascynchronous. Watch out. | |
(function(){ | |
var datauri = new Image, | |
ctx = document.createElement("canvas").getContext("2d"); | |
datauri.onerror = function() { | |
Modernizr.addTest('apng', function () { return false; }); | |
}; |
puts ["2B71F".hex].pack("U") | |
# In Ruby 1.9 you can even do this: | |
puts "\u{2B71F}" |
source :rubygems | |
gem 'ruby-prof', :git => "https://github.com/wycats/ruby-prof.git" | |
# gem 'perftools.rb', :git => 'git://github.com/tmm1/perftools.rb.git' | |
gem 'rb-fchange' | |
gem 'listen' |