Montag, 2. Februar 2015

iPhone to linux

gphoto2 --port=usb -R -P copies all images from an iPhone to the
current directory

Sonntag, 13. April 2014

MNRAS submission problems with Type 3 fonts

Matplotlib ps files like to contain Type 3 fonts, which is something
publishers hate. A grep of the ps files for FontType tells you which
of them are problematic. Then the gs command

gs -sDEVICE=epswrite -dNOCACHE -sOutputFile=zzz_f1.ps -q -dbatch
-dNOPAUSE zzz.ps -c quit

will generate a copy of the file with the fonts magically converted.

Samstag, 29. Juni 2013

PPPOE connection problems

I was facing connection problems after some technical changes on the
side of our DSL provider Tele2 with Linux/PPPOE. While the connection
was established and some websites (in particular google) were loading,
most websites were waiting for connection without success.

The solution was to decrease the mtu to 1400 in /etc/ppp/peers/dsl-provider

Mittwoch, 1. Februar 2012

Sort products randomly in Magento categories

http://www.magentocommerce.com/boards/v/viewthread/232826/#t331309
nicely describes how to sort products randomly in Magento categories.
If you override the model and block by local code instead of editing
the core code, you'll have a upgrade-proof version of this.

Freitag, 11. November 2011

The real deal for compressing PDFs

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen
-dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Mittwoch, 26. Oktober 2011

Archivierung mit tsm

/opt/tivoli/tsm/client/ba/bin/dsmc ar -descr="blabla" foo.tar.gz

Donnerstag, 20. Oktober 2011

Installing PSFEx locally

Install ATLAS first, as prescribed; then run
./configure --prefix=/home/rigel/dgruen

Freitag, 14. Oktober 2011

Using an external hard drive on multiple systems

Using an external hard drive with file systems such as ext or xft on
multiple systems can be difficult when user privileges are scrambles
due to different user and group ids on different hosts. My best
current bet was to adapt the local user and group id of my user on the
machine I have root access to to the one on the machine where I only
have user access.

You can use usermod and groupmod to change the uid and gid
(http://www.cyberciti.biz/faq/howto-change-rename-user-name-id/) then
find / -user 1000 | xargs chown -h 2284
find / -group 1000 | xargs chown -h 2000
to change user and group ids of files accordingly (here, the initial
user was 1000.1000 and the final is 2284.2000).

Change all user ids on the external hard drive accordingly and it should work!

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

iPhone to linux
gphoto2 --port=usb -R -P copies all images from an...
danielgruen - 2. Feb, 19:46
Alternative
This screws up the bounding box of non-square plots....
danielgruen - 30. Dez, 23:22
MNRAS submission problems...
Matplotlib ps files like to contain Type 3 fonts, which...
danielgruen - 13. Apr, 19:45
PPPOE connection problems
I was facing connection problems after some technical...
danielgruen - 29. Jun, 01:51
Sort products randomly...
http://www.magentocommerce .com/boards/v/viewthread/2 32826/#t331309 nicely...
danielgruen - 1. Feb, 17:29

Links

Suche

 

Status

Online seit 6114 Tagen
Zuletzt aktualisiert: 2. Feb, 19:46

Credits


Multimedia
Profil
Abmelden
Weblog abonnieren