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 file in `find . ` | |
do | |
permissions=`stat -c %a $file` | |
if [ $permissions = "660" ] | |
then | |
permissions=664 | |
echo "Permission 660 trouvée" | |
else | |
permissions=775 |
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 | |
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode Virtual1 1920x1080_60.00 | |
xrandr --output Virtual1 --mode 1920x1080_60.00 |
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
# Change les droits des répertoires et sous répertoires du dossiers courant | |
# Changer la directive -type d par -type f pour ne changer que les droits des fichiers | |
find -type d -exec chmod 770 {} \; |
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
".*-chrome*" | |
None, Up, Button4, 2 | |
None, Down, Button5, 2 | |
Control_L, Up, Control_L|Button4 | |
Control_L, Down, Control_L|Button5 | |
Shift_L, Up, Shift_L|Button4 | |
Shift_L, Down, Shift_L|Button5 | |
"^Firefox-bin$" | |
None, Up, Button4, 2 |
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
<VirtualHost *:443> | |
ServerAdmin <ADMIN EMAIL HERE> | |
ServerName <SITE DNS NAME HERE> | |
<IfModule mod_disk_cache.c> | |
# "/s" is where Confluence serves "static" stuff. Instruct Apache to cache it: | |
CacheEnable disk /s | |
CacheIgnoreHeaders Set-Cookie | |
CacheRoot "/var/cache/apache2/mod_cache_disk" | |
CacheDirLevels 5 |
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
"^(code|discord|rocket.chat|slack|microsoft teams - preview)$" | |
None, Up, Button4, 2 | |
None, Down, Button5, 2 | |
".*-chrome*" | |
None, Up, Button4, 2 | |
None, Down, Button5, 2 | |
Shift_L, Up, Shift_L|Button4, 2 | |
Shift_L, Down, Shift_L|Button5, 2 | |
Control_L, Up, Control_L|Button4 |
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 | |
xprop WM_CLASS | grep -o '"[^"]*"' | head -n 1 |
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
Change value of read size into Input/Codec -> Stream filters -> Prefetch | |
Set it same as buffer size. |
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 INPUTFILENAME -c:v libx264 -r 25 -preset slow -crf 24 -c:a copy -vf scale=1280:720 OUTPUTFILENAME |
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
version: '2' | |
services: | |
rocketchat: | |
image: rocketchat/rocket.chat:latest | |
command: > | |
bash -c | |
"for i in `seq 1 30`; do | |
node main.js && | |
s=$$? && break || s=$$?; |
OlderNewer