Journaling on estrip is free and easy. get started today

Last Visit n/a |Start Date 2013-08-27 00:03:27 |Comments 327 |Entries 1,023 |Images 5,125 |Sounds 5 |Videos 56 |Mobl 442 |Theme |

Category: linux

12/29/14 01:09 - ID#59699 pmobl

Docker


I've been working on the redeveloping the Squeaky Wheel website and coming up with a brand new member management and equipment app for them. Most of the project is not that interesting but I have learned something new - Docker.

Basically there are containers that use parts of the host machines kernel, that then combines them with other services you want to run isolated from the rest of the machine. You can build images of different configurations and version control them with git. Everything configuration can be described by docker files. Its basically a more lightweight and flexible virtual machine. I felt behind for not having used this before but it's pretty awesome.

In my set up, I wanted to have a virtual machine running the member app, and a front end running WordPress. (e:Paul) didn't want to use two IPs and I don't want to run a frequently exploited app like WordPress on the host, so docker was a good solution to isolate it.

In the end I based an container off of a prebuilt CentOS image, with PHP, MySQL and Apache installed and went through the configuration. I could pull the MySQL data store out into its own persistant data container by running
docker run -v  /etc/mysql centos mysql-data
. This lets the data be reused across multiple containers.

Next I set up a WordPress directory on the host VM, so that I could version control changes with git. After this, the WordPress container can be spun up by mounting the data container and mapping with MySQL, mapping the host wordpress directory into the Apache's root document folder and forwarding another port on the host machine to port 80 and 443 to the container. I will post the command once I'm on the computer.

All I needed to do after that was set a VirtualHost proxy to the container. The best part after this was how easy it was to spin up a second Dev environment for someone else - I just cloned the Wordprsss directory and ran the command another time with a different port and name.

Now that I have done this I think spinning up apps will be so much easier. Maybe I can pick start doing more server admin work like Paul.

print addComment

Permalink: Docker.html
Words: 377
Location: Buffalo, NY
Last Modified: 12/29/14 01:09


Category: dancing

12/29/14 12:22 - ID#59698 pmobl

Terrying up the dance floor

Funky Monkey was pretty blah until (e:terry) busted out his moves for "Turn Down for What". Booties were shaking.

image

The rest of the night we had a good time hanging out with Jeremy, (e:Robert), Mickey and Mark. here is Robert lost in (e:Paul)'s VR world.
image


print add/read comments

Permalink: Terrying_up_the_dance_floor.html
Words: 50
Location: Buffalo, NY
Last Modified: 12/29/14 01:33


Category: flying

12/27/14 09:32 - ID#59693

The new drone


(e:mike). the drone you gave (e:Paul) is fucking awesome.

Yesterday we flew the drone (AR Drone 2.0) out at the church. its very difficult - you fly it using your phone, looking through the HD camera on the drone. Plenty of crashes, and thankfully it takes a beating.

Today we flew it with Jeremy - it turns out that since my phone was in German, we missed the settings for indoor vs outdoor flight, and calibrating the accelerometers on flat ground. He was a lot better at it.

I really think there's so much potential for this. There's an SDK and you can also preprogram flights. Imagine flying around and getting a birds eye view of the neighborhood, or following your bike ride. (e:libertad) thinks we could even inspect his roof.

I need to practice this. Much better than driving a car.

Testing Paul's new drone:

print add/read comments

Permalink: The_new_drone.html
Words: 153
Location: Buffalo, NY
Last Modified: 12/28/14 05:26


Category: christmas

12/25/14 11:27 - ID#59686 pmobl

VR Robots and nut butters

After Christmas eve, we decided to open presents. (E:Paul) and I got (e:terry) a PlayStation. They got me a new case of nut butters. And (e:terry) and I got Paul the Samsung VR goggles. I have a feeling we will never see his face again - the glasses are so cool.

image

image

image

print addComment

Permalink: VR_Robots_and_nut_butters.html
Words: 57
Location: Buffalo, NY
Last Modified: 12/25/14 06:20


Category: buffalo

12/22/14 02:14 - ID#59678

Canalside rinks

(e:terry) and I took a wintry walk downtown to the new canals while (e:paul) went out to hang with (e:hodown). It was also winter solstice which means it only gets brighter from here on out!

image
Waste of power!

The new ice canals are so freaking awesome. I want to a get a season pass for four people - only $75. Plus (e:yesthatcasey) could ride the ice bikes. If we got skates it'd be so easy to go down there and it looked a lot nicer than the Rotary Rink.
image
image

image
Terry and I ran back and forth up to the concrete phallus that used to be HSBC. It's super trippy to look up at something so big from it's plaza.
image
The creepiness of the Sahlen's place is about as creepy as a hot dog is if you think about it.
print addComment

Permalink: Canalside_rinks.html
Words: 149
Location: Buffalo, NY
Last Modified: 12/23/14 10:15


Category: going out

12/21/14 02:40 - ID#59677

Bachelor party

(e:terry) and I headed out to Kallie's brother Curt's bachelor party at Big Orbit Gallery. I talked a bunch with a country bro and we got to watch two drunk people fall in slow motion.

I think we were up until 5, at some point (e:yesthatcasey) and (e:masumi) got a nice tap on the window.

image

image

image
print addComment

Permalink: Bachelor_party.html
Words: 60
Location: Buffalo, NY
Last Modified: 12/22/14 11:16


Category: cars

12/21/14 02:39 - ID#59676

My own personal hell

We went Christmas shopping with (e:mike) at the Galleria. I think it approaches what I'd consider hell.

image

image

(e:terry) and I got to go see the animals at the pet store while Mike and Paul went to the craft store. If anyone was struggling to find a calender of guinea pigs playing sports, they sell one.
image

image
print add/read comments

Permalink: My_own_personal_hell.html
Words: 61
Location: Buffalo, NY
Last Modified: 12/21/14 11:16


Category: holiday

12/21/14 02:39 - ID#59675

Festivus for the rest of us

Friday my family came over along with (e:yesthatcasey) and and Masumi to celebrate Festivus.

We had calzones, salad, a giant snickers, and baked apples.
image

image
The best part is probably the airing of grievances, where basically everyone gets
to yell at each other for minor issues. I feel like it's a real family bonding experience.
image

image

image

image
Masumi inspecting some of our Squeaky Wheel prizes.
print add/read comments

Permalink: Festivus_for_the_rest_of_us.html
Words: 69
Location: Buffalo, NY
Last Modified: 12/22/14 10:04


Category: religion

12/21/14 02:38 - ID#59674

A scientologist christmas

Do the Scientologists not find anything weird about having a christmas tree in their window?

I was surprised no one came out to chase me about taking a picture here.
image
print addComment

Permalink: A_scientologist_christmas.html
Words: 33
Location: Buffalo, NY
Last Modified: 12/21/14 10:58


Category: food

12/16/14 10:10 - ID#59662

Cafe 59 chickpeas

We eat at Cafe 59 almost twice a week lately. I am so obsessed with the Moraccan Spiced chickpeas. It's almost the only thing I ever order there - spiced chickpeas, on warm greek yogurt, with a salad.

Most of the times the portions are huge enough to make my stomach hurt. If you consider I've been working at Roswell for 23 weeks, at at least two cups of chickpeas a serving, probably averaging 1.5 times a week - it's too many chickpeas (69) or 25000 calories worth of them. I also think I'm the only person who ever orders them. The waitress knows I'm going to order it when I get in.

image

This week at work I've started orientation. The classes are not very useful at all and it'd probably be much more worth it if I was programming during them, but I did meet a researcher from Germany who I want to try out my German on.

After work (e:paul) and I went to (e:terry)'s new office to help straighten out the networking situation. We wanted to move the office off of using their desktop Windows server as a DNS and on to openDNS, but we couldn't figure out to log into the switch, only the firewall. Eventually Paul found the switches address over nmap and surprise, it was the default password. Success though!

image
Terry made a freaking delicious soup for us by the time we got home.

print addComment

Permalink: Cafe_59_chickpeas.html
Words: 239
Location: Buffalo, NY
Last Modified: 12/21/14 02:36


Search

Chatter

New Site Wide Comments

sina said to sina
yes thank you!
Well, since 2018 I am living in France, I have finished my second master of science,...

paul said to sina
Nice to hear from you!! Hope everything is going great....

paul said to twisted
Hello from the east coast! It took me so long to see this, it might as well have arrived in a lette...

joe said to Ronqualityglas
I really don't think people should worry about how their eyelids work. Don't you?...