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
#!/bin/bash | |
# Set a default shell prompt: | |
function promptcmd() { | |
ret=$? | |
rst='\[\e[0m\]' | |
if [[ $ret = 0 ]]; then | |
color='\[\e[0;32m\]' | |
ret='' | |
else |
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
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "No update_center_id provided" >&2 | |
echo "Usage: $0 <update_center_id>" >&2 | |
exit 1 | |
fi | |
rm -r /var/www/$1/* |
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 | |
/** | |
* Declarations of necessary classes and functions | |
*/ | |
class ClassA {} | |
class ClassB {} | |
class ClassC {} | |
function argsFirst ( |
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
# JOE syntax highlight file for D programming language | |
=Idle | |
=Bad bold red | |
=Comment green | |
=Constant cyan | |
=Escape bold cyan | |
=Type bold | |
=Keyword bold | |
=Brace magenta |
NewerOlder