Archive for category Programming
On Marmalade and PlayBook development
Posted by Kyle Lexmond in Programming on January 30, 2013
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 […]
Silly Access-Control-Allow-Origin Workarounds
Posted by Kyle Lexmond in Programming on January 13, 2013
“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 […]
Compiling & publishing BlackBerry WebWorks apps
Posted by Kyle Lexmond in Programming on January 13, 2013
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 […]
Pushing an existing repo to github
Posted by Kyle Lexmond in Programming on January 11, 2013
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.
A grab bag of half-finished posts
Posted by Kyle Lexmond in Programming, Sysadmin, Uncategorized on December 16, 2012
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.
OMG C WHY
Posted by Kyle Lexmond in Programming, School on December 16, 2012
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)
I has a new shiny
Posted by Kyle Lexmond in Programming on October 23, 2012
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 […]
My Git for CS137 setup
Posted by Kyle Lexmond in Programming, School on October 22, 2012
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 […]
ssh-agent messiness & solving it
Posted by Kyle Lexmond in Programming on September 28, 2012
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 […]
Getting a Python dev environment setup on Windows
Posted by Kyle Lexmond in Programming on September 14, 2012
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 […]