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
deneme |
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
#!/bin/bash | |
# Get files from Google Drive | |
# $1 = file ID | |
# $2 = file name | |
URL="https://docs.google.com/uc?export=download&id=$1" | |
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate $URL -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=$1" -O $2 && rm -rf /tmp/cookies.txt |
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
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 40 -b:v 0 -b:a 512k -c:a libopus output.webm |
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
ffmpeg -i video.mp4 -vcodec h264 -b:v 512k -acodec mp3 output.mp4 |
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
SecAction "id:9999010,phase:1,nolog,initcol:ip=%{REMOTE_ADDR}" | |
SecRule REQUEST_URI "!@contains /core/" "id:9999020,phase:1,nolog,chain,setvar:ip.post_attempt=+1,deprecatevar:ip.post_attempt=3/30" | |
SecRule REQUEST_METHOD "@streq POST" "id:9999030" | |
SecRule IP:POST_ATTEMPT "@gt 3" "id:9999040,log,deny,msg:'CUSTOM RULE - Possible POST request attack'" |
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
<select> | |
<option value="">Seçin</option> | |
<option value="Adana">Adana</option> | |
<option value="Adıyaman">Adıyaman</option> | |
<option value="Afyon">Afyon</option> | |
<option value="Ağrı">Ağrı</option> | |
<option value="Aksaray">Aksaray</option> | |
<option value="Amasya">Amasya</option> | |
<option value="Ankara">Ankara</option> | |
<option value="Antalya">Antalya</option> |
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
sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/1-libffmpeg.so | |
sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so |
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
# BEGIN Browser Cache | |
<IfModule mod_headers.c> | |
Header append Vary User-Agent env=!dont-vary | |
<FilesMatch "\.(gif|jpg|jpeg|png|swf|svg|txt|xml|js|css)$"> | |
Header set Cache-Control "max-age=29030400, public" | |
</FilesMatch> | |
<FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> | |
Header unset Last-Modified |
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
# Fail2Ban filter to block repeated failed login attempts to WordPress site(s) | |
# | |
# | |
[INCLUDES] | |
before = common.conf | |
[Definition] |
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
#!/bin/bash | |
for i in $(ls -d /home/*); do | |
user=${i/\/home\/} | |
echo $user | |
chmod 750 /home/$user/public_html | |
find /home/$user/public_html/. -type f -exec chmod 640 {} \; |
NewerOlder