Month: September 2017

  • EmacsWiki: NTEmacs With Cygwin

    https://www.emacswiki.org/emacs/NTEmacsWithCygwin This is great!!! Now I can do “Search Files…” in Emacs’s dired-mode again — just like “everywhere”. How to get it to start in the user’s home directory? Create a shortcut for runemacs.exe, move it to AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ ! Modify the properties of that shorcut accordingly!

  • my self-hosted Git server on my NAS

    https://stackoverflow.com/questions/10391522/git-does-not-appear-to-be-a-git-repository – the crucial question resp. advice there: On your server, go to the directory that is the repository and type pwd. The output is the full path of the repository, make sure you use that. I am using ssh://HOST/… Git URLs for that purpose.

  • Git, Windows, and how to deal with CR-LF

    https://git-scm.com/book/tr/v2/Customizing-Git-Git-Configuration#__code_core_autocrlf_code I am working in a UNIX-ish environment under Windows, so I don’t want Git to convert my Linux-LFs to CR-LF and vice versa. This is my Git setting: $ git config –global core.autocrlf false

  • git on cygwin (or wherever): if you run into the “ssh-askpass” problem, make sure you get the SSH agent running!

    deploy your SSH public key to your git server! If the SSH agent allows you logging in to “various platforms”, it will also allow you logging in to your git server. And you are fine.

  • git, https URLs, invalid SSL certificates

    My recent git problem looked like this: $ git clone https://git.CORP.org/GROUP/REPO.git Cloning into ‘REPO’… fatal: unable to access ‘https://git.CORP.org/GROUP/REPO.git/’: SSL certificate problem: unable to get local issuer certificate What are the available approaches? get a proper certificate and use it! switch off SSL verification! Approach (1) is certainly better than (2). But maybe you are […]

  • icons on flaticon.com

    Icons made by Freepik from www.flaticon.com are licensed by CC 3.0 BY. I needed an icon for my profile on a corporate GitLab site, and I chose one of their icons: https://www.flaticon.com/free-icon/showman_122463 They asked to credit them in public – that’s why I created this blog article.

  • “pdftohtml” – the one PDF utility I cannot “be” without

    https://en.wikipedia.org/wiki/Poppler_(software)  – very nice description of the poppler-utils https://en.wikipedia.org/wiki/Xpdf https://github.com/Entware-ng/Entware-ng https://github.com/Entware-ng/Entware-ng/wiki https://github.com/Entware-ng/Entware-ng/wiki/Install-on-Synology-NAS I actually mean “pdftohtml -xml” – which creates XML from PDF, and this is my command line: $ pdftohtml -xml -i -nomerge -hidden FILE.pdf resp.: $ pdftohtml -xml -i -nomerge -hidden FILE.pdf FILE.pdftohtml.xml Sometimes I need to run “pdftohtml -xml” (on the command line) […]

  • Synology knowledge base: What kind of CPU does my Synology NAS have?

    https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General/What_kind_of_CPU_does_my_NAS_have

  • the Cygwin packages that I need most seriously on a Windows PC

    https://cygwin.com/cgi-bin2/package-grep.cgi https://cygwin.com/packages/package_list.html my package list: https://cygwin.com/packages/x86_64/wget https://cygwin.com/packages/x86_64/unzip https://cygwin.com/packages/x86_64/git https://cygwin.com/packages/x86_64/curl I can install these ones through apt-cyg (see below!) (maybe git, … from the list above as well): https://cygwin.com/packages/x86_64/diffutils https://cygwin.com/packages/x86_64/perl https://cygwin.com/packages/x86_64/perl-debuginfo  – solves the “Tie::Hash::NamedCapture” problem https://cygwin.com/packages/x86_64/python2 https://cygwin.com/packages/x86_64/python3 https://cygwin.com/packages/x86_64/ruby https://cygwin.com/packages/x86_64/openssh https://cygwin.com/packages/x86_64/rsync https://cygwin.com/packages/x86_64/xinit – X.Org X server launcher (Cygwin/X) https://cygwin.com/packages/x86_64/xmlstarlet – XMLStarlet is a command line XML toolkit which […]

  • disabling password authentication with sshd

    https://stackoverflow.com/questions/20898384/ssh-disable-password-authentication Apparently there are numerous attempts to log into my NAS (with invalid passwords) from the WAN side. Synology offers a feature to block IP addresses after a couple of invalid attempts and also log that blocking, and I am making use of that feature. After quite some months I got worried by the overwhelming […]