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 Foobar { | |
static $global_value; | |
private $_local_value; | |
public function __construct($local_val = null) { | |
if(false == is_null($local_val)) { | |
$this->_local_value = $local_val; | |
} |
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
#!/bin/bash | |
#save this file somewhere in your path and make it executable | |
#then you can just run git-submodule-recurse to recursively init / update your git submodules | |
git submodule init | |
git submodule update | |
git submodule foreach git-submodule-recurse |
NewerOlder