development

Facebook Credits

Effective July 1, 2011 The Facebook Platform will require social game developers to process all payments through Facebook Credits, as announced in January. To prepare for your players and business, FB recommends migrating to Facebook Credits. See: Facebook Credits Integration Guide Credits Developer Guide  

Less Css Escape progid:DXImageTransform

This will allow you to add “.less” parameters to progid:DXImageTransform: filter:e(“progid:DXImageTransform.Microsoft.gradient(startColorStr=’”)@from e(“‘,EndColorStr=’”)@to e(“‘,GradientType=0)”); For horizontal gradient: filter:e(“progid:DXImageTransform.Microsoft.gradient(startColorStr=’”)@from e(“‘,EndColorStr=’”)@to e(“‘,GradientType=1)”);  

WordPress Lifestyle Theme – Options Not Working

While helping a friend with his WordPress site, I ran into an issue with Studiopress’ Lifestyle theme – I couldn’t update the “theme options”. I did find the fix after almost an hour of searching the Google. In the “Tools” folder in the “Theme’s” folder change: PHP Code: $settings = ‘theme_mods_’.get_current_theme(); // do not change! [...]

Creating a Test User for Facebook

    To create a test user for fb, just follow these steps: Get your App Id from  your  fb developer page. Get your application App Secret from your fb developer page. Get access_token you’ll be using to create test user: https://graph.facebook.com/oauth/access_token? client_id=APP_ID &client_secret=APP_SECRET &grant_type=client_credentials Create a test user: (a new user is created every [...]

Finding Facebook

Finding Facebook

Facebook is always moving their UI elements around, whack-a-mole 2.0.  On this weeks episode of finding Facebook, “apps.” To manage your Facebook applications, go to: Click Accounts -> Privacy Settings At the bottom of the settings page, click: “Edit your settings” – under “Apps and Websites”

Zen coding with with Sparkup

I just started using TextMate – and I love it. Initially I wanted an editor that was lightweight, with support for Grails/Groovy programming. So, I downloaded TextMate and started playing with it. The same day I did that; I came across a tutorial on Nettuts for Sparkup and Zen Coding. Zen coding with with Sparkup is [...]

Moving MySQL database via command line / Terminal

Download db1 from server A: mysqldump db1 -u $USER -p -h $db1_HOST > serverB/folder/db1.sql Create db2 on server B: mysql> create database db2; Upload db1 to server B: mysql -u $USER -p db2 < serverB/folder/db1.sql

Linode

So, I started managing my first linux server – through linode. I gotta say, this is a good first experience. The documentation is great. I went through install and setup without a hitch. If trying out linux hosting for the first time – check out linode.com Now all I need to figure out is how [...]

Reason

He that will not reason is a biggot; he that cannot reason is a fool; and he that dares not reason is a slave. – William Drummond, not to be confused with Mr. Drummond

Activating mod_rewrite on ubuntu

Here is the command I used to get mod_rewrite working on my Ubuntu server – for my buddypress install. ‘cd’ into the “/etc/apache2” directory and issue the following command. a2enmod rewrite a2enmod as in, “apache2 enable module <module>”