Created
January 20, 2017 22:34
-
-
Save AysadKozanoglu/4e445e58f4dc47f4218b019e1784378f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// kill ip connection | |
tcpkill host <ip> | |
//get concurrency connection per ip | |
netstat -atun | awk '{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n | |
// shell simultanously connection simulate | |
for i in {0..60}; do (curl -Is http://46.101.214.181:10101 | head -n1 &) 2>/dev/null; sleep 1; done; | |
//ip from hostname domain | |
getent hosts hallotaxi24.de | awk '{ print $1 }' | |
// ausgabe von auflösung desktop | |
xwininfo -root | grep 'geometry' | awk '{print $2;}' | |
// bildschirm aufnehmen | |
apt-get install libxvidcore-dev libx264-dev | |
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libx264 --enable-libxvid --enable-x11grab --disable-yasm | |
//screen record | |
ffmpeg -f x11grab -r 25 -s 1280x720 -i :0.0+0,24 -vcodec libx264 -threads 0 /tmp/video.mkv | |
//convert mkv to mp4 | |
ffmpeg -i video.mkv -vcodec libx264 -crf 22 -threads 0 video.mp4 | |
//tar packen | |
tar cfvz archiv.tar.gz inhalt1 inhalt2 | |
//nano replace | |
ctrl + altGr \ | |
//von einem laufwerk iso erstellen | |
//erstellen | |
sudo dd if=/dev/sdb of=/destination/usb-image.iso | |
//wiederzurück | |
dd if=/sourceDestination/usb-image.iso of=/dev/sdb | |
// alles im verzeichnis ersetzen mit string | |
sed -i 's/fosstreaming/HLSSERVER/g' views/*.php | |
//nach geänderter datum sortieren | |
ls -ltr | |
//android emulator start | |
/daten/linux/android-sdk/tools/emulator -avd android1 | |
//install apk from console | |
/daten/linux/android-sdk/platform-tools/adb install xxx.apk | |
//cordova project start emulate android | |
cordova emulate --target android1 android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment