Skip to content

Instantly share code, notes, and snippets.

View tuxity's full-sized avatar

Kévin tuxity

  • Earth
  • 21:33 (UTC +01:00)
View GitHub Profile
col[width="55%"] {
width: 75%;
}
col[width="20%"] {
width: 10%;
}
col[width="25%"] {
width: 15%;
}

Generate an SSH key

New standars recommands ed25519 over RSA as it tends to be faster and safer for more time.

Without security key

ssh-keygen -t ed25519 -C [email protected]
[client.admin]
key = AQBDhVZZwDKRBxAAgrjaoPMkYMiiXjkBBTwghg==
caps mds = "allow *"
caps mon = "allow *"
caps osd = "allow *"
test-server.fathosting.io=10.33.78.68:9987
stream {
log_format basic '$remote_addr [$time_local] '
'$protocol $status $bytes_sent $bytes_received '
'$session_time';
access_log /var/log/nginx/access.log basic;
error_log /var/log/nginx/error.log debug;
include /etc/nginx/stream.conf.d/*.conf;
#!/bin/bash
# socket you need to connect to
SCGI_SOCKET=127.0.0.1:5001
# list of tracker message to take into account
TODELETE=("Tracker: [Failure reason \"Torrent non trouve sur le Tracker\"]")
#function to find the torrent message in the array TODELETE
findMessage() {
{
"volumes": null,
"id": "/mariadb/node",
"cmd": null,
"args": [
"--binlog-format=row",
"--wsrep_on",
"--wsrep_cluster_name",
"fathosting_wsrep_cluster",
"--wsrep_provider",
<?php
// Put your Betaserie account informations
define("API_KEY", "");
define("LOGIN", "");
define("PASSWORD", "");
// END OF CONFIGURATION
diff --git a/tools/Linux/packaging/mk-debian-package.sh b/tools/Linux/packaging/mk-debian-package.sh
index 5fd2efc..d4f5f5d 100755
--- a/tools/Linux/packaging/mk-debian-package.sh
+++ b/tools/Linux/packaging/mk-debian-package.sh
@@ -151,9 +151,9 @@ function buildDebianPackages {
}
function uploadPkg {
- PKG="${PBUILDER_BASE}/${dist}-${arch}/result/${DEST/-/_}-${TAGREV}_${arch}.changes"
+ PKG="${PBUILDER_BASE}/${dist}/${arch}/result/${DEST/-/_}-${TAGREV}_${arch}.changes"
1/
Install : https://github.com/davromaniak/scriptomaniak/blob/master/pbuilderrc
ARCH="amd64" DIST="jessie" pbuilder create --othermirror "deb http://mirrors.xbmc.org/test-builds/apt/debian stable/" --extrapackages "wget libfuse2 libgcrypt11 udev autopoint"
2/
ARCH="amd64" DIST="jessie" pbuilder --login --save-after-exec --debootstrap qemu-debootstrap