A TEXT POST

D3 Beta: OSX Permission Error

Beta setup wouldn’t launch for me, checked Console and saw the permission error in the log.


1. Open Terminal
2. Go to the directory where you unzipped the installer via cd command

cd Downloads/

3. Go inside the installer package, specifically the Mac OS directory
cd Diablo\ III\ Beta\ Setup.app/Contents/MacOS/

4. Now make it executable with chmod
chmod +x Diablo\ III\ Beta\ Setup

Now the installer should run.

A TEXT POST

Hmmm

Still figuring out what content to post to tumblr. Most of the content I can toss on my main site, but at the same time liking the idea of using tumblr. Thought about cross-posting content between wordpress and here, but it might just look like I’m trying to generate traffic. Hmmmm…

A TEXT POST

[Alfred] Bit.ly Script

Found a lot of nice extensions for Alfred, but found myself needing to modify existing scripts to better suit my needs, or to maybe fix little issues that existed. This script is based on the one @ mosx.tumblr.com.
Basically added an easy area to add your Bit.ly username and api key. Noticed the script would give me an API error if the address was missing the http tag or only used the www prefix, so just made it add a working prefix to the URL. Still sorting everything out, but so far its been working fine.



#!/bin/bash
# Alfred Bit.ly Script
#
# Configuration:
# ulog=YOUR_USERNAME
# ukey=YOUR_BITLY_API_KEY
#
# Get your Username and API key here:
# https://bitly.com/a/your_api_key/

ulog=
ukey=
ulink={query}
if echo ${ulink} | grep -q -E 'http:\/\/|https:\/\/'
then
   slink=`curl -s --data "login=${ulog}&apiKey=${ukey}&longUrl=${ulink}&format=txt" http://api.bitly.com/v3/shorten`
echo $slink | pbcopy && /usr/local/bin/growlnotify "Link Created" -m $slink
else
    ulink2=`echo ${ulink} | sed 's/www./http:\/\//g'`
    slink2=`curl -s --data "login=${ulog}&apiKey=${ukey}&longUrl=${ulink2}&format=txt" http://api.bitly.com/v3/shorten`
echo $slink2 | pbcopy && /usr/local/bin/growlnotify "Link Created" -m $slink2
fi