Fully enabling HTTPS on WordPress

Posted in Uncategorized by admin - Nov 16, 2011

If you want to get WordPress to support HTTPS without any unencrypted content being transferred to the client and included from the browser, you have to force WordPress to change the siteUrl depening on the request schema which comes from the client. The basis for my small addition below is this post: https://prosauce.org/blog/2010/08/enable-complete-support-for-ssl-on-wordpress/ It explains [...]

Tags: COMMENTS

I'll keep it short: Export your AB via evolution, import it into TB, export it as csv, run the following script: awk -F"," ‘{printf("%s,%s,%s %s,", $1,$2,$1,$2); for(i=4;i<36;i++) printf("%s,",$i); printf("\n")}’ in.csv > out.csv import the new csv into TB. You can also shorten this way via modding my one-liner and directly transforming evolution's output (it just [...]

Tags: COMMENTS

I has been a rather long time searching for a decent plotter application for linux. Though as a gnome user I usually defer kde apps because of their deps, but this time I found no alternative available which provided all stuff kmplot features. Besides all cool features which can be discovered by clicking around in [...]

Tags: COMMENTS

While testing several states (gpt,mbr,formatted,unformatted) I ran over a couple of weird errors including 1429 and a message that complained about that other programs would hold a write lock on the fs. The final solution was the option in Vbox to turn on the USB 2.0 EHCI controller which needs the extension pack installed. On [...]

Tags: COMMENTS

Working with terminal controlcodes

Posted in Uncategorized by Julian Kessel - Aug 03, 2011

I wondered about how to clear a line in a shellscript which uses \r to do a carriage return and reuse the same line to output some text: While the CR does not clear the contents of the line, you have to do that yourself: echo -ne "\033[2K\r"`echo $i | awk '{$1=""; print $0}'` I [...]

Tags: COMMENTS

Using pithos with ssh and without socks

Posted in Uncategorized by Julian Kessel - Aug 01, 2011

Pithos is a native pandora client for linux which uses the pianobar library. Users with their endpoint outside of the US have the common problems using pandora with tunnels and so on. If you have a ssh connection to somewhere in a allowed country and being allowed to create port forwardings, this is for you: [...]

Tags: COMMENTS

reboot-safe cfg of thinkpad HIDs

Posted in Uncategorized by Julian Kessel - Jun 02, 2011

I used to configure my trackpoint and touchpad w/ gpointing-device-settings, this way cfgs are non-persistent. I achieved persistency through the following method: prepend the following to the launch of the wm in ~/.xsession xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1 xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2 xinput set-prop 'TPPS/2 [...]

Tags: COMMENTS

Show dd ‘s progress on OSX

Posted in Uncategorized by Julian Kessel - Feb 06, 2011

Simply using kill -USR1 or -USR2 on dd's process id while copying bytes around doesn't work on OSX. You have to use -SIGINFO or -s SIGINFO to achieve that result. Unfortunately trying the first two signals kills the process completely so you have to start from the beginning.

Tags: COMMENTS

scanf vor switch/case und in do/while – ein gcc bug?

Posted in Uncategorized by Julian Kessel - Jan 24, 2011

Mir ist neulich in einer schulischen Arbeit ein merkwürdiges Verhalten des C input managements – ich nenne es mal so,  aufgefallen. Im folgenden Code überrennt das Programm nämlich einfach den letzten scanf() vor einem switch/case Ausdruck sogar! wenn unmittelbar davor den input buffer (stdin) geflusht wird: #include <stdio.h>   int main(){ char op; float inp1,inp2,erg; [...]

Tags: COMMENTS

As I followed this post I ran into this error: /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "wget" Luckily, there is a simple workaround for that, simply set a link to an older? version of the library: <code>ln -s /usr/local/lib/libintl.so.9 /usr/local/lib/libintl.so.8</code> Write this to the PostInit routines under System -> Advanced -> Command Scripts [...]

Tags: COMMENTS