It took every bit as long as I feared to port everything, but this blog is now powered by Jekyll. Of course, Jekyll couldn’t host all my old content out of the box. Here are the tweaks I made:
- Enabled pagination.
- Disqus for comments.
- Initializr HTML/CSS templates.
- I found the Maruku parser for Markdown was choking on my old embedded HTML, so I switched to Redcarpet via the configuration.
- Some posts linked to other posts, so I had to alter them to use Jekyll’s
- All my old code was in
<pre>blocks, so I had to switch it to use Jekyll syntax highlighting.
- Initializr wrapped code snippets by default. Adding a CSS style of
overflow: automade them scroll instead (if they were too wide for the page).
- Mou (OSX only) is a pretty sweet Markdown editor. I’m just starting with it, but I already like it.
I’m glad to have this done. The record of one’s development career should not be trusted to something as brittle as a Wordpress database. Plus, Markdown and Git are just how I work, now. Maybe if the flow of writing is a little more natural, I’ll get this thing updated more often.Read more...
Scary (and not in the terrorism sense). The stock market is completely automated now, and this is all it takes to cause a major disruption. http://blogs.wsj.com/moneybeat/2013/04/23/stocks-plunge-quickly-recover-on-fake-tweet/
Also, if even the AP can’t keep an account secure, what hope do the rest of us have? We need a replacement for passwords that’s safe and yet easy to use.Read more...
Originally wrote this as a Facebook post to guide my brother, who’s been stuck in Windows-land for a long time and needs to learn some Linux for work…
I dunno why there still isn’t a single definitive reference I can point someone to… Too big a topic, I guess.
Learn to ignore elitists who tell you you’re going to shoot your eye out. You don’t need to know everything - wait until you get stuck, and then Google the error messages you get. (In the bad old days you used to be able to erase your whole file system, but nowadays ordinary users aren’t given the kind of system permissions that would let them do that kind of harm.)
Learn some commands. I spend the most time with these:
SSH: Get to prompts on remote systems. Learn this one inside and out, including passwordless login via public/private keys.
man: Bring up a manual page on any command. Reading manpages is itself an art, so find a good tutorial on fully understanding manpages.
bash: Learn this shell; it’s the most common. It will change the way you work with files forever. Learn how to pipe programs’ standard input and output. Learn how to redirect output to a file.
ls: List files and directories. Learn this inside and out.
find: recursively search the whole hard drive for files and folders.
xargs: run commands on the files brought up by ls and find.
chmod: Control who can read, write, and execute (run) files. This will cause you grief if you don’t know it.
scp: Secure CoPy. Transfer files. Combines with SSH to do it passwordless-ly.
rsync: Even more powerful copying tool. Again, combines with SSH.
less: Read text; something you’ll need to do a lot. man and other programs pipe output through less, so learning it is worthwhile. Especially learn its string search capabilities.
vi: If and only if you have to edit files while they’re sitting on a remote server, learn vi. It’s a pain, it’s counterintuitive, and you’re going to be expected to know it.
cron: Schedule commands to be run at a particular time of day/week/month/year. Look like you’re working hard when you’re not even at the office.
Get a buddy. Until you have some experience, you’ll want someone to confer with on the best way to do things. If a local buddy isn’t available, get good at Googling and posting questions on forums like ServerFault.
…all that’s a bit much, I know. If you learn only two of those, learn SSH and bash. Any time spent learning these topics will pay dividends, even if all it does is save you time.Read more...
I brought some SNES games to Heatsync Labs’ Vintage Game Night in Mesa tonight…
Attendee: “Cool, Tetris Attack? You guys should be playing this one.” Me: “You show excellent taste, sir. I bet you’ll appreciate this…” [I reach into a box to retrieve my prized Japanese import…] Attendee: “Oh, did you bring Panel de Pon?”
…There’s no impressing anyone any more. :PRead more...