Public Notes on
View Public Collections
"Rubinius is software that translates the code for the Ruby programming language such as puts "hello world" and turns it into efficient machine code like this push %rbp; mov %rsp, %rbp; push %rbx; subq $0x98, %rsp; cmp $0x0, 0x10(%rcx); call 0xffffffffff472010; jmp 0x9c; … then executes it" #ruby #machine_language #code #pub
Show More
FacebookBot - File: README facebookbot.rubyforge.org
_Dead project from many years ago (depends on Hpricot)_ "Facebook Bot is allows for completely automated control of your Facebook profile. FacebookBot allows you to destroy or improve Facebook via: Posting Profile Pictures Tagging Pictures Changing your Status Posting Wall Comments Changing Personal Profile Information Sending and Reading Private Messages Joining Groups Adding Friends A system for generating random sentences (rather simply) And much more…" #spamjam #Facebook #bots #ruby #gems #open_source #code #pub
Show More
Ohloh Code Search code.ohloh.net
"Welcome to Ohloh Code, the world’s largest, most comprehensive free code search engine! Koders has now merged with Ohloh to become your one-stop resource for both code and analysis. " #code #search #development #search_engine #pub
Show More
It's a traditional open source unix cli tool! So, why does this site actually look, dare i say, sexy? "Blazing fast It's fast because it only searches the stuff it makes sense to search. Better search Searches entire trees by default while ignoring Subversion, Git and other VCS directories and other files that aren't your source code. Designed for code search Where grep is a general text search tool, ack is especially for the programmer searching source code. Common tasks take fewer keystrokes." #cli #grep #ack #perl #perl_5 #regex #*nix #alternatives #best_of #code #dev #homebrew_formulas #searching #utilities #pub
Show More
jrnl maebert.github.io
"jrnl jrnl is a simple journal application for your command line. Journals are stored as human readable plain text files - you can put them into a Dropbox folder for instant syncing and you can be assured that your journal will still be readable in 2050, when all your fancy iPad journal applications will long be forgotten. jrnl also plays nice with the fabulous DayOne and can read and write directly from and to DayOne Journals." #Day_One #journaling #cli #open_source #plain_text #Writing #mindfulness #introspection #ideas #code #@to_do #python #pub
Show More
"With this plugin Action Controller parameters are forbidden to be used in Active Model mass assignments until they have been whitelisted. This means you’ll have to make a conscious choice about which attributes to allow for mass updating and thus prevent accidentally exposing that which shouldn’t be exposed. In addition, parameters can be marked as required and flow through a predefined raise/rescue flow to end up as a 400 Bad Request with no effort." #Rails #rails4 #gems #security #ruby #code #MVC #pub
Show More
jsonip gist.github.com
"server { listen 80; gzip on; gzip_vary on; gzip_types application/json; add_header Access-Control-Allow-Methods GET; add_header Access-Control-Allow-Origin *; default_type application/json; location = "/about" { return 200 '{"About":"Inspired by jsonip.com"}'; } location ~ ^/(.+)$ { return 200 '$1({"ip":"$remote_addr","about":"/about"})'; } location / { if ($arg_callback != "") { rewrite ^ /$arg_callback last; } return 200 '{"ip":"$remote_addr","about":"/about"}'; } }" #gists #code #free #open_source #json #ip_addresses #web_tools #nodejs #pub
Show More
#from:Windows_Phone #code #Ruby #Sinatra #@to_investigate #hacks #APIs #images #pub
Show More
exercism.io exercism.io
" Exercise your Brain Crowd-sourced code reviews on daily practice problems. Start Now Practice We give you a README and a test suite. You make the tests pass... but that's just the first step. The goal is to focus on expressive, readable code. Work locally in your usual environment using your usual tools. We have practice problems in Ruby, Elixir, JavaScript, and Clojure, and other languages are in the pipeline." #ideas #bootstrap_layout #geeky #code #@to_try #fun #dev #tutors #@Rayyan #learning #@@Cameron #pub
Show More
muflax/fume github.com
#productivity #time_tracking #Ruby #open_source #code #cli #@to_look_into #beeminder #pub
Show More
text_from_all_my_visible_divs = br.div(:id, 'divs I care about').divs.select do |div| text_i_care_about(div) && div.visible? end def text_i_care_about(div) div.text =~ /regexp/ end #Watir #tips #code #references #good_to_know #pub
Show More
"Aleks Kissinger wrote: > Depending on how you feel about mucking with core ruby types, a method > like this one seems like a decent candidate for mixing in to Object. > > class Object > def this_method > caller[0]=~/`(.*?)'/ > $1 > end > end These methods are typically put into Kernel and made private. Also, you don't check whether the RX actually matches. I'd also prefer to change the RX to a more efficient one. So that would give module Kernel private def this_method caller[0] =~ /`([^']*)'/ and $1 end end Kind regards robert" #Ruby #code #core #dynamic #pub
Show More
#Ruby #code #core #dynamic #pub
Show More
#Watir #references #tidbits #reminders #advanced_basics #Ruby #code #pub
Show More
#Watir #web_automation #docs #references #guides #info #Ruby #code #pub
Show More
"Watir is a great framework for automated testing web applications. It is easy to get started with Watir, but do you use effectively for testing real-world test scenarios? Such as data driving test from an Excel spreadsheet and handling pop up dialogs. Watir Recipes will show you the solution for your problems from the experts who have already solved them. All recipe test scripts (100+) are ready-to-run, i.e., I created the target web pages and test sites, so that you can simply find the recipe and run, in matter of seconds. Owning this book is like having a test automation coach sitting next to you." #Watir #web_automation #docs #references #guides #info #Ruby #code #ebooks #paid #recipes #@to_get #pub
Show More
Watir Recipes zhimin.com
"Watir is a great framework for automated testing web applications. It is easy to get started with Watir, but do you use effectively for testing real-world test scenarios? Such as data driving test from an Excel spreadsheet and handling pop up dialogs. Watir Recipes will show you the solution for your problems from the experts who have already solved them. All recipe test scripts (100+) are ready-to-run, i.e., I created the target web pages and test sites, so that you can simply find the recipe and run, in matter of seconds. Owning this book is like having a test automation coach sitting next to you." #Watir #code #info #guides #recipes #references #web_automation #ebooks #paid #Ruby #docs #@to_get #pub
Show More
"Extension to allow editing and fast reloading of local files from Chrome developer tools The idea behind Tincr is that you can save changes to your original source file from within Chrome Developer Tools. In addition, Tincr does auto-reloading of JavaScript and CSS changes made in other editors. To give you a complete illustration, let's say you're developing a Ruby on Rails web application. You would select "Ruby on Rails" in the dropdown on the Tincr panel and then select the local directory of your rails application. Once you've done that, Tincr knows enough about how a RoR application is structured that if you made a change inside of Chrome Developer Tools, it would be saved to the local file equivalent. If you made a change to an application script or stylesheet using TextMate or some other tool, the change would automatically be reloaded in Chrome without refreshing the whole page." #livereload #alternatives #css #chrome #code #web_development #real_time #pub
Show More
"Emmet LiveStyle is a plugin for live bi-directional (editor↔browser) CSS editing of new generation. Currently, it works in Google Chrome, Safari and Sublime Text, more browsers and editors will be available later." #livereload #alternatives #css #chrome #Safari #sublime #code #web_development #real_time #pub
Show More
"#4: My hack to visit Facebook only once a day Only once a day. I changed my password to something long and random, and I made a program that will store it, and only give it to you once a day. Here's how it works: Set your password The program will encrypt it and store to the disk (~/.once) If you ask for the password, it'll copy it to the clipboard (But only once a day!) You log in to Facebook, use it, then log out. Of course there are ways to go around this, but for me, it's just not worth the effort. So this solution works pretty great. Question for you: If you use Mac, would you buy an app to manage this process? It would handle multiple websites, and you could set how many times a day you can use the website... It would be priced at $2.99." "(Clipboard works only on a Mac, but feel free to fork.)" #discipline #moderation #distractions #code #scripts #python #remove_temptations #work_ethics #pub
Show More