This file contains hidden or 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
#Block Against User-Agents and Bots | |
<IfModule mod_setenvif.c> | |
SetEnvIfNoCase User-Agent ^$ keep_out | |
SetEnvIfNoCase User-Agent (casper|cmsworldmap|diavol|dotbot) keep_out | |
SetEnvIfNoCase User-Agent (flicky|ia_archiver|jakarta|kmccrew) keep_out | |
SetEnvIfNoCase User-Agent (libwww|planetwork|pycurl|skygrid) keep_out | |
SetEnvIfNoCase User-Agent (purebot|comodo|feedfinder|turnit) keep_out | |
SetEnvIfNoCase User-Agent (zmeu|nutch|vikspider|binlar|sucker) keep_out | |
<Limit GET POST PUT> | |
Order Allow,Deny |
This file contains hidden or 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
volumes: | |
db_data: | |
version: '3.7' | |
services: | |
mysql: | |
container_name: mysql | |
image: mysql:5.7 | |
volumes: |
This file contains hidden or 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: * | |
Pin: release n=bullseye-backports | |
Pin-Priority: 900 | |
This file contains hidden or 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
deb http://deb.debian.org/debian bullseye main contrib non-free | |
deb-src http://deb.debian.org/debian bullseye main contrib non-free | |
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free | |
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free | |
deb http://deb.debian.org/debian bullseye-updates main contrib non-free | |
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free |
This file contains hidden or 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
### deployment tool aliases | |
## docker | |
# docker image | |
alias dckils='docker image ls' | |
alias dckilsa='docker image ls -a' | |
# docker container | |
alias dckcls='docker container ls' |
This file contains hidden or 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or 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/sh | |
# Prevent you from pushing commits that have "WIP" in the message | |
branch=`git branch 2>/dev/null | grep '^*' | colrm 1 2` | |
git log $branch ^origin/$branch --pretty="format:%h %s" | grep "WIP" | |
if [[ $? -eq 0 ]]; then | |
echo "Found commits with WIP messages" | |
exit 1 |
This file contains hidden or 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
# This snippet checks your current directory for a .ruby-version file | |
# and if it exists, it then checks to see if that version of ruby is | |
# installed. If not, it will ask you if you want to install it. | |
# | |
# Add this snippet to $HOME/.zshrc | |
# In zsh, the chpwd will run a command every time you change directories. | |
function chpwd { | |
# Check if a .ruby-version file exists | |
if [[ -f "$PWD/.ruby-version" ]]; then |
This file contains hidden or 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 -euo pipefail | |
if [ ${#} -eq 0 ] | |
then | |
# read from STDIN | |
MAYBE_GIT_HASH=$( cat ) | |
else | |
MAYBE_GIT_HASH="${1}" | |
fi |
This file contains hidden or 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 -euo pipefail | |
if [ ${#} -eq 0 ] | |
then | |
# read from STDIN | |
DATE=$( cat ) | |
else | |
DATE="${1}" | |
fi |