This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reapp build | |
Building... | |
Building with webpack... | |
Had errors: | |
./~/reapp-kit/dist/index.js | |
Module not found: Error: Cannot resolve module 'reapp-ui/all' in /Users/ashley/Sites/MobileReapp/ReappTest/node_modules/reapp-kit/dist | |
resolve module reapp-ui/all in /Users/ashley/Sites/MobileReapp/ReappTest/node_modules/reapp-kit/dist | |
looking for modules in /Users/ashley/Sites/MobileReapp/ReappTest | |
/Users/ashley/Sites/MobileReapp/ReappTest/reapp-ui doesn't exist (module as directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$webdriver = new EventFiringWebDriver( | |
RemoteWebDriver::create( | |
'http://localhost:9515', | |
DesiredCapabilities::phantomjs() | |
) | |
); | |
$webdriver->getDispatcher()->register(new SeleniumEventListener()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'osi'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: osi | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: hostonly | |
default: Adapter 3: hostonly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
server_name example.com www.example.com; | |
access_log /srv/www/example.com/logs/access.log; | |
error_log /srv/www/example.com/logs/error.log; | |
root /srv/www/example.com/public; | |
index index.php index.html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$_varien = new Varien_Object(array_merge(array( | |
'product' => $product->getId(), | |
'qty' => 1, | |
), $optionsToUse)); | |
/** @var Mage_Customer_Model_Customer $_customer */ | |
foreach ($filters['customers'] as $_customer) { | |
/** | |
* try to find a cart for the customer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vars": { | |
"@gray-darker": "lighten(#000, 13.5%)", | |
"@gray-dark": "#636363", | |
"@gray": "lighten(#000, 33.5%)", | |
"@gray-light": "lighten(#000, 60%)", | |
"@gray-lighter": "lighten(#000, 93.5%)", | |
"@brand-primary": "#ed444f", | |
"@brand-success": "#5cb85c", | |
"@brand-info": "#5bc0de", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var urls = ['put', 'your', 'page', 'urls', 'here']; | |
page.onConsoleMessage = function (msg) { | |
if(msg.indexOf('SCRAPE-RESULT:') >= 0) { | |
var fn = 'file_name_to_write_to.txt'; | |
console.log('writing file', fn) | |
fs.write(fn, msg.replace('SCRAPE-RESULT:', ''), 'w'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Paginating through elements with MooTools | |
* | |
* Use: | |
* new ThinklePaginator(el, options); | |
* | |
* @link www.needathinkle.com/tumblr/18254885740 | |
* @version 2 | |
* @author Ashley White, www.needathinkle.com | |
* @license @license http://creativecommons.org/licenses/by-sa/3.0/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* mobile (portrait and landscape) ----------- */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
} | |
/* mobile (landscape) ----------- */ | |
@media only screen and (min-width : 321px) { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pretty scrolling divs for mootools. | |
* | |
* Use: | |
* new ScrollBar(el); | |
* | |
* @link www.needathinkle.com/tumblr/12258839049 | |
* @version 2 | |
* @author Ashley White, www.needathinkle.com | |
* @license @license http://creativecommons.org/licenses/by-sa/3.0/ |
NewerOlder