Convert m4b to mp3 on Centos/Fedora using ffmpeg
for m4b in *.m4b; do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
for m4b in *.m4b; do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
find . -depth -name '* *' \ | while IFS= read -r f ; do mv -i "$f" "$(dirname "$f")/$(basename "$f"|tr ' ' _)" ; done
awk '{ if (length($0) > max) {max = length($0); maxline = $0} } END { print maxline }' YOURFILE
Regedit, find: Outlook 2007 [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security] Outlook 2010 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security] Outlook 2013 [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security] Outlook 2016, Outlook 2019 and Office 365 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security] Level1Remove string Value .cer;.exe;.xxx for the stuff you want to unblock.
Do not install as root, or use --unsafe-perm
First get handle: https://docs.microsoft.com/en-us/sysinternals/downloads/handle Run handle once without searching for anything, to accept license. Run in a CMD AS ADMIN: handle64.exe > output.txt . Find the file you want. Then…
Sometimes your swap is not large enough [root@server ~]# free -g total used free shared buff/cache available Mem: 23 3 13 0 7 19 Swap: 1 0 1 [root@server ~]#…
Get firmware from support site. Then update via "C:\Program Files (x86)\Jabra\SDKFirmwareUpdater\JabraFwUpdater.exe"
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer' Add above in tmux.conf. Then do Prefix+Shift+P
python -c 'import pty; pty.spawn("/bin/bash")' yay python
=TRIM(RIGHT(SUBSTITUTE(B5,CHAR(10),REPT(" ";200));200)) Especially useful for project trackers. Add a LEFT(XXX;10) for returning dates.
1. Clone your fork: git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git 2. Add remote from original repository in your forked repository: cd into/cloned/fork-repo git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git git fetch upstream 3. Updating your…
create user 'nextcloud'@'localhost' identified by 'xxx'; create database nextcloud; grant all privileges on nextcloud.* to 'nextcloud'@'localhost' identified by 'xxx'; FLUSH PRIVILEGES;
Since we have no icmp/ping over proxychains, we have to change syntax a bit ~/svn/proxychains-ng/proxychains4 -f ~/proxychains.conf ~/svn/AutoRecon/autorecon.py --nmap '\-sT \-Pn' 10.1.1.{1,224,235,246,248}
scp -P 80 … yes, capital P
getconf LONG_BIT though uname -a should help too
I think I had a blog like this before. Apparently not. Adding minimize and maximize buttons to gnome (in kali for example, if you cannot update:) gsettings set org.gnome.desktop.wm.preferences button-layout…
/lib/ld-linux.so /bin/chmod +x /bin/chmod or find your own ld location
yum install inotify-tools while inotifywait page.html ; do weasyprint page.html page.pdf ; done
Check if the arch you are compiling for (or in) has the register you try. For example the rsp register is x86_64, not x86...
Guest Additions 6.0.14 module for kernel 4.18.0-80.11.2.el8_0.x86_64. Error building the module. Build output follows. make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.18.0-80.11.2.el8_0.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules make: warning: -jN forced in submake: disabling…
use \c before your search string For example: /\csearch will find Search.
use systeminfo . Running might take 10 seconds.
Whoami binary, or type "set" and see if it is in the vars.Download
Compiling exploit and getting the sh: tcsetattr: Invalid argument error? It helps to compile on a similar box. Find what linux runs your same kernel version+arch and compile there. Centos…
sort -t . -k 3,3n -k 4,4n IPs
Description=Sonarr Daemon After=syslog.target network.target User=sonarr Group=sonarr Type=simple ExecStart=/usr/bin/mono /opt/sonarr/bin/NzbDrone.exe -nobrowser -data /opt/sonarr TimeoutStopSec=20 WantedBy=multi-user.target
Add to .bashrc: export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ;} ip=\$( echo \$PWD | grep -oE '{1,3}\.{1,3}\.{1,3}\.{1,3}' ) " Now if you browse to/in a directory which has an ipv4 ip, the IP will…
echo "===SUMMARY===";grep . */report/notes.txt| while read line; do IP=$( echo -ne $line|cut -d'/' -f1| tr -d '\n' ); ] && echo; echo -n $IP ; echo -n $line | cut…