Sometimes your computer explodes. Sometimes your roommate spills water on it. If you keep your config files uploaded to github/gitlab, you can avoid recreating your dotfiles (.vimrc, .bash_profile, .sh, .zshrc) and reconfiguring every laptop and virtual machine you encounter. * this is assuming you have already version controlled your configs (examples: bash, vim) Step 1: Upload…
Setting up a new computer (Mac – applications)
Change these System Preferences immediately 1 – MAX OUT your Keyboard key repeat and shorten your delay 2 – Change your CAPS LOCK into (^ Control). Think about it, unless you are constantly yelling on the internet, you never really use CAPS LOCK Download these Apps * Alfred this is so much better than spotlight…
What are the Mac symbols?
Mac Symbols If you are loyal to your 2013 Macbook Air, here’s the new mac keyboard buttons. What is the mac symbol for Control? Control (or Ctrl) ⌃ The Control key was originally responsible for entering control characters (or non-printing characters) in terminal applications. The first mac did not have a control key but it was later…
Symbolic Links, symlinks, files that point to files
Sometimes, when working with directories and files, we want to reference the same file in a different directory. This is most apparent when you want to upload dotfiles and config on github so you can backup and pull down these onto any computer. Lets get started and you’ll see how my setup will help your…
Your first commit – How to start using git
git is a version control system that allows you to keep track of all the changes you make to your code, writing and anything text. Instead of saving the current state of your files, git saves the changes you make to files. Imagine you create a file called “my_file.txt” and later this to your git…
Coton Rain
First Swift App! Check out Coton Rain (US)
Black Scholes Formula in Rust
Our team at Hack Reactor is building a web framework in Rust and for the first day, we took a step back and had a one day hackathon to get sped up. Naturally I wanted to benchmark calculators and that afternoon I tested Rust against Python and Javascript. Results below. Black Scholes Merton Introduced in…
This post is not about Backbone
We’re gonna talk about video games. Imagine you’re playing Mario Kart on a four person split screen. There are four Yoshis on the screen for each player. How many Yoshis should we model? The obvious answer is four: there are four Yoshis on the screen, so there must be four Yoshis. The problem is that this answer misses…
Who is the keyword “this”?
`this` – NBA Edition The keyword `this` is a difficult javascript topic that has been debated and pondered over for centuries – more or less. Its meaning is ambiguous at first glance mainly because what the keyword `this` refers to changes depend on where it is called. Here we explore some of the various ways…
LA Hacks
The event was billed as the largest hackathon on the West Coast and is the only one I know of that lasted both Friday and Saturday night. 36 hours of coding and the list of suggested items included, at the top, a laptop and a sleeping bag. At first I was hesitant to sign…