Skip to content

Instantly share code, notes, and snippets.

@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: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 /| | (_| __/ | | | |> <
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:1608213
Created January 13, 2012 19:18
gerrit start up issue with openjdk
mra:(~/PROJECTS/gerrit-freebsd)> sudo service gerrit onestart <[1573][21:14]]
No Gerrit site found. Will initialize Gerrit first...
*** Gerrit Code Review 2.2.2-rc0
***
Create '/usr/local/gerrit/review_site' [Y/n]?
*** Git Repositories
***
@dnaeon
dnaeon / gist:1583310
Created January 9, 2012 15:05
RMAN #2
bash-3.2$ rman @/tmp/restore.rman
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Jan 9 16:02:48 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN> connect target *
2> connect catalog *
3>
4> connect auxiliary *
@dnaeon
dnaeon / gist:1582870
Created January 9, 2012 13:09
RMAN restore
bash-3.2$ rman @/tmp/restore.rman
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Jan 9 14:09:20 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN> connect target *
2> connect catalog *
3>
4> connect auxiliary *
@dnaeon
dnaeon / gist:1578892
Created January 8, 2012 16:27
pkg install hs-yesod
jail-test-amd64# pkg search -xf hs-yesod
Name : hs-yesod-auth
Version : 0.7.9
Origin : www/hs-yesod-auth
Prefix : /usr/local
Categories : www haskell
Licenses : BSD
Maintainer : [email protected]
WWW : http://www.yesodweb.com/
Comment : Authentication for Yesod
@dnaeon
dnaeon / gist:1571790
Created January 6, 2012 18:24
pkg check #2
mra:(~/PROJECTS/pkgng-upstream)> sudo pkg check <[1494][20:23]]
graphics/evince has a missing dependency: graphics/poppler-gtk
graphics/gimp has a missing dependency: graphics/poppler-gtk
graphics/gimp-app has a missing dependency: graphics/poppler-gtk
print/gimp-gutenprint has a missing dependency: graphics/poppler-gtk
x11/gnome2-lite has a missing dependency: graphics/poppler-gtk
graphics/py-gimp has a missing dependency: graphics/poppler-gtk
>>> Missing package dependencies were detected.
@dnaeon
dnaeon / gist:1571786
Created January 6, 2012 18:23
pkg check #1
root:(~/PROJECTS/pkgng)> pkg update <[1117][20:22]]
http://www.sofia.unix-heaven.org/FreeBSD/pkgng/repository/9-amd64-20111222/repo.txz 100% 9684KB 9.5MB/s 9.5MB/s 00:01
root:(~/PROJECTS/pkgng)> <[1118][20:22]]
root:(~/PROJECTS/pkgng)> <[1118][20:22]]
root:(~/PROJECTS/pkgng)> pkg check <[1118][20:22]]
graphics/graphviz has a missing dependency: x11-fonts/font-misc-ethiopic
x11-toolkits/pango has a missing dependency: x11-fonts/font-misc-ethiopic
x11-fonts/xorg-fonts-truetype has a missing dependency: x11-fonts/font-misc-ethiopic
@dnaeon
dnaeon / gist:1570368
Created January 6, 2012 12:26
ewafermapping-ui patch
From 1af110a6b3a267f99a00a945f9842c8a41185ad6 Mon Sep 17 00:00:00 2001
From: Marin Atanasov Nikolov <[email protected]>
Date: Fri, 6 Jan 2012 14:20:48 +0200
Subject: [PATCH] Update postinst and preinst scripts
* Create user in preinst script
* Fix permssions in postinst script
* Add adduser as dependency to ewafermapping-ui
* INKLESS-736
---