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 | |
CONCAT( 'ALTER TABLE `', TABLE_NAME, '` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;' ) AS 'Copy & run these SQL statements:' | |
FROM | |
INFORMATION_SCHEMA.TABLES | |
WHERE | |
TABLE_SCHEMA = "database_name" | |
AND TABLE_COLLATION != "utf8_general_ci" | |
AND TABLE_TYPE = "BASE TABLE"; |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"regexp" | |
"bufio" | |
"bytes" |
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
package main | |
import ( | |
"os" | |
"io" | |
"regexp" | |
"path/filepath" | |
"bufio" | |
"strings" | |
"bytes" |
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
dotnet publish . -c Release --runtime ubuntu.16.04-x64 |
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
{ | |
"storage-driver": "overlay2", | |
"graph": "/var/lib/docker", | |
"log-driver": "json-file", | |
"log-opts": { | |
"max-size": "10m", | |
"max-file": "2" | |
}, | |
"debug": false, | |
"userns-remap": "1000:1000" |
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
[global] | |
client max protocol = SMB3 |
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
# Ram mounts | |
tmpfs /tmp tmpfs nodev,nosuid,size=1G 0 0 | |
tmpfs /home/xooxx/.cache/google-chrome/Default tmpfs nodev,nosuid,size=1G 0 0 | |
tmpfs /home/xooxx/.cache/mozilla/firefox/6xh5l5hs.default tmpfs nodev,nosuid,size=1G 0 0 | |
# Ntfs windows drives | |
UUID=F4789A76789A3778 /mnt/WD10EFRX ntfs windows_names,hide_hid_files,nosuid,nodev,permissions,defaults 0 0 | |
UUID=C0D680E5D680DD52 /mnt/MK1059GMS ntfs windows_names,hide_hid_files,nosuid,nodev,permissions,defaults 0 0 |
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 apt install ubuntu-restricted-extras |
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 chmod -R a+rwX,o-w . | |
sudo chown $USER:$USER . |
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
#/lib/systemd/system | |
Restart=on-failure | |
RestartSec=5s |
OlderNewer