This file contains 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
start | |
= left:weather blank right:location {return [left, right]} | |
expr | |
= & blank* left:(primitive / compound)+ blank* | |
compounds | |
= left:compound+ {return left} | |
compound | |
= left:primitive blank right:primitive {return left+right} |
This file contains 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
start | |
= expr | |
expr | |
= & blank* left:(primitive / compound)+ blank* {return left} | |
compounds | |
= left:compound+ {return left} | |
compound | |
= left:primitive blank right:primitive {return [left, right]} |
This file contains 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 IndexController { | |
public function mailpreviewAction() { | |
$getopt = $this->getRequest()->getOpt(); | |
$extra = $getopt->getRemainingArgs(); | |
// create new getopt | |
$cliopt = new Zend_Console_Getopt(array( | |
'filename|f=s' => 'Zend generated email', | |
'browser|b=s' => 'Open using specified browser app' | |
)); |
This file contains 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
#configure this as external tool to run on your project | |
#!/bin/sh | |
#git revision | |
rev=$(git log --pretty=format:'%h' -n 1) | |
#version code | |
vc=$(grep android:versionCode AndroidManifest.xml | cut -f2 -d\") | |
vc=$(($vc+1)) |
NewerOlder