Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
class String | |
def |(other) | |
other.call(*self) | |
end | |
def >(other) | |
File.write(other, *self) | |
0 | |
end | |
end |
window.setInterval(function(){ | |
document.getElementsByClassName('action-endorse')[~~(Math.random() * 4)].click() | |
}, 5000); | |
//paste this into javascript console when the 4 tile DOES __ KNOW ABOUT __? ENDORSE! dialog appears on linked in. | |
//they don't seem to be grepping for robots so no need to randomize the interval | |
//will run until they run out of recent recommendations. click around a bit and it will come up again. |
export RUBY_HEAP_MIN_SLOTS=1250000 | |
export RUBY_HEAP_SLOTS_INCREMENT=100000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=30000000 | |
export RUBY_HEAP_FREE_MIN=12500 |
function brainfuck(code,input){ | |
var pc = 0; | |
var sysout = []; | |
var sysin = input.split('').reverse(); | |
var ptr = 0; | |
var data = [0]; | |
var size = code.length; | |
var program = code.split('') | |
var loops = []; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.
This list has been superseded by Public APIs. Check there for APIs with Auth: No
, HTTPS
and CORS
Yes
.
List of data APIs that require no server-side auth or private credentials, and are thus good for small browser-only JS projects.
- 3taps (information)
- Adobe Creative SDK (image editing)
- App.net
- Bing Maps