|
Nov, 5
2009
|
Using Bit.ly, prettySociable, and jQuery to share shortened links |
|
So I went ahead and made some script modifications to the already awesome PrettySociable jQuery plugin. These modifications allow for the use of your bit.ly account api to shorten urls.
By default, the prettySociable plugin takes the url supplied and submits that to the share service (twitter, facebook, etc.). I just made a simple change to allow for the developers to include a bit.ly api and username when calling $.prettySociable() by passing those in as parameters.
$.prettySociable({bitly_api: 'api here', bitly_user:'your username'});
If these options aren’t set, the plugin will use the default url. If they are, the plugin will automatically call the bit.ly api to shorten the url and use that shortened url instead.
I probably need to test a bit more, but here is the jquery.prettysociable.bitly.js script and here it is minified: jquery.prettysociable.bitly.min.js.
Links that helped me with this:
Bit.ly
PrettySociable plugin page
jQuery HowTo @blogspot
|
Aug, 31
2009
|
[Quick Fix] Can’t Use iPhone OS 7A400 in XCODE ? Solved |
|
Recently, I began work on an iPhone app and during testing I came across this error:
“The version of iPhone OS on “Gustavo Tandeciarz’s iPhone” does not match any of the versions of iPhone OS supported for development with this copy of Xcode…”
I have the latest version (3.0.1) on my iPhone, which is apparently not supported, yet by Xcode so until then, I need a work around.

Searching Google, I found this little gem:
Open Terminal and run the following:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\)
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1

Restart Xcode and try again. This worked perfectly on both of my Macs.
|
Aug, 19
2009
|
How to Upgrade Windows 7 RC Ultimate to RTM Enterprise |
|
Yes yes, everyone said it’s unsupported and, technically, it is. This was just an exercise to see if it was possible to do and I can personally verify that it is and, actually really easy.
I’m going to assume that you already have a valid, legal copy of Windows 7 Enterprise and an installed copy of Windows 7 RC Ultimate and they are both the same kernel (either 32bit or 64bit) and that you already backed up all your data.
Within Windows Ultimate:
- Open up the Registry Editor (Start > Run > regedit)
- Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version as seen in the screenshot below

- Replace the word “Ultimate” with “Enterprise” in ProductName and EditionID. You’re done modifying Windows 7 RC.
Now comes the (kind of) tricky part.
See Here (howtogeek.com) for another article describing this process and here (blogs.msdn.com)
- Take the Windows 7 Enterprise DVD and create an ISO image. You will need to open the ISO and modify a file, more specifically, cversion.ini.
- Once you have the ISO image, using an ISO image editor (I used PowerISO), and browse the DVD image. Locate \sources\cversion.ini and extract it to your desktop, then open it with notepad.
- Change the winclient value to 7100, save and close.(winclient=7100)
- Replace the file in the ISO with the file you just edited and burn the ISO to a DVD.
- Start the installer from within Windows.
- Be cooler than the next guy.
That’s it. Enjoy what is, arguably, the best version of Windows yet. I’m assuming that this registry hack will work for versions other than Enterprise although I have not tried any other versions myself.
|
Oct, 8
2007
|
Summing up my time…re: web design |
|

Well, I haven’t seen a better way of describing how my time is spent in regards to web design. Mostly because I’m a developer…
I found this here: http://www.i-marco.nl
The author states in his blog that he doesn’t agree with the CSS section, as anything can be done in CSS. I agree…I also think that the yellow should be much larger and so should the purple. I’ll bring down the fucking swearing section to compensate.
|
Jan, 30
2007
|
New Town, New Job |
|
FYI, most of these posts are going to be old news…
About 2 weeks after getting back to MD, I was hired by a fantastic sports union in DC as webmaster. The job is great, the benefits are amazing, and the people are fantastic. I couldn’t be happier with the quality of my work environment. Read the rest of this entry »