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
diff --git a/statistical b/statistical | |
index 50f443c..17423b3 100755 | |
--- a/statistical | |
+++ b/statistical | |
@@ -20,11 +20,11 @@ fi | |
for data in $SUM; do | |
# Getting informations from parameters | |
- KEY=$(echo $data | awk -F: '{printf $1}') | |
- VALUE=$(echo $data | awk -F: '{print $2}') |
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
$ ./rt-stats | |
RequestTracker-Stats April 2011 | |
=================================================== | |
Resolved ticket statistic for this month (April) | |
--------------------------------------------------- | |
Tracy |##################### (22) | |
Amelie |##################### (22) | |
Kiri |############ (13) | |
Tersina |########## (11) |
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 | |
### BEGIN INIT INFO | |
# Provides: BitCoinMining | |
# Required-Start: $local_fs $network | |
# Required-Stop: $local_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: false | |
# Short-Description: Start/stop BitCoing Mining poclbm-mod | |
### END INIT INFO |
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
#!/usr/bin/env Rscript | |
### General R-Script | |
# MySQL | |
library(RMySQL) | |
con <- dbConnect(MySQL(), user="", password="", host="", client.flag=CLIENT_MULTI_RESULTS) | |
# Style | |
zre_colors <- colors()[grep("green",colors())] | |
zre_mint <- colors()[c(48,86,50)] |
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 | |
# Choose your favorite table | |
# classic | |
SIGNS=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) | |
# advanced | |
#SIGNS=( a b c d f e h g j i l k m n o p q r s t u v w x y z . - ? ! "#" "+" ) |
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 | |
MYSQLUSER="user" | |
MYSQLPW="pw" | |
MYSQLDB="mytinytodo" | |
OIFS=$IFS ; | |
IFS=' | |
' | |
for x in $(mysql -u $MYSQLUSER -p$MYSQLPW -e "use $MYSQLDB ; select d_completed, tags_ids, mtt_lists.name as liste, title from mtt_todolist, mtt_lists where mtt_lists.id = mtt_todolist.list_id;" --batch | grep -v ^d_complet); do |
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
$ ./v-barplot foo:24 bar:90 alice:76 flo:32 blu:79 fa:12 bob:230 kika:121 | |
230 | ### | |
220 | ### | |
210 | ### | |
200 | ### | |
190 | ### | |
180 | ### | |
170 | ### | |
160 | ### | |
150 | ### |
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 | |
# ext-verify: Verify if max mount count or cyclic fsck | |
# on ext2,ext3,ext4 filesystems has been reached. | |
# Copyright: (C) 2011 Florian Baumann <[email protected]> | |
# License: GPL-3 <http://www.gnu.org/licenses/gpl-3.0.txt> | |
# Date: Tuesday 2012-05-04 | |
# Configuration | |
DUMPE2FS=$(which dumpe2fs) | |
DUMPOPTS="-h" |
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 | |
### Binaries | |
SCREEN=$(which screen) | |
LXCSTART=$(which lxc-start) | |
LXCSTOP=$(which lxc-stop) | |
### Configuration to get lxc directory | |
LXCCONF="/etc/default/lxc" | |
ERR=0 |
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
Benchmarking 10.10.0.17 (be patient) | Benchmarking 10.10.0.16 (be patient) | |
Server Software: Apache/2.2.16 | Server Software: Apache/2.4.2 | |
Server Hostname: 10.10.0.17 | Server Hostname: 10.10.0.16 | |
Server Port: 80 Server Port: 80 | |
Document Path: / Document Path: / | |
Document Length: 177 bytes Document Length: 177 bytes |