Posts Filed in "Mac"

2

Apr

Filed in Mac, Python with View Comments |

This is mostly a note to myself, but also since my blog is very helpful to fellow Google-users I figured I’d throw it up here publicly. Today I needed to update a package on PyPi using setuptools: python setup.py sdist register upload The problem was, no matter what I did, I always seemed to get [...]

12

Mar

Filed in Mac with View Comments |

As many users like myself probably have noticed, Apple seriously fucked us with their latest security release. From what I’ve read, they reverted Perl to an older version which doesn’t support some common features. I began receiving errors such as the following with fink and other applications: IO object version 1.22 does not match bootstrap [...]

22

Sep

Filed in Mac with View Comments |

Last night, in an attempt to update my PSP, I decided to switch off MAC address filtering on our router (running dd-wrt) and just use a password. I know a little about how the security works, as I was playing around with KisMAC for a while. I’m aware that WEP is completely worthless in regards [...]

27

Jul

Filed in Bash, Mac with View Comments |

One of my daily problems occurs when I’m ssh’d into a remote server and I’m using nano to edit configuration files or quick scripts to dump information. The problem being, that it screws up differently on different systems. So let’s start with the problems: Problem: Using the backspace key doesn’t remove the trailing character, but [...]

13

Feb

Filed in Mac, Other with View Comments |

Installed Firefox 3 Beta 3 here today at the office. “Shiny new fixes” they said. So I load it up, and obviously none of my addons work again (so I have to run them through my converter), and I attempt to hit Curse. “Connecting to www.curse.com…” for a minute. Ok, wtf, is the website down? [...]

5

Nov

Filed in Code, How-To's, Mac, MySQL with View Comments |

As many people probably have, I ran across the problem of installing MySQLdb (Python) on Leopard today. The error: In file included from /usr/local/mysql/include/mysql.h:43, from _mysql.c:40: /usr/include/sys/types.h:92: error: duplicate ‘unsigned’ /usr/include/sys/types.h:92: error: two or more data types in declaration specifiers error: Setup script exited with error: command ‘gcc’ failed with exit status 1 Luckily, there [...]

5

Nov

Filed in How-To's, Mac, PHP with View Comments |

Apple made it easy this time around. Leopard defaults with Apache2 and PHP5, and enabling it is as simple as uncommenting a line. Check out this guide for a full tour of using Apache2 with PHP5 and MySQL on the latest release from Apple.