Tips and Tricks
Spree Commerce, eBay Trading API, and the eBay Accelerator Toolkit from Intradesys EbatNs
In this bit, I talk about using the EbatNs SDK for the eBay Trading API, to list items from your Spree Commerce store, or really any rails application. Filled with production code examples from an honest to god real live and working spree site that interfaces with the eBay trading API to Add, Revise, and End items, on ebay when they sell in your store, or on your store when they sell on eBay.
Tags: eBay, HowTo, PHP, Programming
Posted in: eBay, PHP Tutorials, PHP/MySQL, Tips and Tricks, Web Design | No Comments »
SOAP APIs R Klunky or How to waste bandwidth for no good reason
The fact that SOAP is still around is, to be honest, absolutely beyond my comprehension. No serious effort seems to have been put into something like JSONRPC. Still, when it comes to some API calls, SOAP is pretty darn good, but this here is one example of it being used as just a waste. I [...]
Tags: eBay, Rant, RoR, Ruby on Rails, Spree Commerce
Posted in: PHP/MySQL, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Web Design | No Comments »
HowTo set hostname/domainname on linux
If you’ve gotten this error: hostname: Name or service not known when typing hostname -f, then here is a solution. I got this error while trying to install Plesk. I couldn’t find a single clear response, most people spent their time showing how smart they are by explaining how host names work, and what it [...]
Tags: Command Line Commando, HowTo, Linux, Server
Posted in: Computer Science, Linux, Tips and Tricks, Topics | 1 Comment »
Qt C++ Screen Capture using BitBlt
So I got to thinking I wanted to be able to take abitrary screen captures based on some startx/starty -> endx/endy input. I found various sites showing how to do this, but most of them were pretty confusing. I thought I would post the final working code here. void RSystem::snap(int startx, int starty,int endx,int endy) [...]
Tags: C++, GUI, Programming, QT
Posted in: c/C++, C/C++ Programming, Tips and Tricks, Topics, Tutorials | No Comments »
HowTo JavaScript/jQuery place divs in a circle, calculate a cirlce etc.
So, I was working with my father, a physicist and mathematician, who wants to have a little math example done in javascript. We haven’t finished the meat and potatoes of the project, but one hurdle was the necessity to place 8 divs in a circle on the page. This is a variation on the Tirgrams [...]
Tags: Design, HowTo, Javascript, jQuery
Posted in: Javascript Tutorials, jQuery/JavaScript, Tips and Tricks, Topics | 2 Comments »
Tip: Flex/AS3 keyboardEvent listener
If you are writing a flex app, you might get this error TypeError: Error #1009: Cannot access a property or method of a null object reference. if you do, it simply means that you are trying to do something with an object that hasn’t yet been created. If that object is the stage, then you [...]
Posted in: ActionScript 3 Tutorials, Computer Science, Flex/AIR Tutorials, Tips and Tricks | No Comments »
HowTo Knock it off with crazy MYSQL queries and the qTranslate plugin unistall
We’ve all done it. Either we learn some tricks in MYSQL, or read a cool post about some obscure programming trick you can do with SQL and decide to try it in a pinch on a live database. Just don’t do it. 9 times out of 10 you have access to SSH, and PHP, and [...]
Posted in: Computer Science, MySQL, PHP Tutorials, PHP/MySQL, Tips and Tricks, Topics | No Comments »
flash cs5 packages cannot be nested
I was mucking about in Flash CS5 and got this error when I typed include “ClassName.as”. Note, I normally use FlashDevelop for flex stuff, so I was trying to use the CS5 interface. I got the error, and was like what? So I hit google and got this response: Try this first save the AS [...]
Tags: AS3, Errors, Flash, Flash CS5
Posted in: Flash/Flex, Tips and Tricks | No Comments »
Where is that method/function/class defined at?
About the only reason I kept jEdit around was because of the search function, it was nice using that multi file search when you are on a time crunch and have to mod someone elses code. No more of that shit. I installed ubuntu on a VM, and was like shit, jEdit’s recursive open plugin [...]
Tags: Command Line Commando, HowTo, Linux, Tips and Tricks
Posted in: Linux, Tips and Tricks, Topics | No Comments »
