First I found this helpful doc which got me part of the way there. Intention on that gist was only to be able to switch back and forth, not running simultaneously. https://gist.github.com/ivanvermeyen/c2dfb8ad55a4fb699c5913a09422c1d9#cleanup Basically; * First wipe all mysql instances off * Install the first mysql with homebrew * Change the data dir to a version […]
Continue readingCategory: Computing
Responsive Photo Album
I wanted a responsive photo album unlike anything I could find, plus I prefer to host all my photos myself. So I wrote this with node on the backend and just plain javascript on the front end + just a little bit of jquery. Here’s the app: http://spa.1mikemakuch.com/ and source: https://github.com/1MikeMakuch/photoalbum
Continue readingPiping shell commands
I did some looking at my shell history for the past year or so and made some casual observations, here: Most used shell commands and wanted to single out a number of commands and pipes that might be interesting to someone. What follows is a handful of commands from my shell history, from the last […]
Continue readingMost used shell commands
I remember reading that “ls” was the most commonly used shell command. Not sure why I thought about it today but, it dawned on me that I could easily calculate it directly from my shell command history. Years ago I went about configuring my shell command history options to my liking. Among several others are […]
Continue readingPortfolio
Here’s some of the software I’ve built. I have more experience on backends but I’ve built several frontends as well. This is a responsive brochure site I created, July 2017 This is a responsive SPA I built in spring 2017. It’s a web app to display sets of photos. Node on the back end and […]
Continue readingKeyboard customization for Emacs
In order to use Emacs effectively you have to customize your keyboard bindings. You really do have to do this one way or another. For a long time I tried to use the “standard” emacs bindings but eventually I realized you really can’t be productive that way. I’ve been using Macbooks for several years now […]
Continue readingC array subscript weirdness
$ cat test.c #include <stdio.h> int main() { int a[2]; a[0]=0;a[1]=0; 1[a] = 1; // weirdness printf(“%d %d\n”,a[0], a[1]); } $ gcc -o test test.c $ ./test 0 1 The subscript operator is commutative for what ever reason. *(a + 1) < => a[1] < => 1[a]
Continue readingGeneric makefile for easily building 1 file programs
I’ve always found myself writing short little programs to test out an idea or learn how a language feature/bug works. Often they’re throw away programs, once finished they’re no longer needed. So often it ends up being test.c/test.cpp/test.java etc. But sometimes I like to keep it around so they’ll end up with a meaningful name […]
Continue readingCS371P #14
Oops, one more blog. *this is the last one. Today was the last day of the semester. Took the final test today. I found it to be shorter than exam 2, which helped. I was able to finish the test and go back over and check for mistakes. I’m sure I did well enough. I’ve […]
Continue readingCS371P #13
Last week of the semester and this is the last blog. I did manage to get quite a bit of studying done over the break though not as much as I had hoped. This my first semester back to school has been an interesting and fun experience. I’ve learned quite a bit of C++ that […]
Continue reading