Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 06 2015

Postgresql Upgrade on Gentoo/Linux

Short walkthru Migrating_PostgreSQL
old=9.3
new=9.4

/etc/init.d/postgresql-$old stop
rc-update del postgresql-$old
eselect postgresql set $new
su - postgres
ln -s /etc/postgresql-$old/*.conf /var/lib/postgresql/$old/data
ln -s /etc/postgresql-$new/*.conf /var/lib/postgresql/$new/data
initdb  /var/lib/postgresql/9.4/data \
  -E utf8 --locale=en_US.UTF-8  --lc-collate=C
pg_upgrade94 \
  -b /usr/lib64/postgresql-$old/bin \
  -B /usr/lib64/postgresql-$new/bin \
  -d /var/lib/postgresql/$old/data \
  -D /var/lib/postgresql/$new/data
exit
mv /var/lib/postgresql/$new/data/*.conf /etc/postgresql-$new
/etc/init.d/postgresql-$new start
rc-update add postgresql-$newdefault
Tags: linux own

May 19 2015

9483 4373 500
xmw.de
Tags: own

May 09 2015

0600 3087 500
xmw.de
Gewünschte Irritation
Tags: own
Reposted byfadenb fadenb

April 30 2015

Howto build IrssiConnectbot w/ mosh for Android 5

Since http://dan.drown.org/android/ is no longer maintained, and newer Androids report a missing -fPIE in the native compiled part of the APK, as it wasn't activated prior to API 16, I had to compile it myself, I chose API level 22, but any above or including 16 should work

# error: only position independent executables (PIE) are supported

#Install the native compiler suite
emerge -av dev-util/android-ndk

# Install GUI to download SDKs etc.
emerge -av dev-util/android-sdk-update-manager

# Download API 22 -> SDK Platform
/opt/android-sdk-update-manager/tools/android

#Create a keystore and signing key
keytool -genkey -v -keystore ~/xmw.de.keystore -alias xmw.de -keyalg RSA -keysize 4096 -validity 10000

# Checkout dan drowns fork of ConnectBot
git clone https://github.com/ddrown/irssiconnectbot.git
cd irssiconnectbot

#Configure your local situation in local.properties
sdk.dir=/opt/android-sdk-update-manager
ndk.dir=/opt/android-ndk
target=android-22
key.store=${user.home}/xmw.de.keystore
key.alias=xmw.de

#Build and sign
ant clean
ant release

# If you switch the apk signature, make sure uninstall the app w/o -k
adb uninstall org.woltage.irssiconnectbot
# If you keep the data, you must install an apk with the same signature!!!
# Subsequent updates can be applied using
adb shell pm uninstall -k org.woltage.irssiconnectbot
adb install bin/irssiconnectbot-debug.apk
Tags: linux own

February 24 2015

1012 1177 500
xmw.de
shark
Tags: own
Reposted bygafSpinNE555modry
0714 da16 500
xmw.de
shark
Tags: own
Reposted bygafleberwurstbrotmodry

January 31 2015

Win 7 bootable install stick

# also works with Win8, Win8.1 and Win10 tech-preview
fdisk /dev/sdb # o, n, p, 1, <def>, <def>, t, 7, a, w
mkfs.ntfs -f /dev/sdb1
ms-sys -7 /dev/sdb
mount -o loop win7.iso /mnt/tmp
mount /dev/sdb1 /mnt/external
cp -rv /mnt/tmp/* /mnt/external
umount /mnt/external
umount /mnt/tmp
sync
Tags: own

January 05 2015

4833 d474 500
xmw.de
W201 w/ OnePlus One running OSMAnd
Tags: own

November 10 2014

October 22 2014

7126 f9ee 500
xmw.de
little extra power
Tags: own

September 04 2014

3553 706c
A minimalistic online clipboard with edit, links, qr and binary support.
Tags: own linux

July 18 2014

Iodine IPv4 over DNS

Route your traffic thru an tunnel based on DNS query and response UDP packets [1] to bypass stupid application level gateways, accountings, etc.
Supported by most *nix (just updated Gentoo/Linux ebuild), Windows and (!) Android [2].
[1] http://code.kryo.se/iodine/
[2] http://blog.bokhorst.biz/5123/computers-and-internet/iodine-dns-tunnel-for-android/
Tags: linux own

June 24 2014

7483 33a5 500
xmw.de
Parallel LiPo charging (S1-S6)
Tags: own
7454 602a 500
xmw.de
EMS1 (electrocution made simple)
Tags: own
Reposted bypolymorphic polymorphic

June 13 2014

7595 8c40 500
xmw.de
Long cake
Tags: own

June 12 2014

3677 a5a3 500
xmw.de
Long cake is long.
Tags: own

May 31 2014

1669 22fa 500
xmw.de
KNUQ w/ P-38
Tags: own sim

May 15 2014

3416 4303 500
xmw.de
2007-03-05
Tags: own

April 19 2014

7554 2545 500
xmw.de
much pixel
Tags: own

March 28 2014

4673 8430 500
xmw.de
powerpack 16 * 12V/7Ah wired to thinkpad adapter
Tags: own
Reposted bywaaaaarghpiefgeg33ky0x5cfadenblambdaglaizPewPowstrubbl
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl