Interviewing for a new job can be an intimidating and difficult experience for anyone. I’ve put together some advice based on my experience doing over a hundred interviews that should be helpful for developers of any skill level. Let me know what you think in the comments below. Show Up On Time You may think […]
Development
Tmux & Cygwin
Using Tmux & Cygwin together is the best console combination on Windows, if you ask me. I’ve been using this setup for over a year now, and my productivity is measurably better, my workspace more organized, and it looks cool to boot! I’ve also converted most of the developers at my workplace to this setup. […]
Asynchronous JavaScript with Callbacks
This is a brief introduction to asynchronous JavaScript using Async.js and callbacks. Async.jsĀ is a very common library that makes it easier to do a variety of tasks using JavaScript.
How does Git rebase work?
I use git’s rebase command daily, it’s an invaluable tool for maintaining a clean and sane Git history. However, most people find it difficult to understand, or use it incorrectly, as it’s not the clearest command to use. The first thing to understand, is that rebasing typically refers to two different (but similar) operations: “Rebasing […]
Understanding Arrays
celine bags Arrays & hash maps are one of the cornerstones of modern computer programming. It’s almost impossible to write a useful program without them, so it’s critical that you understand them when you’re getting started with programming. In this post, I’ll explain arrays & hash maps, how they work, their differences, and when to […]
Encrypted Malware Payloads
Recently, I was reading an article on the recently discovered hacker group dubbed the Equation Group[1], I stumbled across an interesting concept: encrypted malware payloads. Most server admins will inevitably have the experience of dealing with a comprised system, especially if you host sites running WordPress[2][3], IPB[4], vBulletin[5], Drupal[6], or a host of other systems […]
Basics Of Scaling: Cache Everything
I do a lot of work on websites that needs to scale fairly well, but I tend to use that mentality for every project. Part of scaling is performance, and the better your app performs (e.g. the more requests per second it can handle) the cheaper it is. One very easy way to improve your […]
If you use bash colors, check for a tty first!
Most of the command line programs I write use ANSI escape codes to output colored text (along with bold/underlined text). I find this makes the programs a lot easier to understand at a glance. For example, my test runners will output success in green, skipped in yellow, and failure in red. I can very quickly […]
- Development
- ...
Why you should be using strace
Strace is a debugging utility for *nix systems, used to monitor the system calls used by a program, as well as any signals received by the program. Strace is useful for seeing what an application is doing under the hood, which can be vital to find subtle bugs in your code obscured by built-in functionality. […]
- Development
- ...
Optimizing Your PHP with Xdebug
I work with a lot of PHP applications, and part of my job is optimizing those applications to reduce server costs and maximize how many requests each server can handle. There are many ways to do this, but I’m going to talk about using a profiler, which is one of the better ways to start […]