When you do your best to speak German but the person answers you in English
Thanks to trustno1butthedoctor!
I felt this way in Vienna many, many times
I am an American web developer living in Southern Spain. I am very wise and very, very humble.
Thanks to trustno1butthedoctor!
I felt this way in Vienna many, many times
(Source: youtube.com, via animalsconfusedbythings)
(Source: bigtitznlilnipplez, via merlin)
“Fuck it,” the president of Vicks Nyquil says, tossing a stack of papers onto the conference table. “Let’s just make purple drink.” He gets up from his chair and is almost out of the room before someone speaks up. “Um… sir? What should we call it?”
“I don’t give two shits what you call it. Call it Zzzquil. Who fucking cares.” The door slams, and work begins on Zzzquil.
One of the questions we always get asked at meet-ups and conversations with other engineers is, “what’s your stack?” We thought it would be fun to give a sense of all the systems that power Instagram, at a high-level; you can look forward to more in-depth descriptions of some of these systems in…
Automation is awesome
I have been using a gem called terminitor (no, that’s really how it’s spelled) for a while now. The project has recently been replaced with consular.
What consular does
Consular automates your terminal window and tab setup. You create yaml or ruby config files and with
consular start my_app
Consular opens tabs, panels and windows, running your different app servers or tailing your development log files.
I have taken it another step and aliased
start
and
edit
in my .zshrc to
consular start
and
consular edit
Installation
If you don’t have Ruby installed, install it. Then just run
gem install consular
You will need to install an engine based on whatever terminal emulator you are using. I am using iTerm2 so I would type
gem install consular-iterm
You need to create the initial config files with
consular init
Then add your engine to the newly created ~/.consularc file. This is explained in the readme for your engine.
Then type
consular edit my_app
with my_app as whatever you want to name this project. Your editor will be launched and you will see a dummy project config file.
My Default Project
Here is a link to a sample of my basic Rails consular setup. It opens a new window with two tabs. The first tab has 3 panels: unicorn running on port 3000, tailing my log/development.log file and a rails console instance. The second tab opens vim (I have aliased vim . to v.) with my project’s directory as the root directory.
Conclusion
This is one of those great tools that really can save you a ton of time. I really just open my terminal and type
start project
and I am in my editor with my app server running. Another useful tip is that you can add something like (if you’re on a Mac)
run "open http://localhost:3000"
which will open a tab of your default browser, running your app.
This is not just for Ruby or Rails either (though Ruby must be installed on your system). It would be just as simple to set up Python or Nodejs apps.
Happy Hacking.
I was playing around with bash scripts this morning
After a long day, I love to relax with a nice cold glass of 48 FLASHING LED ICE CUBES!!!
The product listing insists these plastic hellcubes will impress my friends, but none of my friends are raccoons or babies, so I don’t think it’ll work.