MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
# Disable menu bar transparency | |
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false | |
# Show remaining battery time; hide percentage | |
defaults write com.apple.menuextra.battery ShowPercent -string "NO" | |
defaults write com.apple.menuextra.battery ShowTime -string "YES" | |
# Expand save panel by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Site Title</title> | |
<link rel="stylesheet" href="/assets/css/style.min.css"> |
#!/usr/bin/env bash | |
set -eu | |
# | |
# Binary installer | |
# | |
# Check for Homebrew | |
if test ! $(which brew); then | |
echo "Installing homebrew..." |
/* | |
* @preserve dataset polyfill for IE < 11. See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset and http://caniuse.com/#search=dataset | |
* | |
* @author ShirtlessKirk copyright 2015 | |
* @license WTFPL (http://www.wtfpl.net/txt/copying) | |
*/ | |
/*global define: false, module: false */ | |
/*jslint nomen: true, regexp: true, unparam: true */ | |
(function datasetModule(global, definition) { // non-exporting module magic dance | |
'use strict'; |
# === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated December 2021 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm