Site Tools


snippets:trashcan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
snippets:trashcan [2022/01/10 10:19] – [Pixum Fotowelt] chrissnippets:trashcan [2022/11/13 12:06] – external edit 127.0.0.1
Line 1: Line 1:
 +===== BGP interaction simulation =====
 +  * linux-boxen with quagga
 +  * cisco-emulation dynamips (GNS3 frontend), Olive
  
 +===== c64 style converting =====
 +  * https://mcdraw.xyz/
 +  * ImageMagick: convert in.jpg -scale 160x160 -dither FloydSteinberg -remap c64_palette.png out.png
 +===== small boards/routers =====
 +  * Mikrotik RB2011UIAS
 +  * https://omnia.turris.cz/en/
 +  * Asus Tinker board https://en.wikipedia.org/wiki/Asus_Tinker_Board
 +
 +===== trash =====
 +<code>
 +fujsie iRMC default user/pass admin/admin
 +</code>
 +
 +====== disable spectre/meltdown etc. fixes ======
 +<code>
 +noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off 
 +</code>
 +
 +===== tcpdump =====
 +  * %%cd /tmp; tcpdump -C 1 -i em1  -nv -w tcpdump.bin -W 3%% # create rotating 3 files a 1MB of the last traffic on the interface
 +
 +===== dccutil monitor remote control =====
 +dccutil can remotely control various monitor functions: change volume (the monitor setting), change monitor input etc. [[https://www.die-welt.net/2021/01/building-a-simple-kvm-switch-for-30eur/|details]]
 +<code>
 +ddcutil detect
 +ddcutil capabilities
 +ddcutil getvcp 0x60
 +ddcutil setvcp 0x60 0x11 # switches to hdmi on example monitor
 +</code>
 +
 +===== dnssec =====
 +  * dns CERT entry for x509 certs, so webserver certs can be verified without using CAs
 +  * SSHFP: verification of ssh-known-hosts entries (dig -t SSHFP home.dyndns.hauke-lampe.de)
 +  * CERT: usage for verification of PGP-keys, CERT contains fingerprint & URL to pubkey (dig -t CERT lampe.hauke-lampe.de)
 +  * RFC2538bis, echo Test |gpg --auto-key-locate cert -er lampe@hauke-lampe.de
 +
 +
 +
 +===== linux =====
 +== notifys of dir/file changes ==
 +  * dnotify: old (from 2.4.x), restricted
 +  * inotify: current (introduced 2.6.13), offers much, fs-independent
 +  * fanotify: bleeding edge (* 2.6.36), not much functionality yet
 +  * btrfs will include effective change-tracking, enabling fs-level mirrors etc.
 +
 +== video editing software ==
 +  * Openshot
 +  * Kdenlive
 +  * OpenMovieEditor
 +  * Pitivi
 +  * Kino
 +  * cinelerra
 +  * ProjectX
 +
 +== other ==
 +  * https://github.com/apenwarr/sshuttle sshuttle
 +
 +
 +===== dumping rtmp streams =====
 +  * i.e. urls for arte tv:
 +<code>
 +yum -y install rtmpdump
 +rtmpdump -r 'rtmp://whole-url' -o beethoven
 +</code>
 +
 +===== ebooks =====
 +  * **convert djvu->pdf**
 +    * %%ddjvu -format=pdf -quality=85 -verbose in.djvu out.pdf%%
 +    * %%ddjvu -format=pdf -mode=black in.djvu out.pdf%% smaller, black/white
 +    * gscan2pdf
 +  * **scan**
 +    * scanimage (sane, sane-utils)
 +    * tesseract: OCR
 +    * abby finereader: OCR (commercial)
 +    * scan tailor: modify scans
 +    * YAGF, OCRFeeder: trying to recognize textblocks
 +    * paperwork: full document management
 +  * **constructing the pdf**
 +    * hocr2pdf (exactimage)
 +  * **OCR japanese**
 +    * FineReader Engine 11 CLI for Linux
 +
 +===== network manager =====
 +<code>
 +nmcli device status       : list devices' state
 +nmcli device show enp2s0  : list device states
 +nmcli con show            : show all configured connections (profiles)
 +nmcli con show -a         : filter just active connections
 +'man nmcli' and 'man nmcli-examples'.
 +</code>
 +
 +===== mail clients to try out =====
 +  * Gnus, VM, Wanderlust, MEW
 +
 +===== youtube search terms =====
 +  * "instant remedy playlist", "resident evil playlist", "ghost in the shell playlist", ryuichi sakamoto
 +
 +
 +===== torbrowser specify exit/entry nodes =====
 +<code>
 +vi ./.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc
 +HiddenServiceStatistics 0
 +# This ensures Japan entrynodes, German exitnodes
 +EntryNodes {jp} StrictNodes 1
 +ExitNodes {de} StrictNodes 1
 +</code>
 +
 +===== Ghost/web blog soft =====
 +  * https://ghost.org/docs/install/local/ -- local installations
 +  * https://ghost.org/faq/node-versions/ -- supported Node.js versions
 +  * https://github.com/nodesource/distributions/blob/master/README.md -- install Node.js on Debian
 +<code>
 +# Fedora32 install
 +dnf install nodejs npm
 +npm install ghost-cli@latest -g
 +useradd -m chris
 +su - chris
 +ghost install local
 +</code>
 +===== fgallery =====
 +<code>
 +# set exif time
 +exiftool -DateTimeOriginal='2020:06:27 08:49:51' 20200627_084951_waiting_hikers.jpg
 +
 +# (re)create gallery
 +fgallery -d -i 48_20200627_tou_no_dake/ ../out/48_20200627_tou_no_dake/
 +</code>
 +
 +===== several =====
 +  * Nomiya, Ichiroさん
 +
 +===== nested KVM =====
 +<code>
 +$ cat << EOF > /etc/modprobe.d/kvm_intel.conf
 +options kvm-intel nested=1
 +options kvm-intel enable_shadow_vmcs=1
 +options kvm-intel enable_apicv=1
 +options kvm-intel ept=1
 +EOF
 +</code>
 +
 +===== firefox write interval =====
 +Increase for longer live of you SSD: about:config , browser.session-store.interval .  15.000 = sec
 +
 +===== O'Badzda =====
 +  * 200g Frischkäse (Natur)
 +  * 200g Camembert oder Brie
 +  * ~50g Butter
 +  * 1 kleine Zwiebel, gehackt
 +  * Paprikapulver (edelsüß)
 +  * etwas Bier
 +Alles kleinmantschen und verrühren, ziehen lassen, fertig!
 +
 +===== trousers =====
 +Bought 2012~2014 @C&A Muenchen Perlach
 +<code>
 +TAPERED FIT / CXH.FLATOMIC est. 1975 W30/L32
 +clockhouse supply co.
 +fine mens apparel / 1975 clothing company 0910/2010, 1102/1982
 +</code>
 +
 +
 +===== derrick tracker =====
 +  * 上げた: collbox 2, 4, 5, 9, 10, 11
 +  * 買った: collbox 12, 13, 14
 +  * https://mirrors.dotsrc.org/cdn.media.ccc.de/events/all_systems_go/2019/h264-hd/asg2019-165-eng-BMC_management_with_bmc-toolbox_hd.mp4
snippets/trashcan.txt · Last modified: 2024/03/03 09:14 by chris