- Configure
/tmp
as perfstab
, adjustsize
if needed - Copy
xdg-cache.service
to/etc/systemd/user/xdg-cache.service
- Copy
xdg-cache.sh
to/usr/local/bin/xdg-cache.sh
and thenchmod +x /usr/local/bin/xdg-cache.sh
- Run
systemctl --user enable xdg-cache.service
as the user that needs this service
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
[root] | |
name = "hello_world" | |
version = "0.1.0" | |
dependencies = [ | |
"clap 2.20.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"num_cpus 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
"term 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
] |
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
bootstrap | |
================ | |
Name Project Compat Latest Kind Platform | |
---- ------- ------ ------ ---- -------- | |
cmake 0.1.25 0.1.26 0.1.26 Normal --- | |
filetime 0.1.10 0.1.12 0.1.12 Normal --- | |
gcc 0.3.54 Removed Removed Normal --- | |
getopts 0.2.14 0.2.15 0.2.15 Normal --- | |
itoa 0.3.3 0.3.4 0.3.4 Normal --- | |
libc 0.2.30 0.2.31 0.2.31 Normal --- |
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 | |
usage() { | |
>&2 printf "Usage: $0 -n <phy|wpi> [-p <int>] [-f <mode|value>]\n" | |
>&2 printf "\t-n\tNumbering rule, physical or wPi\n" | |
>&2 printf "\t-p\tPin number\n" | |
>&2 printf "\t-f\tField to read\n" | |
exit 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
[Unit] | |
Description=Refreshes GnuPG keys for %I | |
Requires=network.target network-online.target | |
After=network.target network-online.target | |
[Service] | |
Type=oneshot | |
User=%i | |
ExecStart=/usr/bin/gpg --refresh-keys | |
StandardOutput=journal |
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
-- The C compiler identification is AppleClang 10.0.0.10001145 | |
-- The CXX compiler identification is AppleClang 10.0.0.10001145 | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ | |
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works |
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
#!/usr/bin/env bash | |
# Read https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8 first! | |
# Run this script at the beginning of each month | |
# (Optional) Email notification if the script is interrupted | |
#function notify() { | |
# printf 'Refer to the logs for further info.\n' | mail -s 'DKIM rotation process was interrupted' '[email protected]' | |
#} | |
# |
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
[2019-07-07T11:14:35.233593+00:00] mongoc: TRACE > ENTRY: _mongoc_linux_distro_scanner_get_distro():389 | |
[2019-07-07T11:14:35.233614+00:00] mongoc: TRACE > ENTRY: _mongoc_linux_distro_scanner_read_key_value_file():154 | |
[2019-07-07T11:14:35.233631+00:00] mongoc: TRACE > ENTRY: _process_line():93 | |
[2019-07-07T11:14:35.233637+00:00] mongoc: TRACE > TRACE: _process_line():121 Found name: Arch Linux | |
[2019-07-07T11:14:35.233640+00:00] mongoc: TRACE > EXIT: _process_line():128 | |
[2019-07-07T11:14:35.233643+00:00] mongoc: TRACE > ENTRY: _process_line():93 | |
[2019-07-07T11:14:35.233646+00:00] mongoc: TRACE > EXIT: _process_line():128 | |
[2019-07-07T11:14:35.233649+00:00] mongoc: TRACE > ENTRY: _process_line():93 | |
[2019-07-07T11:14:35.233653+00:00] mongoc: TRACE > EXIT: _process_line():128 | |
[2019-07-07T11:14:35.233657+00:00] mongoc: TRACE > ENTRY: _process_line():93 |
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
AUR Package | AUR File | Ubuntu Package | Ubuntu File | src Path | Common File | |
---|---|---|---|---|---|---|
mysql-community-server | /etc/apparmor.d/usr.sbin.mysqld | |||||
mysql | /etc/conf.d/mysql.conf | |||||
mysql | /etc/ld.so.conf.d/mysql.conf | |||||
mysql-common | /etc/mysql/conf.d/mysql.cnf | ./mysql/src/mysql-8.0.17/packaging/deb-in/extra/conf.d/mysql.cnf,./mysql/src/mysql-8.0.17/packaging/deb-in/extra/mysql.cnf | ||||
mysql | /etc/mysql/my.cnf | |||||
libmysqlclient | /etc/mysql/my.cnf.default | |||||
mysql-common | /etc/mysql/my.cnf.fallback | ./mysql/src/mysql-8.0.17/packaging/deb-in/extra/my.cnf.fallback | ||||
mysql-community-server | /etc/mysql/mysql.cnf | ./mysql/src/mysql-8.0.17/packaging/deb-in/extra/conf.d/mysql.cnf,./mysql/src/mysql-8.0.17/packaging/deb-in/extra/mysql.cnf | ||||
mysql-community-server | /etc/mysql/mysql.conf.d/mysqld.cnf | ./mysql/src/mysql-8.0.17/packaging/deb-in/extra/mysqld.cnf |
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
#!/usr/bin/env bash | |
# shellcheck disable=SC2001 | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
OS=$(uname) | |
case "$OS" in | |
Linux) | |
OS="${OS,,}" |
OlderNewer