Category: linux
12/29/14 01:09 - ID#59699
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.
Permalink: Docker.html
Words: 377
Location: Buffalo, NY
Last Modified: 12/29/14 01:09
Category: dancing
12/29/14 12:22 - ID#59698
Terrying up the dance floor
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.
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:
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
VR Robots and nut butters
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
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.
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.
The creepiness of the Sahlen's place is about as creepy as a hot dog is if you think about it.
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
I think we were up until 5, at some point (e:yesthatcasey) and (e:masumi) got a nice tap on the window.
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
(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.
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
We had calzones, salad, a giant snickers, and baked apples.
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.
Masumi inspecting some of our Squeaky Wheel prizes.
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
I was surprised no one came out to chase me about taking a picture here.
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
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.
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!
Terry made a freaking delicious soup for us by the time we got home.
Permalink: Cafe_59_chickpeas.html
Words: 239
Location: Buffalo, NY
Last Modified: 12/21/14 02:36
Author Info
Date Cloud
- 08/24
- 04/24
- 06/23
- 01/23
- 11/22
- 07/22
- 03/22
- 02/22
- 01/22
- 12/21
- 11/21
- 08/21
- 12/20
- 08/20
- 01/20
- 12/19
- 10/19
- 12/17
- 02/17
- 01/17
- 12/16
- 11/16
- 10/16
- 09/16
- 08/16
- 07/16
- 06/16
- 05/16
- 04/16
- 03/16
- 02/16
- 01/16
- 12/15
- 11/15
- 10/15
- 09/15
- 08/15
- 07/15
- 06/15
- 05/15
- 04/15
- 03/15
- 02/15
- 01/15
- 12/14
- 11/14
- 10/14
- 09/14
- 08/14
- 07/14
- 06/14
- 05/14
- 04/14
- 03/14
- 02/14
- 01/14
- 12/13
- 11/13
- 10/13
- 09/13
- 08/13
Category Cloud
- allentown
- bikes
- birthday
- buffalo
- camping
- dancing
- food
- gay
- hiking
- house
- vacation
- work
- adirondacks
- allentown
- art
- beer
- bikes
- birthday
- birthdays
- buffalo
- camping
- cars
- cleveland
- computer
- dancing
- deutsch
- environment
- estrip
- family
- fashion
- food
- friends
- garden
- gay
- going out
- halloween
- health
- hiking
- holiday
- holidays
- house
- internet
- love
- movies
- music
- pets
- pittsburgh
- plants
- politics
- programming
- random
- rochester
- shopping
- swimming
- tech
- travel
- vacation
- weather
- winter
- work