biodegradablegeek.com
PHP | Biodegradable Geek
http://biodegradablegeek.com/category/php
Send and Receive POST Requests with PHP. September 19, 2012. This can be used to build an API or generally have different sites and scripts communicate externally. Null) { $params['http']['header'] .= $optional headers; } $ctx = stream context create($options); $fp = fopen($url, 'r', false, $ctx); if (! HANDSHAKE) return NULL; return $response; }. Music to Code By – What Do You Listen to While Programming? Burning Xbox 360 Games on Linux (Stealth! Blackberry Bold 9000 vs Curve 8900. Expanding List of Rub...
biodegradablegeek.com
Magento | Biodegradable Geek
http://biodegradablegeek.com/category/magento
Populate Magento Auto-Suggest Search Terms Programmatically. December 16, 2013. Use this SQL statement to add an auto suggest (hint) search term in the Magento search field:. INSERT INTO m catalogsearch query(query text, store id, popularity, num results, display in terms, is active) VALUES('example term', 1, 1, 1, 1, 1). Bulk Upload Images as Simple Products in Magento. September 14, 2012. SKU', sku) csv.gsub! NAME', name) csv.gsub! LONG DESC', desc) csv.gsub! SHORT DESC', desc short) csv.gsub! Categori...
biodegradablegeek.com
Bulk Upload Images as Simple Products in Magento | Biodegradable Geek
http://biodegradablegeek.com/2012/09/bulk-upload-images-as-simple-products-in-magento
Bulk Upload Images as Simple Products in Magento. September 14, 2012. The client has thousands of images, each of which is a (simple) product they want in Magento. Each image is named the associated product’s SKU number with a JPG extension. I began by using a recorded Batch script in Photoshop to resize all the images to reduce filesize and make the image more web-friendly. The following Ruby script generates a Magento Product CSV file from JPG images in a directory. It is pasted as-is. You may use these.
biodegradablegeek.com
Productivity | Biodegradable Geek
http://biodegradablegeek.com/category/productivity
List of Favorite OS X Web Developer Apps. July 13, 2013. The following tools are either open source, shareware or freeware. For shareware, I will post freeware alternatives.DEVELOPMENT* JetBrains RubyMine (for Ruby and Rails development). PHP xdebug with remote enable = true. SourceTree (if you use git). Cornerstone (if you use svn). Zshell with Oh My Zsh. Tabs Outliner extension for Chrome. Solarized Theme (for shell, TextMate, etc.). Bulk Upload Images as Simple Products in Magento. September 14, 2012.
biodegradablegeek.com
Ruby on Rails | Biodegradable Geek
http://biodegradablegeek.com/ruby-on-rails
Category Archives: Ruby on Rails. Refactoring Tip: Eliminating Model.find(params[:id]) Duplication. December 7, 2008. In a controller, you’ll commonly have a method that requires you have an instance variable containing the object you’re working with. An example would be the show. To eliminate having find(params[:id]) in multiple methods, you can use before filter, like this:. Show, :edit, :update, :destroy] rescue from(ActiveRecord: RecordNotFound) { e render :text = ". December 7, 2008. October 21, 2008.
biodegradablegeek.com
Tips | Biodegradable Geek
http://biodegradablegeek.com/tips
Bulk Upload Images as Simple Products in Magento. September 14, 2012. The client has thousands of images, each of which is a (simple) product they want in Magento. Each image is named the associated product’s SKU number with a JPG extension. I began by using a recorded Batch script in Photoshop to resize all the images to reduce filesize and make the image more web-friendly. The following Ruby script generates a Magento Product CSV file from JPG images in a directory. It is pasted as-is. The $lineItems a...
biodegradablegeek.com
Archives | Biodegradable Geek
http://biodegradablegeek.com/archive
Music to Code By – What Do You Listen to While Programming? Burning Xbox 360 Games on Linux (Stealth! Blackberry Bold 9000 vs Curve 8900. Using Vim as a Complete Ruby on Rails IDE. Gentoo Sucks, Ubuntu Doesn’t. Understanding Basic Database Relationships in Rails. How to Block AIM’s Annoying ‘AOL System Msg’ in Pidgin. Expanding List of Ruby on Rails Sites, Editors, Tutorials, Cheat Sheets and More. How To Use Fixtures to Populate Your Database in Rails. How to Check if Javascript is Enabled? July 22, 2015.
biodegradablegeek.com
Automation | Biodegradable Geek
http://biodegradablegeek.com/category/automation
Bulk Upload Images as Simple Products in Magento. September 14, 2012. The client has thousands of images, each of which is a (simple) product they want in Magento. Each image is named the associated product’s SKU number with a JPG extension. I began by using a recorded Batch script in Photoshop to resize all the images to reduce filesize and make the image more web-friendly. The following Ruby script generates a Magento Product CSV file from JPG images in a directory. It is pasted as-is. The $lineItems a...
biodegradablegeek.com
web development os x macvim tmux top apps | Biodegradable Geek
http://biodegradablegeek.com/2013/07/list-of-favorite-os-x-web-developer-apps
List of Favorite OS X Web Developer Apps. July 13, 2013. The following tools are either open source, shareware or freeware. For shareware, I will post freeware alternatives.DEVELOPMENT* JetBrains RubyMine (for Ruby and Rails development). PHP xdebug with remote enable = true. SourceTree (if you use git). Cornerstone (if you use svn). Zshell with Oh My Zsh. Tabs Outliner extension for Chrome. Solarized Theme (for shell, TextMate, etc.). Send and Receive POST Requests with PHP. Leave a Reply Cancel reply.
biodegradablegeek.com
The Secret to Making Money Online by DHH (video) | Biodegradable Geek
http://biodegradablegeek.com/2008/07/the-secret-to-making-money-online-by-dhh-video
The Secret to Making Money Online by DHH (video). July 14, 2008. The following video is a talk by David Heinemeier Hansson. Usually referred to simply as DHH) given at Stanford University’s Kresge Auditorium, for the day-long ’08 Startup School. The talk is primarily centered on building a profitable Internet business, and the whole VC/Startup hype currently sliding through the interwebs. DHH gives good points for those who are sitting around waiting for Yahoo! Or in low resolution here. Pingback: Intern...