- ディスク容量と転送時間をちょっとでも短縮させたい時にgz形式が便利。
timestamp=$(date +"%Y%m%d%H%M%S")
mysqldump --single-transaction -u $user -h $host --password=$password $dbname | gzip --fast > $dbname.$timestamp.sql.gz
import Foundation | |
let GlobalQueue = DispatchQueue(label: "st.aerial.Yukon.queue") | |
class EchoServer { | |
// let localQueue = dispatch_queue_create("\(EchoServer.self)", | |
// DISPATCH_QUEUE_CONCURRENT) | |
var serverSocket: Int32 | |
var clientsAccepted: [Int32 : DispatchSourceRead] |
#! /bin/bash | |
echo '吉高由里ふぃ子' |
#!/bin/bash | |
# Slack notification script for Munin | |
# Mark Matienzo (@anarchivist) | |
# | |
# To use: | |
# 1) Create a new incoming webhook for Slack | |
# 2) Edit the configuration variables that start with "SLACK_" and "MUNIN_URL" below | |
# 3) Add the following to your munin configuration: | |
# |