view · edit · sidebar · attach · print · history

28.8.2017

  • Base64
 cat RZ_2017-09-22T211907.amk | base64 --decode
  • Letsencrypt
 ./certbot-auto certonly --standalone -w /var/www/oddb.org -d ch.oddb.org -d i.ch.oddb.org
 $ sudo certbot certonly --standalone -d example.com -d www.example.com from here

12.4.2017

  • Show duplicates
 Sort the file using :sort
 Execute command :g/^\(.*\)$\n\1$/p

28.3.2017

  • Upload file using slackcat
 slackcat -c rapflag -m sandoz.png

24.3.2017

  • Format ugly looking jason in vim
 :%!python -m json.tool
  • replace two or more whitespaces with comma
 :%s/\s\{2,}/,/gc

22.3.2017

  • Using gam
 gam print group-members group arzt1@oddb.org | grep user
 gam update group remove member user@domain.ch

17.3.2017

  • convert PDF to JPG
 pdfbox PDFSplit allegro_sports_short_de_2017.pdf
 convert -density 300 -trim allegro_sports_short_de_2017-6.pdf -quality 100 6.jpg

15.3.2017

  • What process runs on a specific port
 sudo netstat -nlp | grep :80
  • Pump Up Virtual Network Cards
 ifconfig eth0:45 62.12.131.45 netmask 255.255.255.240 up

12.3.2017

  • Show the python path
 python -c "import sys; print(':'.join(x for x in sys.path if x))"

10.3.2017

  • Unix Timestamp conversion:
 cat out | sed 's/^/echo "/; s/\([0-9]\{10\}\)/`date -d @\1`/; s/$/"/' | bash

2.3.2017

  • add leading zeros
 awk '{ printf("%03d\n", $1) }' 3.csv >> 3_final.csv 
 Attach:checkdigit.txt
 ./checkdigit < 6.csv > 7.csv

6.2.2017

  • Having password problems with Chrome? Try this:
 cd ~/.config/google-chrome-beta
 find . -type f -exec file {} + | grep -i SQLite | cut -d: -f1 | while read FILE; do     fuser -k -TERM "$FILE"; done

4.2.2017

  • Remove Docker images
 # docker images -q | xargs docker rmi
  • CNTK
 export PATH=/tmp/cntk/cntk/bin:$PATH
 export LD_LIBRARY_PATH=/tmp/cntk/cntk/lib:/tmp/cntk/cntk/dependencies/lib:$LD_LIBRARY_PATH

25.10.2016

  • ifup on Debian
 ifup eth0:1
 ifup eth0:0

5.10.2016

  • emerge with Dependencies
 emerge -uDU --with-bdeps=y @world
 https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet

1.9.2016

  • Test sandoz.xmlconv.bbmb.ch
 curl -v http://sandoz.xmlconv.bbmb.ch/propharma -d@confuse.xml

Attach:confuse.xml.txt

14.7.2016

  • Update bbmb depending on config File
 sudo -u bbmb update_articles_and_products config=/var/www/sandoz.bbmb.ch/etc/config.yml

18.6.2016

  • @ Symbol disappears
 xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'

17.6.2016

  • gen ruby 2.3.1
 Attach:gen_ruby_231_no_doc.txt

13.6.2016

  • Using letsencrypt
 https://github.com/certbot/certbot - Certbot ist very cool!
 ./certbot-auto certonly --standalone -d comed.zurrose.ch

16.5.2016

  • Java 8 Download from Oracle
 wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz

15.5.2016

  • Portage-Utils

show emerge History

 qlop -l or qlop -u

27.1.2016

  • Vim replace Umlaute.
 :%s/=//e | %s/E4//e | %s/FC//e | %s/F6//e | %s/DC//e | set fileencoding=iso-8859-1 | %s/C4//e | %s/D6//e

16.6.2015

  • vsftp fr Linux Kernel 4.0.x
 https://wiki.gentoo.org/wiki/Vsftpd

4.6.2015

  • What uses a lot of data?
 du -a -h /home/zeno/ | sort -h -r | head -n 10

16.3.2015

  • Refdata download with wget.

6.3.2015

  • Show all deleted files with git
 git log --diff-filter=D --summary

8.7.2014

7.7.2014

17.7.2012

10.5.2012

14.3.2012

10.3.2012

3.3.2012

29.2.2012

24.2.2012

23.2.2012

  • No more htmlgrid written in C! Pure Ruby from tody! Nice!

21.2.2012

19.2.2012

18.2.2012

17.2.2012

16.2.2012

14.2.2012

13.2.2012

10.2.2012

8.2.2012

7.2.2012

6.2.2012

2.3.2012

2.2.2012

30.1.2012

29.1.2012

28.1.2012

26.1.2012

25.1.2012

24.1.2012

23.1.2012

22.1.2012

20.1.2012

15.1.2012

13.1.2012

  • mod_ruby Benchmark, compiled mod_ruby against Ruby 1.8.6 and Ruby 1.9.3 running in a Ruby-1.9.3-p0 process.

12.1.2012

10.1.2012

9.1.2012

6.1.2012

5.1.2012

4.1.2012

Verzeichnis nach Jahren

view · edit · sidebar · attach · print · history
Page last modified on October 05, 2017, at 11:10 AM