Go Neat Patch or Go Home



I spent the day setting up a new IDF. If you aren't using Neat Path in your network racks you just don't know how sweet life can be.

Quota Monitor Menu 3.0 beta ready for testing



The Situation: You have a Mac OS X Server with network home directories and disk quotas enabled. The Problem: The Mac OS Finder on client machines does not have very good support for warning users they are approaching their file quota limit. They end up all of sudden unable to save files with little or no explanation as to why.

Server Admin Debug Menu



While troubleshooting an issue with a setting in Server Admin not sticking I discovered its "Debug Menu". Apple has a habit of hiding useful menus like this in applications like Safari. To enable the menu read on...

Did some minor testing, got my name in the Chromium source code



Chromium has a Javascript library for detecting orientation in devices like phones, tablets and laptops that have accelerometers. I ran into an engineer at a meeting who needed some help testing this library on a specific Mac laptop that I had access to. Unfortunately, I didn't contribute any code, but I did get my name committed to the Chromium source code in a comment.

Simple Blogroll ported to Drupal 7



We have ported the Simple Blogroll module to Drupal 7. I did not write the original code, but I am now the new co-maintainer. You can see an example of it running on this site. This was my first attempt to write a Drupal 7 module and to use the new database APIs. Thanks to the coder module and some good documentation on drupal.org it was a relatively painless and straightforward process. 

taxonomy_node_get_terms_by_vocabulary replacement for drupal 7



taxonomy_node_get_terms_by_vocabulary() is not available in Drupal 7. I discovered this when I tried to install the Tweet Module whose D7 branch still relies on it. I re-wrote the D6 version of the function for D7 which returns the same array of term objects. This should help module maintainers port their D6 modules to D7. If there is a better D7 way to do this please let me know in the comments.

The Minecraft Teacher



A computer teacher has fallen in love with Minecraft. That in and of itself is not that abnormal. Many people feel strongly about this game and its cutting edge approach to free form gaming and world building. It has inspired music videos, documentaries and a very active and loyal fan base.



<?php
      $image_uri 
$node->field_image['und'][0]['file']['uri'];
      
$image_url_with_style image_style_url('square_thumbnail',$image_uri);
      echo 
'<img src="'.$image_url_with_style.'">';
?>

Send Email Example for Cocoa



This example Xcode project shows how to send an email from within a Cocoa application. It does not require that the user have any mail client configured. It requires you to specify a mail server and account to use in the code.

Technology Choices in Our Community



We sent report cards home electronically last week. The parents receive an email with a code and then log into a special section of our website. It provides us with a unique opportunity to get a complete snapshot of the technology our parents are using. These graphs were generated from our web server logs for the 48 hours following the emails being sent out. Only logs related to the the report card section of our website were used. This set should contain only our parents, and it should contain at least one entry for every family in the school.

Base64 encode and decode an NSString in Cocoa



Matt Gallagher has a NSData+Base64 catagory for extending an NSData object. I wanted to be able to encode and decode an NSString both ways.

 

Perfect sound, I have found you



I have been searching for a good iPod speaker system for a while now. After what I considered to be disappointing sound from both the Bose SoundDock II and 10 models I have found iPod sound Nirvana.

An open letter to Smart Technologies



We the undersigned met recently at the NYSAIS Education and Information Technology Conference held this November 12th -14th 2008 at The Mohonk Mountain House. During a session entitled “Smartboards Do Not Work Very Well” we attempted to identify the common problems we all have with our Smartboards. It was clear from our conversation that most of us had made significant investments in Smartboard technology and wished to continue to integrate interactive whiteboards into our communities.

QuotaMonitorMenu 2.0



The Situation: You have a Mac OS X Server with network home directories and disk quotas enabled. 

The Problem: The Mac OS Finder on client machines does not have very good support for warning users they are approaching their file quota limit. They end up all of sudden unable to save files with little or no explanation as to why.

The Solution: QuotaMonitorMenu places the user’s home folder quota status right in the menu bar. It will also pop up warnings at regular intervals.

All warnings and text are customizable.

Core Data Drag and Drop With Groups



In this example you are able to use drag and drop to change the order of items in a single tableview, and to change group membership of nested items in objects with relationships, all with Core Data. The behavior is like iTunes style Playlist / Song relationships.

A few other bonuses:

Example: Some common uses of the keychain



Subscribe to agerson.net RSS
© 2011 Adam Gerson.