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
#!/usr/bin/bash | |
for folder in images/*; do | |
for file in $folder/*.jpg; do | |
convert "$file" -resize 1200 -quality 60 -interlace line -strip ../path/to/dest/$(basename $folder | tr [:upper:] [:lower:])/$(basename ${file// /_} | tr [:upper:] [:lower:]) | |
done | |
done |
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
<!DOCTYPE html> | |
<html class="no-js"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0, minimum-scale=1.0" /> | |
<title></title> | |
</head> | |
<body> | |
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
// here we're getting a casper reference using requirejs (since this all runs off nodejs) | |
var casper = require('casper').create(); | |
// now we need to select the airlines | |
var airlines = ['EI', 'BA', 'VS']; | |
casper.start('http://www.kayak.co.uk/#/flights/LON-NYC/2013-01-28/2013-02-04', function() | |
{ | |
// select our first airline | |
this.click('#fs_airlines_' + airlines.shift() + '_only'); |
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 data = { | |
'1234': { | |
type: 'start', | |
data: 'hellos' | |
}, | |
'5678': { | |
type: 'stop' | |
}, | |
'9101': { | |
type: 'start', |
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
<br /> | |
<font size='1'><table class='xdebug-error xe-warning' dir='ltr' border='1' cellspacing='0' cellpadding='1'> | |
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Warning: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: SSL: crypto enabling timeout in file.php on line <i>32</i></th></tr> | |
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> | |
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> | |
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0051</td><td bgcolor='#eeeeec' align='right'>647480</td><td bgcolor='#eeeeec'>{main}( )</td><td title='file.php' bgcolor='#eeeeec'>../file.php<b>:</b>0</td></tr> | |
<tr><td bgcolor='#eeeeec' a |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title></title> | |
<script src="$MANAGER_WIDGET/Common/af/2.0.0/loader.js"></script> | |
<script src="$MANAGER_WIDGET/Common/API/Widget.js"></script> | |
<style> | |
html, | |
body { |
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 echo file_get_contents('http://bbh-labs.com/feed/'); ?> |
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
{ | |
"version": "0.0.1", | |
"name": "", | |
"description": "", | |
"dependencies": { | |
}, | |
"devDependencies": { | |
} |
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
{ | |
"directory": "assets/vendor", | |
"json": "component.json", | |
"endpoint": "https://bower.herokuapp.com" | |
} |
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 | |
class Controller extends CI_Controller { | |
public function __construct() { | |
parent::__construct(); | |
} | |
} |