start new:
tmux
start new with session name:
tmux new -s myname
| SELECT | |
| zipcode | |
| ( | |
| 3959 * acos( | |
| cos(radians($LattitudeVar)) * cos(radians(latitude)) * cos( | |
| radians(longitude) - radians($longitudeVar) | |
| ) + sin(radians($LattitudeVar)) * sin(radians(latitude)) | |
| ) | |
| ) AS distance | |
| FROM |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |
| def pizza(toppings) | |
| toppings.map do |topping| | |
| "I love #{topping} pizza!" | |
| end | |
| end |
| toppings = %w(pepperoni mushroom bacon pineapple) | |
| def pizza(toppings) | |
| toppings.map do |topping| | |
| puts "I love #{topping} pizza!" | |
| end | |
| end |
| require 'rubygems' | |
| require 'json' | |
| require 'httpclient' | |
| start = "http://letsrevolutionizetesting.com/challenge?format=json" | |
| def go_to_url url | |
| client = HTTPClient.new | |
| httpresult = client.get_content(url) | |
| JSON.parse(httpresult) | |
| end |
| ^$|EasouSpider|Add Catalog|PaperLiBot|Spiceworks|ZumBot|RU_Bot|Wget|Java/1.7.0_25|Slurp|FunWebProducts|80legs|Aboundex|AcoiRobot|Acoon Robot|AhrefsBot|aihit|AlkalineBOT|AnzwersCrawl|Arachnoidea|ArchitextSpider|archive|Autonomy Spider|Baiduspider|BecomeBot|benderthewebrobot|BlackWidow|Bork-edition|Bot mailto:craftbot@yahoo.com|botje|catchbot|changedetection|Charlotte|ChinaClaw|commoncrawl|ConveraCrawler|Covario|crawler|curl|Custo|data mining development project|DigExt|DISCo|discobot|discoveryengine|DOC|DoCoMo|DotBot|Download Demon|Download Ninja|eCatch|EirGrabber|EmailSiphon|EmailWolf|eurobot|Exabot|Express WebPictures|ExtractorPro|EyeNetIE|Ezooms|Fetch|Fetch API|filterdb|findfiles|findlinks|FlashGet|flightdeckreports|FollowSite Bot|Gaisbot|genieBot|GetRight|GetWeb!|gigablast|Gigabot|Go-Ahead-Got-It|Go!Zilla|GrabNet|Grafula|GT::WWW|hailoo|heritrix|HMView|houxou|HTTP::Lite|HTTrack|ia_archiver|IBM EVV|id-search|IDBot|Image Stripper|Image Sucker|Indy Library|InterGET|Internet Ninja|internetmemory|ISC Systems iRc |
| var hasFlash = false; | |
| try { | |
| var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); | |
| if(fo) hasFlash = true; | |
| }catch(e){ | |
| if(navigator.mimeTypes ["application/x-shockwave-flash"] != undefined) hasFlash = true; | |
| } |
| <!---Start Function to look through arguments and replace special variables with Road Map variables. ---> | |
| <cffunction name="fillInTemplate" access="public" returntype="string" output="false"> | |
| <cfargument name="map" type="struct" required="true" /> | |
| <cfargument name="template" type="string" required="true" /> | |
| <cfset var str = arguments.template /> | |
| <cfset var k = "" /> | |
| <cfloop list="#StructKeyList(arguments.map)#" index="k"> |
| <cfscript> | |
| zipcode = isDefined("form.q")?form.q:url.q; | |
| zipcode = trim(zipcode); | |
| path="#expandpath('.')#\weatherData\zip-#zipcode#.txt"; | |
| smlImgPath="#expandpath('.')#\weatherData\images\small\"; | |
| lrgImgPath="#expandpath('.')#\weatherData\images\large\"; | |
| // check the ages and existance of the current cached weather file. | |
| if (fileExists(path)){ | |
| info = GetFileInfo(path); | |
| if (dateDiff("n", info.lastmodified, now()) >= 60){ |