King Narai Festival in Lopburi Thailand

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.

Continue reading

Writing My First Gem for Rails

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.

Continue reading

World’s Greatest Exercise

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.

Continue reading

Resizing the Width of a Text_area (Rails/Bootstrap)

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.

Continue reading

Sniffing WordPress Logins Using Wireshark

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.

Continue reading

Fast Way to Use Bootstrap: Part 1

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.

Continue reading

Bypassing Hotel Wifi Paywalls

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.

Continue reading