view · edit · sidebar · attach · print · history

6.2021

  • rename files
 rename SAI 'Typ1' *.XML

5.10.2021

  • Download Video and extract Audio
 youtube-dl https://www.youtube.com/watch?v=-uT4JDHmkLQ
 ffmpeg -i Takeda\ Event\ about\ ADHD\ with\ Dr.med.\ Ursula\ Davatz-gM1dq6iE_ZM.mp4 -q:a 0 -map a youtube_takeda_adhd.m4a

28.6.2021

  • check faulty RAM sudo sudo lshw -class memory

7.5.2021

  • ffmpeg, extract an image from a video
 ffmpeg -ss 01:25 -i IMG_4738.MOV -vframes 1 surf_5.png
  • iconv
 iconv -f ISO-8859-1 -t UTF-8//TRANSLIT Artikelstamm.csv -o Artikelstamm_utf8.csv

30.4.2021

  • vnc
 x11vnc -rfbauth /home/zeno/.vnc/passwd -auth /run/user/120/gdm/Xauthority -display :1
 x11vnc -create -env FD_PROG=/usr/bin/lxterm -env X11VNC_FINDDISPLAY_ALWAYS_FAILS=1 -env X11VNC_CREATE_GEOM=${1:-1024x768x16} -gone 'killall Xvfb' -bg -nopw
 x11vnc -create -env FD_PROG=/usr/bin/i3 -env X11VNC_FINDDISPLAY_ALWAYS_FAILS=1 -env X11VNC_CREATE_GEOM=${1:-1024x768x16} -gone 'killall Xvfb' -bg -nopw

30.3.2021

  • ffmpeg
 https://gist.github.com/protrolium/e0dbd4bb0f1a396fcb55
  • concatenate audio files
 https://trac.ffmpeg.org/wiki/Concatenate
 ffmpeg -f concat -safe 0 -i mylists.txt -c copy output.mp3
 # 04 - 1900 Rimsky-Korsakov - Dance of the Bumble Bee.mp3
 file '/Users/zdavatz/Desktop/1.mp3'
 # 07 - 1894 Dvorak - Humoresque442,903.mp3
 file '/Users/zdavatz/Desktop/2.mp3'
 #09 - 1899 J. Strauss II - Vienna Blood - Waltz.mp3
 file '/Users/zdavatz/Desktop/3.mp3'
 #10 - 1796 Haydn- Trumpet Concerto in E flat, 3rd movement.mp3
 file '/Users/zdavatz/Desktop/4.mp3'
 # 03 - 1899 Sibelius - Finlandia442,903.mp3
 file '/Users/zdavatz/Desktop/5.mp3'
 ffmpeg -i The_Other_Eye_2930.avi -i output.mp3 -c:v copy -map 0:v:0 -map 1:a:0 001_the_other_eye_classic.mp4

29.3.2021

  • Adobe
Network > Filter > adobecc
export FOLDER_ID=
curl https://public.adobecc.com/files/${FOLDER_ID} | jq '.children[] | "https://public.adobecc.com/files/\(env.FOLDER_ID)/\(.name)"' | xargs wget

https://nieldw.medium.com/downloading-all-files-from-adobe-creative-cloud-share-83387bea94e4

20.1.2021

  • phpdbg
 /var/www/ganglion.ch/doc/wsadmin/php
 phpdbg admin.php
 run

18.1.2021

  • /etc/apache2/httpd.conf
 LoadModule request_module modules/mod_request.so
 LoadModule auth_form_module modules/mod_auth_form.so
  • php-5.6.24
 ./configure --with-mysql --with-apxs2=/usr/bin/apxs --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-phpdbg
  • /etc/apache2/
 apache2.conf -> /etc/apache2/httpd.conf

15.1.2021

  • apache upgrade 2.2 to 2.4
 https://linux.101hacks.com/unix/client-denied-by-server-configuration/
  • check the memory of a process
 sudo pmap -x 4861
  • show the process ID
 sh -c 'echo $$;  meteor --settings drugshortage.json --once'
  • show memory usage with smaps
 cat /proc/31768/smaps | grep -i pss |  awk '{Total+=$2} END {print Total/1024" MB"}'
  • meteor puppeteer dependencies for ubuntu
 libx11-xcb1
 libx11
 libx11-dev
 libXcomposite
 libxcomposite-dev
 libxcursor-dev
 libxdamage-dev
 libxi-dev
 libxtst-dev
 libnss3-dev
 libcups2-dev
 libxss-dev
 libxrandr-dev
 libatk1.0-dev
 libatk-bridge2.0-dev
 libpangocairo
 libpangocairo-1.0
 libgtk-3-dev

14.1.2021

  • apache upgrade 2.2 to 2.4
 APACHE2_MODULES="proxy_html xml2enc socache_shmcb authn_core authz_core unixd access_compat" in /etc/make.conf

check modules with

 /usr/sbin/apache2ctl -M
  • git
 git-remote-https died of signal 11
 -> upgrade your Curl version

12.1.2021

  • ifconfig
 ifconfig eth0 62.12.131.46 netmask 255.255.255.240 up
 route add default 62.12.131.33 eth0
 ifconfig eth0:45 62.12.131.45 netmask 255.255.255.240 up
  • pambase
 Do not unmerge pambase: https://github.com/gentoo/pambase/issues/4

Verzeichnis nach Jahren

view · edit · sidebar · attach · print · history
Page last modified on October 06, 2021, at 11:29 AM