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
object(ParserRegexp)[30] | |
public 'parser' => | |
object(SSTemplateParser)[29] | |
protected 'includeDebuggingComments' => boolean false | |
protected 'match_Template_typestack' => | |
array | |
0 => string 'Template' (length=8) | |
protected 'match_Word_typestack' => | |
array | |
0 => string 'Word' (length=4) |
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 | |
$rx = <<<'RX' | |
/ | |
( | |
(\\.) | # Any escaped character | |
([^<${]) | # Any character that isn't <, $ or { | |
(<[^%]) | # < if not followed by % | |
($[^A-Za-z_]) | # $ if not followed by A-Z, a-z or _ | |
({[^$]) | # { if not followed by $ | |
({$[^A-Za-z_]) # {$ if not followed A-Z, a-z or _ |
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
branches=( master 2.4 ) | |
modules=( sapphire cms themes ) | |
for branch in "${branches[@]}" | |
do | |
echo "================" | |
echo "Updating $branch" | |
echo "----------------" | |
echo " * pull" | |
git pull 1> /dev/null |
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
/** | |
* @lon = longitude of selected point | |
* @lat = latitude of selected point | |
*/ | |
SELECT | |
name, | |
CAST( | |
offset + | |
ST_Length(the_geom) * ST_Line_Locate_Point(the_geom, ST_Point(@lon, @lat)) | |
) AS Double) |
NewerOlder