Magnusviri
This website contains notes on various topics. Almost a blog, but not quite. Entries are sometimes updated.
Newest Notes
-
2017-02-08
Raspbery Pi's and APC UPS'es
I use Raspberry Pi's to monitor the status of my APC UPS'es. Here's how I set them up.
-
2016-04-19
Perl script that finds the seconds until the next day.
Sometimes you write a script you're really pleased with, only to find out it is unneeded.
-
2016-04-07
What is emond?
What I figured out about emond.
Life
-
2013-02-04
My Favorite Articles
Excerpts and links to some of my favorite articles. Current list: Leadership, Social Classes, Stock Market, Decision Makers, Quality Takes Time, Learning, Physical Strength, Commoditization
-
2011-04-18
Marzipan Cakes
Marzipan is an icing made from almond paste and sugar. Where to get marzipan cakes in Salt Lake City, Utah.
-
2008-02-04
MEI Travel Bags
Brief description of the MEI Voyager travel bag and traveling with one bag.
-
2005-10-04
Fixing the Dishwasher
I fixed my dishwasher.
Legos
-
2007-11-15
POV-Ray Lego clips
A few short movie clips I made using POV-Ray
Tech
-
2017-02-08
Raspbery Pi's and APC UPS'es
I use Raspberry Pi's to monitor the status of my APC UPS'es. Here's how I set them up.
-
2016-04-19
Perl script that finds the seconds until the next day.
Sometimes you write a script you're really pleased with, only to find out it is unneeded.
-
2014-07-15
SuperCollider
SuperCollider lecture notes on the topic of music and math.
-
2014-03-19
Intro to Computer Networking
Basics of computer networking. Enough detail and terminology to perhaps help someone do some basic home or small office network setup.
-
2012-10-09
Find and Replace Text Recursively with One Command
grep "SEARCH" /PATH | xargs perl -pi -e 's#SEARCH#REPLACE#g;';
-
2012-10-02
DIY Capacitive Stylus for iPad and iPhone
How to make your own capacitive stylus for iPad and iPhone using an anti-static bag.
-
2012-05-10
Classic Video Games
YouTube videos of old video games, mostly 16-bit, maybe a modern one in here.
Mac
-
2016-04-07
Reading the keychain from a perl script
-
2016-04-07
What is emond?
What I figured out about emond.
-
2015-09-08
The VirtualBox Interactive Shell
How come the VirtualBox Interactive Shell runs when OS X is installed in odd ways?
-
2015-09-08
Mounting VirtualBox HFS+ VDI files on OS X.
How to mount a VirtualBox VDI file that is formatted as HFS+ (Mac OS X guest) on an OS X computer (the host) and install the OS from the host.
-
2015-09-07
Click that mouse
Little command line tool to click that mouse
-
2015-01-22
Mac OS X 10.0-10.10 information and system requirements
A list of OS X versions with release dates and system requirements. This will be a work in progress.
-
2014-11-05
ELK
This page explains how to set up a central syslog server on OS X using ELK.
-
2014-11-12
OS X Server - Sieve
Using Sieve to do mail server filtering.
-
2014-10-15
OS X Server - Postfix Queues
My notes on dealing with Postfix queues.
-
2014-10-15
OS X Server - Dovecot
Notes on managing dovecot on OS X Server (3.1.2) on Mavericks 10.9.4
-
2014-10-15
OS X Server - Postfix
Notes on managing postfix on OS X Server (3.1.2) on Mavericks 10.9.4
-
2014-10-14
DSCL
Brief notes on dscl, Apple's Directory Service command line tool.
-
2014-07-16
OS X Server - Managing user accounts
Here are my notes on managing user accounts on OS X Server for a mail server. This includes but is not limited to Open Directory (OpenLDAP) users. Some setup, maintenance, and debugging tasks for Open Directory.
-
2014-07-16
OS X Server - Basics
Debugging and maintaining an email server on OS X Server (3.1.2) on Mavericks 10.9.4. This is all command line stuff, very little GUI stuff.
-
2014-04-18
Using heredocs in Apple Remote Desktop to run Perl/Python/Ruby code
An Apple Remote Desktop "Send Unix Command" trick to run perl instead of BASH.
-
2014-04-15
Removing Mac OS X ACLs and Extended Attributes
Recursively remove acls, extended attrs, and rm Time Machine backups.
-
2014-02-27
How to recover an OS X computer
If you break your computer some of these things might help you fix it.
-
2014-02-12
What is "/var/folders"?
Why is there no documentation for this dumb folder? Well, here's an attempt.
-
2014-01-17
Apple Boot Partition
`asr adjust -target /dev/disk0s3 -settype Apple_Boot`. In Mac OS X 10.7 Apple started creating partitions named "Recover HD". Here's some things you can do with it.
-
2012-03-19
CFAliasData vs BookmarkData
The difference between CFAliasData and BookmarkData. Plist files that use this data can be hard to manage because the code to create this data isn't exactly easy. This article should make it possible at least.
-
2008-01-01
OS X Terminal
A through discussion of the Terminal and UNIX commands.
Graveyard
-
2015-01-26
Radmind Tricks
Radmind tricks are things I've learned over the years.
-
2013-01-28
Quick Temporary Radmind Replicas
Sometimes I want to distribute a large overload (2-40 gigs) to all 600 of my computers as quickly as possible without bringing my radmind server to a halt. By turning some of my clients into temporary radmind servers I can use them to help distribute large overloads quickly. I run these steps using Apple Remote Desktop.
-
2012-08-02
Mobile Game Programming Lesson 6
This is the sixth lesson on how to program for mobile games. This lesson discusses intracting with a game, including buttons, touches, the accelerometer, and a virtual pad.
-
2012-07-31
Mobile Game Programming Lesson 5
This is the fifth lesson on how to program for mobile games. This lesson discusses animating sprites.
-
2012-06-21
Mobile Game Programming Lesson 4
This is the fourth lesson on how to program for mobile games. This lesson discusses images, sounds, tables, classes, for loops, and documentation. We look at a lot of example programs that come with Gideros Studio.
-
2012-05-27
Mobile Game Programming Lesson 3
This is the third lesson on how to program for mobile games. This lesson discusses words, also known as strings, errors, comments, and a fun game testing your mind's ability to unscramble words.
-
2012-05-26
Mobile Game Programming Lesson 2
This is the second lesson on how to program for mobile games. This lesson discusses numbers, math, and we write a program that draws graphs (don't use this to cheat in Algebra).
-
2012-05-24
Mobile Game Programming Lesson 1
This is the first lesson on how to program for mobile games. This lesson discusses programming in general, the basic building blocks of a program, event driven programming, and finally we write Tic Tac Toe.
-
2012-05-10
Gideros UIKit Plugin API
This is an API for the Gideros UIKit Plugin written by Michael Hartlef
-
2012-05-10
Gideros iCade Plugin
This is an iCade plugin for Gideros
-
2012-05-10
Gideros GameKit Plugin API
This is an API for the Gideros GameKit Plugin
-
2012-04-02
Radmind TLS (part 2)
Setting up -w2 and a script to automatically create and update certs.
-
2012-03-21
Gideros Downloader
Run an app built with Gideros Studio and simultaneously change it's source code and have those changes affect the running app.
-
2012-03-15
Radmind TLS (part 1)
How Radmind certs work, setting up -w1.
-
2012-03-13
Radmind and "Applefiles"
How radmind handles files extended file attributes on OS X.
-
2012-01-11
Open Radmind Item Service
This service uses the selected text in BBEdit or Terminal to open a command file, transcript, an overload file, or an overload directory in BBEdit. I've tested it with 10.6.8.
-
2010-10-13
UITableViewController with sections that need to be easily moved (design stage)
I have a subclass of a UITableView that basically is a "detail" view for some object.
-
2010-10-07
shouldAutorotateToInterfaceOrientation on iPad with 2 view controllers
While making Pumpkin Face compatible with the iPad I found out that rotation messages are only sent to the first view controller of the first view added to the window. This post describes how to send rotation messages to multiple view controllers (which you shouldn't do anyway but whatever).
Copyright 2017 James Reynolds