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 | |
// in application/app/php/lib/app_manager/app_manager.class.php | |
class AppManager extends WebApplication | |
// ... | |
/** | |
* render the component | |
*/ | |
public function render($template, $params) | |
{ | |
$this->display_header($trail); |
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
### CURSOR ### | |
if [ "`id -u`" -eq 0 ]; then | |
CURSOR='#' | |
else | |
CURSOR='$' | |
fi | |
#### COLORS ### | |
black="\[\033[0;30m\]" | |
red="\[\033[0;31m\]" | |
green="\[\033[0;32m\]" |
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
#!/usr/local/bin/python2.7 | |
# coding=utf-8 | |
import argparse | |
import pprint | |
from glob import glob | |
def main(): | |
parser = argparse.ArgumentParser(description='Get some files according to a pattern') | |
parser.add_argument('pattern', type=file, action='store', nargs='+') | |
args = parser.parse_args() |
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
Client Twitter Kizlum | |
===================== | |
Features | |
-------- | |
Must have | |
~~~~~~~~~ | |
* Interface minimaliste (j'ai un MacBook, pas un iMac 27") |
NewerOlder