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
s1:/var/xdrago/conf# cat /var/backups/barracuda_log.txt | |
Wed Nov 14 17:43:09 EST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28 localhost / Wildcard YES | |
Mon Nov 26 14:20:58 CST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28 localhost / Wildcard YES | |
Wed Dec 12 16:13:18 CST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28a localhost / Wildcard YES | |
Thu Jan 10 18:50:41 CST 2013 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.5 / Barracuda BOA-2.0.5 / Nginx 1.3.9 / PHP 5.2.17 and 5.3.20 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28a localhost / Wildcard YES | |
Mon Feb 25 13:15:46 CST 2013 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.5 / Barracuda BOA-2.0.5 / Nginx 1.3.9 / PHP 5.2.17 an |
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
ramdisk () { | |
test "$1" || 1=2 | |
DISK_NAME="RamDisk" | |
MAX_SIZE=6 | |
DISK_SIZE=$((${1}*1024*1024*1024/512)) | |
DISK_FOUND=`df | grep -o $DISK_NAME` | |
if [[ $1 -gt $MAX_SIZE ]] | |
then | |
echo "NOTICE: Can't create a ram disk larger than $MAX_SIZE GB" | |
return |
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
// FileMakerStandards ( tableOccurrenceName ) | |
Let ( [ | |
~tableOccurrenceName = tableOccurrenceName | |
]; | |
List ( | |
"---- GLOBAL FIELDS ----¶"; | |
Upper ( | |
Substitute ( | |
ExecuteSQL ( "SELECT FieldName FROM FileMaker_Fields WHERE TableName='" & ~tableOccurrenceName & "' AND FieldType LIKE '%global%' ORDER BY FieldName" ; "" ; "" ); |
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
Let ( [ | |
~now = Get ( CurrentTimestamp ); | |
~useTimeStamp = Get ( ActiveModifierKeys ) = 8 or Get ( ActiveModifierKeys ) = 10; | |
~registered = MBS ( "Register"; "Name Here"; "Complete"; "5 seats" ; 201601 ; -12831001) = "OK"; | |
~targetFolder = MBS ( "Folders.UserDesktop" ) | |
& "/DDR/" | |
& Filter ( Get ( FileName ) ; "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklomnopqrstuvwxyz1234567890" ) | |
& If ( ~useTimeStamp ; | |
"_" & Year ( ~now ) | |
& "-" & Right ( "0" & Month ( ~now ) ; 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
/* | |
* PythonWrapText ( text ; columns ; prefix ) | |
* | |
* A bBox plugin function for wrapping text. | |
* http://www.beezwax.net/download/bbox | |
* | |
*/ | |
Let ( [ | |
~script = List ( |
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
--------------- | |
.barracuda.cnf | |
--------------- | |
### | |
### Configuration created on 150112-1253 | |
### with Barracuda version BOA-2.3.8 | |
### | |
### NOTE: the group of settings displayed below will *not* be overridden | |
### on upgrade by the Barracuda script nor by this configuration file. | |
### They can be defined only on initial Barracuda install. |
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
--------------- | |
.barracuda.cnf | |
--------------- | |
### | |
### Configuration created on 121114-1723 | |
### with Barracuda version BOA-2.0.4 | |
### | |
### NOTE: the group of settings displayed bellow will *not* be overriden | |
### on upgrade by the Barracuda script nor by this configuration file. | |
### They can be defined only on initial Barracuda install. |
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 | |
export PATH=$PATH:/opt/local/bin | |
_ALL="$@" | |
_LTD_GID=$(id -nG $USER) | |
_INTERNAL=NO | |
_X_USR=".*" | |
if [ "$USER" = "aegir" ] || [ "$HOME" = "/var/aegir" ] ; then | |
_Y_USR=aegir | |
else |
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
<pre> | |
\foo | |
\\bar | |
"\foo¶\\\bar" | |
"\"\foo\¶\\\\\bar\"" | |
"\"\\\"\foo\\\¶\\\\\\\\\bar\\\"\"" | |
"\"\\\"\\\\\\\"\foo\\\\\\\¶\\\\\\\\\\\\\\\\\bar\\\\\\\"\\\"\"" | |
"\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\foo\\\\\\\\\\\\\\\¶\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\"\\\\\\\"\\\"\"" | |
"\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\foo\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\¶\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\"\\\"\"" |
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
chart.selectAll("rect") | |
.data(counts) | |
.enter().append("rect") | |
.attr("id", function (d, i) {return keys[i];}) | |
.attr("x", legendWidth) | |
.attr("y", function (d, i) {return i * bar_height;}) | |
.attr("width", x) | |
.attr("height", bar_height - gap) | |
.attr("fill", "url(#gradient)") | |
.on("click", fmpurl); |