I haven’t blogged much about any adventures I’ve had so I’ve made it a goal to start uploading more of my photos here. For those of you that don’t know I spent 3 months teaching math and ‘computers’ to kids aged ~8-12 years old in a town two hours north of Bangkok, Thailand. This town is called Lopburi and is home to one of the biggest army bases in the country. It also has a very important place in Thai history.
If you aren’t familiar with gems they are the Ruby on Rails equivalent to WordPress plugins. I wanted to learn how to write my own so I found this great tutorial at Quick Left.
I had an idea for a gem that I wanted to make quickly so I didn’t build the exact same gem as the tutorial. Instead I just wanted to make a simple gem so I could lookup info about a visitor on a website.
Over the years I’ve tried and tested dozens of different training methodologies and sports. I climb, I run, I lift, I wrestle, I box, I surf. I’ve done Crossfit for years, and love following Jim Wendler’s 5/3/1 protocol. Yet, the single best exercise I’ve ever done that has carried over extremely well in any sport I engage in has been, without question, the sled drag.
So I found this awesome gem called RMagick for image manipulation in Ruby on Rails. Railscast has an excellent tutorial on creating thumbnails of uploaded images and getting set up with RMagic. However I wanted to do more than just create a thumbnail of my images. I wanted to easily add a black border to all of the images, much like with Instagram.
So on one of my personal projects I’m working on I have an input area that is used for blog posts. The default “text_area” in Rails is small. Certainly not a box big enough for your typical blog post. Of course one can resize this manually in one’s browser. However, I’m building this to make some easy enough my Grandma could use.
Here is another simple tutorial about using Wireshark to find WordPress logins and passwords. This should be a warning to you about the dangers of logging into sites in public wifi spots. If you haven’t used Wireshark before it is a tool that let’s you view the packets of data streaming across a network you are connected to. Previously I wrote a post so you can learn to bypass Wifi paywalls for free.
Recently I started learning Ruby on Rails to build a couple projects. I’ve heard of Bootstrap and heard you can use it quickly to make a site look good. Since Bootstrap seems to be the popular way to do things I wanted to test it out myself. Unfortunately, I was immediately lost. Things were not very clear to me on what exactly I was suppose to do with it. So here are some of the things I wish I would have learned about Bootstrap straight out the gates.
This is my first instructional blog post. By the end I hope you will know how to get around wifi paywalls.
I found this excellent hotel in Bangkok. It’s less than $20 / day and has a good bed with dark curtains and quiet rooms. It also comes equipped with a free gym and sauna as well as reasonable room service.
The only problem is they want to charge for wifi. In fact, they charge 1/3 of what the room costs just to use wifi. This, coupled with the fact that it is far from anything relevant ruins the savings found in staying there.
The way they limit usage of the wifi is that when you connect to the access point (no password) you are redirected to their landing page when trying to visit a website. You need to enter a login/password to be able to browse freely.
Luckily, there is a way around this and it only requires a few steps. You are going to need a couple tools so make sure you get these while you still have internet access.
I’ve been lazy (to say the least) and busy so I haven’t wrote anything in a while. Wanted to throw up some pictures for everyone back home of Doi Suthep, the most famous temple in all of Chiang Mai. Locals say if you haven’t visited Doi Suthep you haven’t visited Chiang Mai.