This is a continous deploy script for crontab. To use it:
- Create ~/bin/deploy.sh and copy script. Change mode to executable:
chmod + x ~/bin/deploy.sh- Install crontab
| clear control | |
| clear mod4 | |
| clear mod1 | |
| keycode 37 = Super_L | |
| keycode 64 = Control_L | |
| keycode 133 = Alt_L Meta_L | |
| add mod1 = Alt_L Meta_L | |
| add control = Control_L |
| git branch -r --merged | | |
| grep origin | | |
| grep -v '>' | | |
| grep -v master | | |
| grep -v vendor | | |
| grep -v rtm | | |
| xargs -L1 | | |
| awk '{sub(/origin\//,"");print}' | | |
| xargs git push -v origin --delete |
| <?php | |
| class B {} | |
| class A { | |
| protected $b; | |
| public function __construct() | |
| { | |
| $this->b = new B(); |
| import cascading.tuple.{Fields, TupleEntry} | |
| import com.twitter.scalding._ | |
| import java.net.URLDecoder | |
| import scala.util.matching.Regex | |
| class BoomerangLogJob(args: Args) extends Job(args) { | |
| val input = TextLine(args("input")) | |
| val output = TextLine(args("output")) | |
| val trap = Tsv(args("trap")) |
| package piotr; | |
| import cascading.flow.Flow; | |
| import cascading.flow.FlowDef; | |
| import cascading.flow.hadoop.HadoopFlowConnector; | |
| import cascading.operation.Aggregator; | |
| import cascading.operation.aggregator.Average; | |
| import cascading.operation.aggregator.Count; | |
| import cascading.operation.regex.RegexFilter; | |
| import cascading.operation.regex.RegexParser; |
| <?php | |
| /** | |
| * Created by JetBrains PhpStorm. | |
| * User: piotr | |
| * Date: 01.03.13 | |
| * Time: 16:07 | |
| * To change this template use File | Settings | File Templates. | |
| */ | |
| require_once __DIR__ . '/../../../app/Mage.php'; |
This is a continous deploy script for crontab. To use it:
chmod + x ~/bin/deploy.sh| <?php | |
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <[email protected]> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ |
| <?php | |
| class Container | |
| { | |
| protected $container = array(); | |
| public function get($name) | |
| { | |
| return $this->container[$name]; | |
| } |
| <?php | |
| class ImageFetcher | |
| { | |
| protected $url; | |
| public function __construct() | |
| { | |
| libxml_use_internal_errors(true); | |
| } | |