Fixing "case-folding collision" errors in mercurial - part 2

by withakay 2. February 2010 23:08

This is a follow up to a previous post I made, which can be found here.

The good news is that there is now a Mercurial Extension to take all the donkey work out of fixing those pesky case folding collisions.

Visit this page on the Mercurial Wiki to find out more: 

 

http://mercurial.selenic.com/wiki/CaseFoldExtension

 

A massive thanks to the author of this extension! 

Tags:

create a PKCS#12 (p12) file from apn_developer_identity.cer using OpenSSL

by withakay 22. September 2009 12:10

Here is how to create a PKCS12 format file using open ssl, you will need your developer private key (which can be exported from the keychain) and the CertificateSigningRequest.certSigningRequest

The resulting file can then be used to create an encrypted connection to the Apple Push Notification servers

 

# convert apn_developer_identity.cer (der format) to pem
openssl x509 -in apn_developer_identity.cer -inform DER 
  -out apn_developer_identity.pem -outform PEM

# convert p12 private key to pem (requires the input of a minimum 4 char password)
openssl pkcs12 -nocerts -out private_dev_key.pem -in private_dev_key.p12

# if you want remove password from the private key
openssl rsa -out private_key_noenc.pem -in private_key.pem

# take the certificate and the key (with or without password) 
# and create a PKCS#12 format file.
openssl pkcs12 -export -in apn_developer_identity.pem -inkey private_key_noenc.pem 
  -certfile CertificateSigningRequest.certSigningRequest 
  -name "apn_developer_identity" -out apn_developer_identity.p12

Tags:

Mac | Unix

Send to Notepad as Administrator - Windows 7 & Vista

by withakay 18. September 2009 12:16

Today I found a solution to a problem that pisses me off enough to want to solve.

I have some text file that is in a part of the file system such that windows deems it to require administrator rights to modify, but not to view, and I have opned it with notepade.exe and now cannot save it. Ideally I would be prompted to escalate my priviledges when I opened the file with notepad.exe or when I tried to save the file. That is not the case. Frown

The solution (or at least my solution) is to add a short cut to notepad.exe to the Send To menu and tell the short cut to run as administrator.

The steps are:

 

  1. Open Explorer and type "shell:sendto" in the address bar (without the quotes)
  2. Click the Start button and search for "notepad" (again, without the quotes)
  3. Drap the notepad icon to the explorer window that was opened in step 1
  4. Right click the short cut to notepad, select the "shortcut" tab
  5. click the "advanced button and check "Run as Administrator"
  6. click "ok" on the dialogs to get rid of them, etc.

Tags:

Windows

The £100 summer mix

by withakay 15. July 2009 09:50

Been a while since I knocked up a DJ mix, so here is a nice summer mello techno, deep house vibe with a couple of tracks that would probably be found in the dub step section. Features tracks from Minilogue, Layo & Bushwacka, Martyn, Burial, Sebastian Leger, Cocoon Records, etc. If you really want a track list ask me and I might get it together. enjoy!

 

£100 summer mix 

 

Tags: ,

Music | Mixes

KickNews now in beta

by withakay 16. February 2009 15:19

A project I have been working on for a while has now gone live, albeit in a slightly rough round the edges beta form.

KickNews.co.uk is football (soccer not American Football) aggregation site with some social aspects in a similar way to digg or reddit. In KickNews' case it is not stories that are submitted but news sources (RSS or Atom feeds basically). The feeds are moderated before we add them and once they are added the stories will then be pulled from the blog or news site. Stories can be "kicked", basically a voting system designed to help the good stories get more of an audience. Currently we are pulling mostly stories about the Barclays Premiere League and associated teams, but we are planning to add all 4 leagues and also european leagues once we have everything working nice.

As well as the web site we have also made really cool iPhone App that is now available on the iTunes app store (there is also a feature reduced "lite" version if you want to try before you buy).

It has been really fun working on this project and there is lots more to do, some of the things on the list are to integrate Facebook Connect and openID so it is quick and easy for people login to kick stories and comment on them. We also want to get some live scores and fixtures in there too, in particular for the iPhone App.

 

 

If you have any ideas or features you might like to see hit me up in the comments and I will see what can be done :)

Tags: ,

.net | Mac | Projects