(for booting on MacBookAir)
- My card: Transcend 32GB SDHC Class10
- a USB stick (for Archlinux bootable USB)
- A MacBook Air, of course
; new mouse: microsoft comfort 6000, | |
; custom side-button behavior by autohotkey, | |
; => helpful for browser webpage (FB/blog/news) | |
XButton1::Send {PgDn} | |
XButton2::Send {PgUp} | |
~LButton & XButton2::Send {Home} | |
~LButton & XButton1::Send {End} |
diff -cr ruby-2.0.0-p247.orig/file.c ruby-2.0.0-p247/file.c | |
*** ruby-2.0.0-p247.orig/file.c 2013-04-25 00:43:05.000000000 +0900 | |
--- ruby-2.0.0-p247/file.c 2013-10-29 14:21:53.112722600 +0900 | |
*************** | |
*** 4181,4187 **** | |
#ifdef __CYGWIN__ | |
#include <winerror.h> | |
- extern unsigned long __attribute__((stdcall)) GetLastError(void); | |
#endif |
(for booting on MacBookAir)
Leaving this for historical reasons, but with the latest iteration I set up proper dotfiles. Check em out
After too many years of tinkering my machine is a bit all over. With Mojave High Sierra Montery I wanted to start fresh
Make sure everything is up to date.
There are a lot of ways to serve a Go HTTP application. The best choices depend on each use case. Currently nginx looks to be the standard web server for every new project even though there are other great web servers as well. However, how much is the overhead of serving a Go application behind an nginx server? Do we need some nginx features (vhosts, load balancing, cache, etc) or can you serve directly from Go? If you need nginx, what is the fastest connection mechanism? This are the kind of questions I'm intended to answer here. The purpose of this benchmark is not to tell that Go is faster or slower than nginx. That would be stupid.
So, these are the different settings we are going to compare:
#!/bin/bash | |
# where to store the sparse-image | |
WORKSPACE=~/Documents/workspace.dmg.sparseimage | |
create() { | |
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE} | |
} | |
detach() { |
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.