Uploading Images With Carrierwave to S3 on Rails 4

Uploading Images With Carrierwave to S3 on Rails
At some point in your Rails development you will want a user (admin or normal user) to upload images. Often, you will want those images to be resized to specific dimensions (don’t resize images with CSS!) and you will most likely want several differently sized images. You could store these files on the file system, ...

Bash Bug: Check and Fix on Ubuntu!

Bash Bug: Check and Fix on Ubuntu!
If you are a sysadmin and are running any version of Linux you need to update your servers right now to fix a Bash bug. There was an exploit found in Bash today – source (http://www.theverge.com/2014/9/24/6840697/worse-than-heartbleed-todays-bash-bug-could-be-breaking-security-for). Here is how to check if you are vulnerable. Log into to your server and run the command below. ...

Upgrading Mapkit from iOS 7 to iOS 8 6

Upgrading Mapkit from iOS 7 to iOS 8
I was busy today upgrading an iOS app I built earlier this year for marking your parking spot called ScoutAtlas. I heavily uses Mapkit to mark where you parked and later on give you directions back to where you parked. Since iOS 8 just came out yesterday (Wednesday, September 17th, 2014), I tested ScoutAtlas on ...

Show Line Numbers in Xcode 1

Show Line Numbers in Xcode
I started using Crashlytics to capture my crashes today and it seems like it is one of the best crash / exception capturing SDKs out there for iOS. The installation process is really nifty and it gives you a lot of feedback during this process to show you whether you are installing the SDK correctly. ...

Bower over HTTPS

Bower over HTTPS
A couple days ago I was trying to install the capstone for a Thinkful Angular class (more on that next week) on an external server. I had finished writing the code and I was ready to deploy. I ran my “npm install” and though it took a while it ran smoothly. However my “bower install” ...

Nodemon – Restarting Node Automatically

Nodemon - Restarting Node Automatically
Whenever I am developing anything in Node, I find myself stopping and starting the Node server often everytime I make a change. Though initially you might just deal with this annoyance, it can become rather frustrating later on. My development environment consists of three screens, one with Sublime Text running for my code, one with ...

iOS Apps – AirportParkingReservations and ScoutAtlas 1

It’s been a while since my last post, but I’ve been working hard on a couple iOS applications and getting them on the Appstore. Below I’ll highlight the apps and also very briefly highlight what resources I used to build the applications. I started learning how to make iOS applications at the beginning of January ...

Install Redis on Mac OSX 5

Today we will cover a snippet on how to install Redis on Mac OSX (version 10.9 currently). To install Redis, enter the following commands. curl -O http://download.redis.io/redis-stable.tar.gz tar -xvzf redis-stable.tar.gz rm redis-stable.tar.gz cd redis-stable make sudo make install 123456 curl -O http://download.redis.io/redis-stable.tar.gztar -xvzf redis-stable.tar.gz rm redis-stable.tar.gz cd redis-stable make sudo make install Then to start ...

Detect Backspace Event in TextField on iOS 2

Over the past few months, I’ve been heavily focusing on iOS development and the next few posts will reflect that. This post will briefly cover a problem I was having a couple days ago on how to detect a backspace event in a UITextField. I was trying to figure how to capture this backspace event ...

Links for Learning: Chrome Extension Tutorials

In the last week I released a Chrome extension that opens Yelp addresses in Google maps instead of the Yelp’s map interface. Here is a link if you want to download and use it –¬†https://chrome.google.com/webstore/detail/yelp-to-google-maps/fpmjnpeaolcopddalaodjlabiplflnlb. Making a Chrome extension is mostly straightforward and there are a lot of good links on the web to help ...