Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am broderboy on github.
  • I am timbroder (https://keybase.io/timbroder) on keybase.
  • I have a public key whose fingerprint is EB1E 3CD8 E2EB 5369 9898 4B3D 634C 9851 BC45 49A6

To claim this, I am signing this object:

<html><body>one two three four five</body></html>
six seven eight nine ten
@timbroder
timbroder / gist:0b46482e34be6aa89561
Created June 24, 2014 22:39
Comic recommendations
Non-Super Hero
Y: The Last man
http://www.amazon.com/The-Last-Man-Vol-Unmanned/dp/1563899809?tag=nyen0e-20
DMZ
http://www.amazon.com/DMZ-Vol-Ground-Brian-Wood-ebook/dp/B008V56I8E/ref=sr_1_1?ie=UTF8&sr=1-1&s=books&keywords=DMZ%2Bvol%2B1&tag=nyen0e-20&qid=1403649187
Preacher
http://www.amazon.com/Preacher-Book-One-Garth-Ennis/dp/1401240453/ref=sr_1_1?ie=UTF8&sr=1-1&s=books&keywords=Preacher%2BVol%2B1&tag=nyen0e-20&qid=1403649226
2014-08-17 15:23:47.640 Read[12754:336845] 17545849:_UIScreenEdgePanRecognizerEdgeSettings.edgeRegionSize=13.000000
2014-08-17 15:23:49.993 Read[12754:336845] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: A constraint cannot be made between a leading/trailing attribute and a right/left attribute. Use leading/trailing for both or neither.'
*** First throw call stack:
(
0 CoreFoundation 0x00000001102e93e5 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010ff99967 objc_exception_throw + 45
2 CoreFoundation 0x00000001102e931d +[NSException raise:format:] + 205
3 Foundation 0x000000010d99529e +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:] + 427
4 Read 0x000000010c89334e -[FBRGBView _set
@timbroder
timbroder / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var menu = [
{title:'Menu 1',},
{title:'Menu 2',},
{title:'Menu 3',}
];
var tableview = Titanium.UI.createTableView({
data:menu,
});
[adorama@time shell]$ php indexer.php --reindexall
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
Product Attributes index was rebuilt successfully
Product Prices index was rebuilt successfully
Catalog URL Rewrites index was rebuilt successfully
Product Flat Data index was rebuilt successfully
Category Flat Data index process unknown error:
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
`store_id` smallint(5) unsigned not null default '0',
$product = Mage::getModel('catalog/product')->loadByAttribute('sku',$fieldMap['sku']);
$product->save();
1hi
Warning: Invalid argument supplied for foreach() in /Users/broderboy/workspace/adorama-magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1070
#0 /Users/broderboy/workspace/adorama-magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1070): mageCoreErrorHandler(2, 'Invalid argumen...', '/Users/broderbo...', 1070, Array)
#1 /Users/broderboy/workspace/adorama-magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1012): Mage_Eav_Model_Entity_Abstract->_collectSaveData(Object(Ai_Catalog_Model_Product))
#2 /Users/broderboy/workspace/adorama-magento/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Eav_Model_Entity_Abstract->save(Object(Ai_Catalog_Model_Product))
#3 /Users/broderboy/workspace/adorama-magento/app/code/local/Ai/Catalog/Model/Imageingest.php(118): Mage_Core_Model_Abstract->save()
#4 /Users/broderboy/workspace/adorama-magento/app/code/local/Ai/Catalog/Model/Imageingest.php(55): Ai_Catalog_Model_Imageingest->_processUploadedProductImages('ABMCCS55WSV-1-s...')
#5 /Users/br