15. August 2017

Using Docker for Local Drupal Development

docker-drupal-hero-image

This is also posted on Code Koalas’s site.

Using Docker is great, it makes sure that every developer working on the project is using the same server and if it works on your machine it really should work on everyone’s. It’s also great because once you have it set up you can spin up aditional sites in a matter of seconds instead of trying to manage a local web server on your computer yourself. This blog should get you off the ground and get your first Drupal site spun up so you can get right into working on your site.

more

03. August 2017

Drunken JavaScript

This is also posted on Code Koalas’s site.

Here in The Crossroads of Kansas City on the first Friday of every month people open their offices and art galleries to show off new art and have a party. It’s called First Fridays. Not the most creative name, but at Code Koalas we wanted to do something a little more than just show off art and offer drinks and snacks. Since we’re a development company, we figured we should teach people to code. I was the one tasked with figuring out what that would look like and ultimately the one teaching this class every month.

I ended up deciding to teach people JavaScript, but specifically using Canvas to make a ball bounce around the screen. I’ve already written the blog on the JavaScript teaching I give every First Friday, and I’ve taught Canvas at Texas Camp. This blog isn’t a tutorial for how to write JavaScript, but more about what I’ve learned and experienced through teaching JavaScript to many people over the year, many of which were quite drunk.

more

11. July 2017

I Can't Even Canvas, But Now You Can!

This is also posted on Code Koalas’s site.

If you’re anything like me a couple years ago, you probably have avoided doing animations in Canvas because it’s crazy complicated and you’re just a person who can make websites, not a real programmer who can make games and things. But here’s the thing: you’re wrong. Making animations and games in Canvas is very easy and fun, I’d argue it’s easier than writing JavaScript for sites. If you can make a mobile menu, a carousel, or even just an alert() you can make a small animation in Canvas. I’ve taught this to children and very drunk people who know nothing about coding at Code Koalas First Friday events we host.

more

07. September 2016

100 Days of Code - Day 7

I just finished day 7! Where did the other days go you say… well I did them but only on github without blogs. I’ve been busy :) This in 7-10 hours is actually becoming a real thing. At this point here’s some key features I have done:

  • Fly around the screen with turning and when you hit the edge of the screen you go to the other side of the screen
  • You can shoot lasers by pressing the space key
  • Randomly generated asteroids appear and fly across the screen
  • You can shoot the asteroids and they disappear and you get a point
  • You can get hit by an asteroid and they disappear and you lose a point
  • I just today fixed my words which weren’t showing up. Turns out they were alwasy there… just black instead of white.

Most of the things in that list don’t work great but they work, I’m honestly impressed with how little I’ve worked on this.

more

03. September 2016

100 Days of Code - Day 3

Day 3 and I’ve hit my first big struggle! Turns out math is hard, or I’m just using it wrong. It’s probably me just using it wrong. I don’t know the equation to calculate your movement on a grid based on your current rotation, so I’m trying to make one up. I know all numbers I have to play with and what answer I’m looking for, it’s just trying to manuplulate those numbers to produce that answer is where I’m having the issue.

more

02. September 2016

100 Days of Code - Day 2

Great, it’s day two of 100 days of code. Guess what!? I sort of already failed… I got to work at 7:30am and left at 11:40pm. In that time I was able to get 45 minutes throughout the day where I worked on this code. I’m going to count it because I’ll make it up tomorrow and I coded the whole time and taught classes on how to code from 6pm-11pm so you cannot be too made at me.

more

01. September 2016

100 Days of Code - Day 1

Some people at work, Code Koalas, have decided to start doing the 100DaysOfCode. So I decided to do it too! I created a Trello Board where me and some people from work have posted their ideas on possible projects or things they want to learn. I don’t have a ton of time as I’m currently at work staying late on projects and took a hour break to do this. But here’s a link to my commit I got pretty far because I’ve previously created a Canvas template in CodePen which had probably 75% of that code you see.

I’m not 100% sure what I want to do with this project but right now the plan is for an Asteroids type of game. I’m trying to think of some cool multiplayer aspect to the game.

Well thanks for reading have a good night.

:wq

03. June 2016

Pocket Chip

I preordered a PocketCHIP and so should you! Seriously buy it now. Think GameBoy Color & Rasperry Pi put together and pre-built for $50 + s&h. The PocketCHIP runs linux, has a touchscreen and keyboard and runs PICO-8 which is a super cool retro fantasy console which you should just buy now and play with today. I also bought PICO-8 so I could play with it today (really last week) and start building a game. All the games are written in Lua (a language I don’t know but looks similar to Python and seems to just make sense) and it has sprite builders and music editors built into it. It’s a really cool thing and I’ll be playing with it when I get it in June.

21. May 2016

Training Friday - Headers in HTML

My first teaching on Friday was about Header elements in HTML, you know like h1,h2,h3,h4,h5,h6. All my information for this presentation was off mdn like where I get most of my information.

more