Profile cover photo
Profile photo
Björn Petersen
Björn's posts

ADB on LG Leon: You have to switch from MTP to PTP for whatever reason ... however, debugging works this way.

Github: "Your account has been flagged." WTF? I'm not a number, I'm a free man!

Post has attachment
Popcorn time: - Signal resp. LibreSignal without Google seems not to be desired; I cannot use or recommend Signal any longer. #signal #libresignal  

Post has attachment

Post has attachment
Björn Petersen commented on a post on Blogger.
For "Silverjuke" I do not use Carbon actively any longer, Cocoa seems to be fine. Although I do not really understand why the Carbon framework is required if I use Cocoa (of course, this issue may be non-wx related).

Enable SSH key login for Git on Synology Diskstation Server

Git can be enabled on a Diskstation easily using DSM, and will work as expected. However, it always requests you to enter your password. Here is a little description how to replace the password entry by a keyfile.

First, in DSM enable the „User Home“ Service at „User / Advanced“.

Then, execute the following commands on your local machine (you can replace “root“ by a user with the desired privileges; „username“ should be replaced by the username you use for git):

$ ssh-keygen    # just hit enter without entering anything, creates the files ~/.ssh/id_rs and ~/.ssh/

$ scp -P 22 ~/.ssh/ root@diskstation:/volume1/homes/username # copy the public file to the remote server

$ ssh root@diskstation  # login to diskstation

on the diskstation:

> mkdir /volume1/homes/username/.ssh
> cat /volume1/homes/username/ >> /volume1/homes/username/.ssh/authorized_keys
> rm /volume1/homes/username/
> exit

now you can use eg. ...

$ git push

... without the need of entering a password :-)

[inspired by ]

Post has attachment
#clamav reports #silverjuke 15.9 to contain the virus Win.Trojan.Win32-2 - this is definitely a false positive!

The problem seems to be the used NSIS installer - Silverjuke.exe itself does not cause a problem. Maybe we should switch from NSIS to MSI ...

Post has attachment
Where is the output from wxDebugLog() in Code::Blocks?

To see it, just enable "Full (Debug) log" at "Settings / Debugger / Common" and start the debugger (I do not know how the messages can be shown when using "Run" instead").

Wenn Pfade mit einem Verzeichnis enden, sollte dieses mit einem Slash abgeschlossen werden oder nicht?


/anywhere/dir/ oder einfacher /anywhere/dir

Ich bevorzuge die erste Variante, da

- es so leicht zu erkennen ist, ob ein Verzeichnis oder eine Datei gemeint ist

- man Pfade mit Dateien sicher zusammenführen kann, also "$pfad + $dateiname" spezifiziert eine Datei

- wenn man Variablen mit Verzeichnissen als "$pfad + $dateiname" weiterverwendet,  kann $pfad so auch leer sein, um z.B. das Home-Verzeichnis anzuspechen

- wenn man beim Zusammenführen "$pfad + / + $dateiname" verwendet, ist dies nicht besonders schlimm (aber unschön) , da der doppelte Slash bei mir bekannten Systemen keine Probleme bereitet

Aber wie so oft: Bei Eingaben in Programmen sollten immer beide Varianten akzeptiert werden.

Ach so: Unter Windows ist die bevorzugte Darstellung eines Verzeichnisses dementsprechend "C:\irgendwo\verzeichnis\"

support for non-DRM AAC and ALAC files added to #silverjuke on windows
Wait while more posts are being loaded