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
$argArray = arg() ; | |
$finalTerm = end($argArray) ; | |
$termArray = taxonomy_get_children($finalTerm); | |
if (empty($termArray)) return TRUE; | |
$argArray = arg() ; | |
$finalTerm = end($argArray) ; | |
$termArray = taxonomy_get_children($finalTerm); | |
if (!empty($termArray)) return TRUE; |
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
git fetch --all | |
git reset --hard origin/master |
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
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search | |
#You can revert it with this command | |
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search |
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
--- | |
vagrantfile-local: | |
vm: | |
box: puphpet/ubuntu1404-x64 | |
box_url: puphpet/ubuntu1404-x64 | |
hostname: '' | |
memory: '1024' | |
cpus: '2' | |
chosen_provider: virtualbox | |
network: |
NewerOlder