tag:blogger.com,1999:blog-59268720276533280692024-02-22T11:38:05.760-07:00MacTipsA reference to make things easier for me and youAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-5926872027653328069.post-60646227471923760572014-10-17T20:21:00.001-06:002014-10-17T20:21:31.139-06:00How to only show Notifications for certain inboxes in Mac MailThough I use several email accounts in Mac Mail, I primarily care about one of the accounts. For the past few years, I've ignored notifications for the other accounts, but I finally decided to do something about it. The solution is a bit unintuitive, but it serves its purpose.
Looking in Notification Center system preferences on Yosemite (10.10), there's simply generic settings for how/when you Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-11916116415285859132013-06-13T20:02:00.000-06:002013-06-13T20:02:23.788-06:00How to Enable WebGL in Safari
Go to the Safari menu and click Preferences.
Click on the Advanced tab.
Tick "Show Develop menu in the menu bar".
Go to the Develop menu and click Enable WebGL.
Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-91932074808382124102012-09-21T21:33:00.000-06:002012-09-21T21:33:13.501-06:00How to disable Facebook and Twitter integration in Mountain LionWhile for some people this may be a killer feature, I hardly use Facebook or Twitter and have no plans to share content through those services. Email suits me just fine. As such, I didn't want to have those listed in Mountain Lion's Share Sheets.
So, I grepped for Facebook and got this:
$ find /System -name Facebook -print 2>/dev/null
/System/Library/InternetAccounts/Facebook.iaplugin/ContentsAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com1tag:blogger.com,1999:blog-5926872027653328069.post-48989074759579461612012-09-18T21:35:00.000-06:002012-09-18T21:35:17.486-06:00The quest for a free dynamic DNS (DDNS) serviceBeing self-hosted has its perks, but my ISP periodically updates my home IP, and often I don't notice until several days have gone by. I've looked for a while for free dynamic DNS services, as GoDaddy doesn't have this option, but the few I found had major problems I didn't want to deal with (e.g. limitations on the number of zones I could add, or a requirement to allow others to create free Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com3tag:blogger.com,1999:blog-5926872027653328069.post-75872890253774218982012-09-18T21:34:00.001-06:002012-09-18T21:57:59.664-06:00ddns: a Dynamic DNS updater for NamecheapFor any Mac/Unix/Linux users out there, I've created an extremely lightweight dynamic DNS client I'm calling ddns. The current version is 0.82.
Only works with Namecheap's DDNS service, which is free. For information on how to set that side up, visit my post here
Updates the A Record (DNS zone) of your choice with your current IP
Written in bash and requires curl and awk, which most distros Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com2tag:blogger.com,1999:blog-5926872027653328069.post-46501166123818508142012-05-05T20:33:00.001-06:002012-05-05T20:41:27.616-06:00How to enable the root account login on OS X and other Unix and Linux systemsFor security reasons, many Unix and Linux systems, including OS X and Ubuntu, install with a locked or disabled root account by default, with no password (not to be confused with a blank password). As such, it isn't possible to log directly into root shell or use su. Instead, the default user is given administrator access. That being said, below are three ways I found to access the root shell in Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-50312226558383444802012-05-05T19:29:00.000-06:002012-05-05T19:29:09.004-06:00How to solve "sudo: cannot get working directory" errorPeriodically, you may get the following error:
sudo: cannot get working directory
This error means that the directory you are supposedly in no longer exists. You can fix this by simply moving to a different directory, i.e. your home:
cdAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-44168235105697181992012-05-05T19:21:00.001-06:002012-05-10T19:00:45.293-06:00How to install the MySQLdb Python module on OS X LionThese instructions have been tested on a machine running OS X Lion and Python 2.7.1, but should work for most any Intel setup. Most of the setup is explained in the README file included with the source, and the error at the end was solved per a thread here.
Download MySQL for Python (the MySQLdb module) source from http://sourceforge.net/projects/mysql-python/ and extract the tar.gz file.
Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-74535790660308912912011-11-26T18:22:00.000-07:002011-11-26T18:22:37.333-07:00How to Show the User Library Folders in Mac OS X 10.7 (Lion)By default, Lion hides the user library folders in the Finder. You can still open them by pressing Cmd-Shift-G and typing the folder name in manually, but if you access the folder often, this can prove tedious. Note that thus far, every update (10.7.1 and 10.7.2) has reset the folder flags to hidden, so a simple repeat of the command will make them reappear. Simply type the following into your Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com2tag:blogger.com,1999:blog-5926872027653328069.post-59041354647299850302011-11-26T18:12:00.003-07:002011-11-26T18:13:26.105-07:00Lion defaults tweaksMany tweaks exist through the Terminal command defaults. Some of those specific to Mac OS X 10.7 have been included in Lion Tweaks, a standalone app. Also, there is a wonderful prefpane called Secrets, but while many of the tweaks available there still work on Lion, it has not yet been updated with new "secrets", so listed below are some of the tweaks I've found:
Disable resume for most Apple Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com3tag:blogger.com,1999:blog-5926872027653328069.post-79492709221740462932011-11-09T20:17:00.000-07:002011-11-09T20:17:39.957-07:00How to Unstick a Stuck Mac App Store DownloadPeriodically you may try to install/download/update an app in the Mac App Store (MAS) and it will sit there "waiting" indefinitely. Restarting the MAS doesn't seem to help. What did work for me was the following:
Quit the Mac App Store.
Navigate to /Applications/Utilities/
Open Activity Monitor.app
Search for "storeagent".
Select it, choose "Quit Process".
When asked if you really want to quit Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com5tag:blogger.com,1999:blog-5926872027653328069.post-92047632621257259272011-06-28T21:18:00.000-06:002011-06-28T21:18:59.231-06:00Adventures in changing the black navbar in GoogleAdding the following user styles to your browser should get it looking clean again:
Make black navbar white and remove navbar's bottom border:
#gbx4 {
background-color: #fffffff;
border-bottom-width: 0px;
}
Make the top text black again:
#gbg .gbgt {
color: #fff!important
}
Make the selected item black again:
.gbz0l .gbts {
color: #000;
}
Also, the settings icon for a white background isAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-62283612370177561552011-05-03T22:18:00.000-06:002011-05-03T22:18:06.892-06:00Konami Code Javascript implementationI developed this to navigate my site with various shortcuts. My specific implementation can be seen here, and allows various keypress sequences to go to different pages (try typing "home" right now, for example).
What makes this code unique is that there is no ever-increasing array to check against, thus keeping the runtime memory free as can be. It is also extremely flexible and allows for manyAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-9815682628084170902011-03-13T19:46:00.001-06:002011-03-16T11:51:17.149-06:00Does the Actiontec GT701R DSL Modem support ADSL2+?I recently upgraded from 7Mbps to 12 Mbps download from Qwest. My Actiontec GT701R DSL modem had done well thus far (I use a transparent bridge with my Airport Extreme), and after being warned by Qwest that my router probably wouldn't work with the higher speeds, I wasn't too concerned, as I figured I could buy a new one for cheap as necessary (they wanted to charge me $90 for a new one). I did Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com2tag:blogger.com,1999:blog-5926872027653328069.post-44998255037725941652011-03-13T19:22:00.001-06:002015-01-15T17:02:19.788-07:00How to Override "No Ink" Error on a Canon PIXMA MX700When a Canon PIXMA MX700 runs out of any ink, it prevents you from using it, giving the following error message:
U163: The following ink has run out. Replace the ink tank.
This can be a pain, especially when you want to scan, or if you still have black ink and that's all you need to use. There are two methods that will work to temporarily clear this until you are able to get new ink (which, by Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com164tag:blogger.com,1999:blog-5926872027653328069.post-69524724768884543742010-12-10T23:23:00.001-07:002010-12-13T18:21:36.870-07:00Bugs and Annoyances in Office 2011Last updated: 18:21, 13 December 2010
This list is in no particular order. I don't use Outlook or Communicator and thus probably won't run across problems with them. Let me know if there are solutions...
All:
The installer (and subsequent updates) require quitting Safari to finish.
The preferences windows, although similar to System Preferences in layout, contain a "Cancel" and "OK" button Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-32244810274634269822010-12-02T12:04:00.001-07:002010-12-02T18:52:11.479-07:00How to Fix Broken Bullets in OpenOffice for MacThis tends to happen when opening a .doc(x) file in Writer, or after saving it as a .doc(x) file from Writer then reopening the file. A temporary fix is to unbullet then rebullet the text, but upon saving and reopening, the broken bullets will return. For some, the character looks like a black clapperboard but for me (and in most other documented cases), the broken character looked like this:
Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com9tag:blogger.com,1999:blog-5926872027653328069.post-32866374602156889412010-11-20T16:05:00.001-07:002010-11-20T20:46:41.676-07:00Method for Checking the Values of Strings in PerlAlthough I've been convinced that Perl is far from an ideal language to work with, I was required to recently do some text processing with it. Some strings seemed equal but apparently weren't because my code wasn't behaving as desired.
My brother came to my rescue twice, and came up with this handy script:
sub print_codes {
my $value = shift;
foreach (unpack("C*", $value)) {
print " '$_'\n";
}Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-29070073559602766082010-11-20T15:37:00.006-07:002010-12-09T14:35:18.412-07:00Microsoft Office 2011 HUP Availability14:25, 9 December 2010:
Update: Office 2011 is now available on the Home Use Program (HUP) site!
For those who qualify and have Macs, you've probably been wondering when Office 2011 will be available for the Microsoft Home Use Program. After some research on 26 October (when it was released for retail) turned up nothing, I sent a few emails and got this as a reply:
Thanks for your question. Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com2tag:blogger.com,1999:blog-5926872027653328069.post-9344709771816605262010-11-09T14:47:00.001-07:002010-11-09T14:48:00.537-07:00How to Edit the Login Window in Snow LeopardThis shows how to open the login window files. It requires Apple's Developer Tools, which can be downloaded here for free if you have a free developer account.
I don't completely understand how the login window elements work together, so anyone with more knowledge can chime in through comments and I'll update this post. I do know these steps have worked since Jaguar (10.2) with some tweaks to Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-81372353816858420412010-11-09T14:46:00.000-07:002010-11-09T14:46:12.083-07:00How to Open Compiled .nib Files in Snow LeopardWhen attempting to modify a file with Interface Builder, you'll possibly get the below error, particularly when editing system files:
"The document "LoginWindowUI.nib" could not be opened. Interface Builder cannot open compiled nibs. Try opening the source document instead of the compiled nib."
The problem comes from the .nib file not containing the classes.nib and login.nib files. The fix is Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com13tag:blogger.com,1999:blog-5926872027653328069.post-19901458081580744492010-11-07T20:13:00.000-07:002010-11-07T20:13:07.564-07:00How to Easily Enable Root in Snow LeopardMake sure to choose a secure password. This requires an administrator account.
Open Terminal.
Type the following:
sudo passwd root
Enter your administrator password.
Enter a new password for your root account.
This can also be done through an OS X utility called Directory Utility:
Open Directory Utility, which can be found in the /System/Library/CoreServices/ folder.
Click the lock and enter Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-46172431339290666222010-11-05T16:00:00.000-06:002012-05-05T19:25:39.335-06:00How Make a Shell Script Run in Snow LeopardWhen trying to run a new shell script in bash, you may get the following error:
-bash: ./samplescript: Permission denied
Navigate to the file and type the following:
sudo chmod u+x samplescript
You should then be able to run said file by typing this:
./samplescriptAraignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-44543021871513423852010-11-05T15:54:00.000-06:002012-05-05T19:25:00.670-06:00How to Change the Default Command Line Editor in Snow LeopardThese are instructions to change your default command line editor in Snow Leopard.
Create or edit a file in your home directory called .profile (make sure you include the ".") using TextEdit or the editor of your choice. Note that files beginning with a period are invisible in Finder, so to use TextEdit you may have to open it with Terminal using the following command:
open ~/.profileIf you get Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0tag:blogger.com,1999:blog-5926872027653328069.post-18613563027494078542010-11-05T11:00:00.000-06:002010-11-05T15:35:57.160-06:00How to Easily Enable PHP on Snow LeopardThese are instructions to quickly and easily enable PHP on Snow Leopard. I won't discuss any other configurations on this post beyond those necessary to get PHP running.
Open Terminal.
Open /etc/apache2/httpd.conf in your favourite command line editor using sudo. I did the following:
sudo emacs /etc/apache2/httpd.conf
After authenticating, the file will open. Scroll down to the line that says:
#Araignéehttp://www.blogger.com/profile/05118916208850016111noreply@blogger.com0