Archive for category Programming

On Marmalade and PlayBook development

So… The Marmalade promotion is ending in a few hours. I’m still waiting for my app to get approved through QA, so we’ll see what happens. Cutting it a bit close, but that’s life. Mainly because my workaround for Marmalade Web not working was to use WebWorks, which… I was only recently told didn’t actually […]

No Comments

Silly Access-Control-Allow-Origin Workarounds

“Origin null is not allowed by Access-Control-Allow-Origin” was the error I was getting when looking at a local html/JS powered page on my desktop, and I tried to do a getJSON request in jQuery. It’s a well known problem – but also quite annoying, mainly because the fixes were generally of the form “change your […]

, ,

No Comments

Compiling & publishing BlackBerry WebWorks apps

As part of the Blackberry Playbook promo, I have to publish an app on the BlackBerry App World store. Ripple was somewhat easy to get up and running. Except for the fact that it didn’t like the launch on Playbook option – it was checking some variable that wasn’t set, so it ended up trying […]

, ,

No Comments

Pushing an existing repo to github

Because I’ve had to do it a number of times, and had to look it up each time: Create the repo on github On the desktop/laptop/whatever, in Git Bash, change to the folder with the repo Run: git remote add origin [email protected]:username/repo.git, then git branch –set-upstream master origin/master and finally git pull And done.

,

No Comments

A grab bag of half-finished posts

Because I’ve started a bunch of posts, haven’t finished them, don’t really want to delete them but stuff looks potentially useful, and I’m clearing stuff out.

,

1 Comment

OMG C WHY

The bulk of this was written on Nov 16th before I finished CS137 at UW. Most of this stuff still stands. === (Also, why I’m glad I’m using Git, why I love Stack overflow, and frak yes Valgrind)

, , ,

No Comments

I has a new shiny

Thanks to the Made with Marmalade offer, I now have a tablet. I couldn’t (and still can’t) justify spending money on a tablet beyond “it looks cool, and it’d be funky to have one”, but the offer for a free tablet neatly solved that. Now to write an app for it and submit it, so […]

, , ,

1 Comment

My Git for CS137 setup

I’ve been using Git and GitHub for all of my CS137 assignments, in part to keep the files in sync between my desktop and laptop, as well as the UW server that I use for testing. The keeping everything in source control is a bonus, but one that comes in handy, especially branching when I […]

, ,

No Comments

ssh-agent messiness & solving it

I’ve known about ssh-agent for a while, but as I was practically permanently using PuTTY (on Windows), I only bothered with learning about Pageant. But Git uses ssh to connect to github, and I was getting tired of typing in my password with every push. I got annoyed with InteliJ for making me type in […]

, , ,

No Comments

Getting a Python dev environment setup on Windows

I’ll be doing a fair amount of work in Python in the next few months, so I decided to sit down and get a good dev environment going. First on my laptop (32 bit is easier to deal with), then on my desktop. So I’ll be doing 3 things: Getting Git setup Getting Git working […]

, , ,

1 Comment