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
# $Id$ | |
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> | |
# Maintainer: Christian Hesse <mail@eworm.de> | |
pkgbase=mariadb | |
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb') | |
pkgver=10.2.12 | |
pkgrel=1 | |
arch=('x86_64') | |
license=('GPL') |
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 | |
storcli64 /c0 show events type=sincereboot filter=warning,critical,fatal > /etc/storcli/status.tmp | |
if ! diff -q /etc/storcli/status /etc/storcli/status.tmp > /dev/null ; then | |
cat /etc/storcli/status.tmp | mail -s "RAID Problem on hostname!" user@example.com,anotheruser@example.com | |
mv /etc/storcli/status.tmp /etc/storcli/status | |
fi |
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
pkgname=wxphp | |
true && pkgname=( | |
'wxphp' | |
'wxphp-wxwidgets' | |
'wxphp-pecl-wxwidgets' | |
'wxphp-pecl-event' | |
'wxphp-pecl-runkit' | |
'wxphp-pecl-pthreads' | |
) |
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 | |
/* | |
create table store( | |
id int primary key, | |
value blob -- 65535 bytes | |
); | |
*/ |
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 | |
/* | |
Copyright 2013 Andrew Rose http://andrewrose.co.uk | |
*/ | |
class spamc | |
{ | |
private static $version = 'SPAMC/1.2'; | |
public static function test($email, $cmd='CHECK', $user='default', $ip='127.0.0.1', $port=783) |