3 liens privés
Pour accélérer les parties après avoir perdu ses données :
$('body').scope().game._units.byName.energy._addCount(100000000000);
$('body').scope().game._units.byName.larva._addCount(100000000000000000);
Comment faire marcher pro pinball sous linux/dosbox.
Un petit patch qui permet de changer un identifiant...
Classement de jeux
souvenirs bis... je me demande ce que ça deviens...
Quasar voyager... que de souvenirs...
Recommandations Angular
Modifier les droits des répertoires sur un chmod malheureux
sudo find . -type f -exec chmod 664 {} +
sudo find . -type d -exec chmod 775 {} +
sudo chmod 660 wp-config.php
define('FS_METHOD', 'direct');
Attention aux wp-uploads, etc... Bref, wordpress...
Site pour vérifier comment est classé son email : spam, etc...
music
apache permissions
mysql / mariadb performance tip
apache user, group and directories
f only one user is responsible for maintaining the site, set them as the user owner on the website directory and give the user full rwx permissions. Apache still needs access so that it can serve the files, so set www-data as the group owner and give the group r-x permissions.
chown -R eve contoso.com
chgrp -R www-data contoso.com
chmod -R 750 contoso.com
chmod g+s contoso.com
ls -l
drwxr-s--- 2 eve www-data 4096 Feb 5 22:52 contoso.com
If you have folders that need to be writable by Apache, you can just modify the permission values for the group owner so that www-data has write access.
chmod g+w uploads
ls -l
drwxrws--- 2 eve www-data 4096 Feb 5 22:52 uploads
Option Explicit
Sub passwordBreaker(protectedSheet As Worksheet)
'Breaks worksheet password protection.
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
protectedSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox (protectedSheet.Name + " is unprotected")
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End Sub
Sub unprotectAll()
Dim sheet As Worksheet
For Each sheet In ActiveWorkbook.Sheets
passwordBreaker sheet
Next
End Sub
iotop
dstat
while true; do date; ps auxf | awk '{if($8=="D") print $0;}'; sleep 1; done
Pour trouver la musique d'un film / série (via Korben)
Docker behind proxy :
$ mkdir /etc/systemd/system/docker.service.d/
$ cat >/etc/systemd/system/docker.service.d/proxy.conf << EOF
[Service]
Environment=HTTP_PROXY=http://myproxy:3128/
EOF
$ systemctl daemon-reload
$ systemctl restart docker.service
squeezbox client
Airplay to squeezebox
spring boot investigation : -Ddebug