It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
- Page Name:
AdobeTracking.pageName = 'Mr. Robot : S2 Easter Egg Sites : Ransomware : Home'; - URL: http://i239.bxjyb2jvda.net/
- JS: http://i239.bxjyb2jvda.net/web_analytics.js
- Credit: https://0x41.no/mr-robot-s02e01-easter-egg/
On load, this page displays a countdown timer starting at 24:00:00. When time is over, the following "hidden" message is revealed:
| RSpec.configure do |config| | |
| config.before(:suite) do | |
| DatabaseCleaner.clean_with(:truncation) | |
| end | |
| config.before(:each) do | |
| DatabaseCleaner.strategy = :transaction | |
| end | |
| config.before(:each, js: true) do |
Apple has introduced a new .plist file format in 10.4. You'll notice that you can no longer just edit a .plist file in TextEdit or other text editors. The reason for this is that the files are now binary rather than raw XML.
Luckily for us, there is a command line utility called plutil that can convert back and forth between the two formats. You can convert the .plist file you want to edit to XML format, edit it in TextEdit, then convert back to binary for use. To convert a binary .plist file to XML format for editing, type this in the Terminal:
plutil -convert xml1 some_file.plist
To convert an XML .plist file to binary for use:
plutil -convert binary1 some_other_file.plist
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.
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant::Config.run do |config| | |
| config.vm.box = "base" | |
| config.vm.customize ["modifyvm", :id, "--memory", 1024] | |
| config.vm.define :haproxy do |haproxy| | |
| haproxy.vm.forward_port 80, 8000 | |
| haproxy.vm.network :hostonly, "192.168.1.10" |
As configured in my dotfiles.
start new:
tmux
start new with session name: