Browsed by
Category: General

Beer Pong in Singapore

Beer Pong in Singapore

It has been a while since I last played beer pong, but while traveling for work I found an awesome spot with probably the coolest beer pong tables I have ever seen. The venue is called PONG Singapore, it is in a great location at the heart of lots of action downtown. It also has very easy access when you get dropped off by a cab. The staff here was really cool, I was traveling solo and they helped me…

Read More Read More

Write It! Arabic – Phone App

Write It! Arabic – Phone App

I picked up a new phone app that I really liked about a week ago. I had been trying to learn the Arabic alphabet for a while now, annoying my wife to teach me was not yielding the right result either, but hey, it was worth a shot! Write It! Arabic available here for android and here for iPhone. If you are trying to learn, I highly recommend it. This is better than the flashcards I was trying to make…

Read More Read More

Debian: Set the Resolution by Command Line

Debian: Set the Resolution by Command Line

This weekend I ran into a trivial issue I usually ignore since I will use putty for virtually everything on a Linux virtual machine. I fired up a VM I downloaded and the resolution was 800×600 by default, which compared to the 4k landscape I have available was a little less than ideal. It was a Debian based OS, so the fix was pretty simple. Fire up the terminal and type in “xrandr”, in my case the display was “Virtual1”,…

Read More Read More

CSV with LAT and LONG of All Countries

CSV with LAT and LONG of All Countries

I spent a whole 2 minutes searching and didn’t find this online, but Google had one in a table format. Here it is CSV ready, this will be used for the next tutorial and inserted into a MySQL database. country,latitude,longitude,name AD,42.546245,1.601554,Andorra AE,23.424076,53.847818,United Arab Emirates AF,33.93911,67.709953,Afghanistan AG,17.060816,-61.796428,Antigua and Barbuda AI,18.220554,-63.068615,Anguilla AL,41.153332,20.168331,Albania AM,40.069099,45.038189,Armenia AN,12.226079,-69.060087,Netherlands Antilles AO,-11.202692,17.873887,Angola AQ,-75.250973,-0.071389,Antarctica AR,-38.416097,-63.616672,Argentina AS,-14.270972,-170.132217,American Samoa AT,47.516231,14.550072,Austria AU,-25.274398,133.775136,Australia AW,12.52111,-69.968338,Aruba AZ,40.143105,47.576927,Azerbaijan BA,43.915886,17.679076,Bosnia and Herzegovina BB,13.193887,-59.543198,Barbados BD,23.684994,90.356331,Bangladesh BE,50.503887,4.469936,Belgium BF,12.238333,-1.561593,Burkina Faso BG,42.733883,25.48583,Bulgaria BH,25.930414,50.637772,Bahrain BI,-3.373056,29.918886,Burundi BJ,9.30769,2.315834,Benin BM,32.321384,-64.75737,Bermuda BN,4.535277,114.727669,Brunei BO,-16.290154,-63.588653,Bolivia BR,-14.235004,-51.92528,Brazil BS,25.03428,-77.39628,Bahamas BT,27.514162,90.433601,Bhutan…

Read More Read More

Google Maps API Part 1

Google Maps API Part 1

This segment on my blog will be part of a large series on using the Google Maps API. Part one will cover rendering a basic map with a few places I have been to in 2018. First thing is first, a lot of information on the API can be found here. Where to start was the question, well I needed a list of all of the countries in the world along with their Latitude (LAT) and Longitude (LONG). I was…

Read More Read More

Marrying a Kuwaiti Women as a Non-Kuwaiti Man – K1

Marrying a Kuwaiti Women as a Non-Kuwaiti Man – K1

Back in August of 2015 I had posted about marrying a Kuwaiti women in Kuwait without the consent of her guardian. The posting has been well received and gotten a few comments and a storm of emails over the course of the last year or so. I personally never finished out the process, due to business travel taking priority over a sheet of paper made difficult to obtain by loads of red tape. It seems like every time you make…

Read More Read More

Experimenting with vSphere PowerCLI – Portgroups

Experimenting with vSphere PowerCLI – Portgroups

Despite last weeks frustration with enhanced LACP and vDS through vSphere PowerCLI, some things can still be automated while others will have to be done by hand. I looked into the deployment of PortGroup’s as the next logical step, here is what I came up with so far: # Create Portgroups Get-VDSwitch -Name “vTest” | New-VDPortGroup -Name “Windows Servers” -PortBinding Static -Numports 32 -VlanID 100 Get-VDSwitch -Name “vTest” | New-VDPortGroup -Name “Linux Servers” -PortBinding Static -Numports 32 -VlanID 101 This…

Read More Read More

Experimenting with vSphere PowerCLI – vDS and LACP

Experimenting with vSphere PowerCLI – vDS and LACP

This week as the year winds up I was experimenting with vSphere PowerCLI and noticed that when I go to create a Virtual Distributed Switch (VDS) through PowerShell I am able to create it, but it does not support enhanced LACP out of the box. It actually behaves identically to how it would if I created it in the fat client instead of the web client. # Create VDS New-VDSwitch -Name “vtest” -Location “Las Vegas” -LinkDiscoveryProtocol “CDP” -LinkDiscoveryProtocolOperation “Listen” -NumUplinkPorts…

Read More Read More

Graduate Study

Graduate Study

Not long ago, I finished the last class in the graduate program I was taking at Boston University. I wanted to provide a brief review of the program that I took. I started the program in September of 2013, the admission process was overall pretty straight forward. So long as you have good grades, a strong statement of purpose, and your transcripts ready, it seemed very easy to make this dream a reality. The classes were moderately difficult in my…

Read More Read More

Error Installing Gems

Error Installing Gems

I spun up a new instance on Amazon AWS to learn some ruby for one of my classes online and notice I kept getting the below error: [ec2-user@ip-xx-xx-xx-xx ~]$ sudo gem install Fetching: xxxxxxxxxxxxxxxxxxxx (100%) Successfully xxxxxxxxxxx Fetching: multi_json-1.10.1.gem (100%) Successfully installed multi_json-1.10.1 Fetching: rubyzip-1.1.6.gem (100%) Successfully installed rubyzip-1.1.6 Fetching: ffi-1.9.3.gem (100%) Building native extensions. This could take a while… ERROR: Error installing xxxxx: ERROR: Failed to build gem native extension. /usr/bin/ruby2.0 extconf.rb mkmf.rb can’t find header files for ruby…

Read More Read More