Skip to content

Instantly share code, notes, and snippets.

postgres@postgresql:~$ psql -d ewafermap -f /tmp/ewafermap_config.sql
SET
SET
SET
SET
SET
SET
SET
SET
psql:/tmp/ewafermap_config.sql:27: ERROR: relation "config" already exists
@dnaeon
dnaeon / gist:1681984
Created January 26, 2012 09:41
EWAF 1.7.13
ewaf:/# ssh smx@localhost -p 8101
The authenticity of host '[localhost]:8101 ([127.0.0.1]:8101)' can't be established.
DSA key fingerprint is bb:75:73:3f:c4:c6:6a:ae:a7:d3:fc:ba:d1:f3:ca:5f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:8101' (DSA) to the list of known hosts.
smx@localhost's password:
____ _ __ __ _
/ ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
@dnaeon
dnaeon / gist:1681994
Created January 26, 2012 09:44
Looks better now :)
smx@localhost's password:
____ _ __ __ _
/ ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
|____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\
Apache ServiceMix (4.3.1-fuse-00-00)
Hit '<tab>' for a list of available commands
@dnaeon
dnaeon / gist:1689162
Created January 27, 2012 15:00
pfus 2.0.26
mra:(~/PROJECTS/cfengine/masterfiles/config)> cat ~/RFC-6570.patch <[1788][16:58]]
From 15e5d0447f8d68744a791aa672a3960c6deb3c2d Mon Sep 17 00:00:00 2001
From: Marin Atanasov Nikolov <[email protected]>
Date: Fri, 27 Jan 2012 16:54:17 +0200
Subject: [PATCH] RFC-6570: Update PFUS package to version 2.0.26
---
masterfiles/config/cfpfus2.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/masterfiles/config/cfgroups.conf b/masterfiles/config/cfgroups.conf
index 8692d67..10ba033 100644
--- a/masterfiles/config/cfgroups.conf
+++ b/masterfiles/config/cfgroups.conf
@@ -1657,8 +1657,12 @@ pptp_vserverhost =
intranetservers = (
plonelenny-test.elex.be
+ plone4-test.elex.be
)
@dnaeon
dnaeon / gist:1940520
Created February 29, 2012 12:38
swiftest configuration
# vim: ts=8:sts=8:noexpandtab
control:
AddInstallable = ( copy_new_conf )
swiftest_data = ( "/var/lib/swiftest" )
swiftest_conf = ( "/etc/swiftest/config" )
filebridge_conf = ( "/etc/swiftest-filebridge" )
@dnaeon
dnaeon / gist:1986673
Created March 6, 2012 14:55
firewall
Priority Action Service Source Iface Source Destination
1 ALLOW DNS LAN ANY 10.32.240.136
2 ALLOW DNS LAN ANY 10.35.80.213
3 DENY SQUID LAN ANY 10.35.80.200
4 ALLOW ALL PROTOCOLS ANY ANY 10.35.80.198
5 DENY ALL PROTOCOLS ANY ANY 10.0.0.0-10.255.255.255
# grep use_pkgng /usr/local/etc/portmaster.rc
use_pkgng=yes
# portmaster math/gmp
<< SNIP >>
===> Installing for gmp-5.0.4
===> Generating temporary packing list
===> Checking if math/gmp already installed
fgrep use_pkg $(which portmaster ) <[2595][11:20]]
[ -n "$use_pkgng" ] &&
if [ -z "$use_pkgng" ]; then
if [ -z "$use_pkgng" ]; then
if [ -z "$use_pkgng" ]; then
if [ -z "$use_pkgng" ]; then
if [ -e "$pdb/$1/+IGNOREME" ] && ( [ -z "$use_pkgng" ] || pkg info -e $1 ); then
if [ -z "$use_pkgng" ]; then
if [ -z "$use_pkgng" ]; then
if [ -d "$pdb/$OPTARG" ] && ( [ -z "$use_pkgng" ] || pkg info -e $OPTARG ); then
@dnaeon
dnaeon / gist:2318136
Created April 6, 2012 08:22
compat8x-amd64-8.2.802000.201203
tinderbox# pkg update
http://pkgbeta.freebsd.org/freebsd-9-amd64/2012-04-01/repo.txz 100% 11MB 236.8KB/s 162.3KB/s 00:49
tinderbox# pkg install compat8x-amd64-8.2.802000.201203
The following packages will be installed:
Installing compat8x-amd64: 8.2.802000.201203
the installation will require 1 MB more space
439 kB to be downloaded
Proceed with installing packages [y/N]: y