Pack List
General
- Bag
- T-shirts
- Trousers
- Socks
- Underwear
- Travel adapter
- Plug splitter
- Various chargers
<html> | |
<head> | |
<title>~alun</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 2vh 5vh 4vh; | |
background: #050505; |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install nvm && echo -e "\ | |
NVM_DIR=\"$HOME/.nvm\"\n. \"/usr/local/opt/nvm/nvm.sh\" | |
" >> ~/.bash_profile && source ~/.bash_profile && | |
nvm install v8 --default && | |
brew cask install iterm2 chromium visual-studio-code 1password authy alfred | |
sudo rm -rf Downloads/ | |
ln -s ~/Desktop Downloads |
server { | |
listen 80; | |
server_name domain.com; | |
include letsencrypt_params; | |
} | |
server { | |
listen 443; | |
server_name domain.com; |
fallocate -l 1G /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab | |
apt update | |
apt install -y screen default-jdk | |
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.7.4/minecraft_server.1.7.4.jar | |
ln -s minecraft_server.1.7.4.jar minecraft_server.jar | |
screen -S minecraft |
webhook
) with the following permissions: Overall > Read
, Job > Build
, Job > Read
& Job > Workspace
. Login as the user and get their API tokenhttp://{USER}:{API_TOKEN}@{JENKINS_URL}/job/{JOB}/build?token={AUTHENTICATION_TOKEN}
export DOMAIN="mydomain.com" | |
curl https://get.acme.sh | sh | |
bash --login | |
mkdir -p /etc/nginx/certs/$DOMAIN/ | |
acme.sh --issue -d $DOMAIN -w /var/www/$DOMAIN/public/ | |
acme.sh --install-cert -d $DOMAIN \ | |
--certpath /etc/nginx/certs/$DOMAIN/cert.pem \ | |
--keypath /etc/nginx/certs/$DOMAIN/key.pem \ | |
--fullchainpath /etc/nginx/certs/$DOMAIN/fullchain.pem \ |
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<HostName>newdomain.com</HostName> | |
<ReplaceKeyWith>?referrer=olddomain</ReplaceKeyWith> | |
</Redirect> | |
</RoutingRule> |
# Based on: http://blog.celogeek.com/201209/209/how-to-create-a-self-signed-wildcard-certificate/ | |
# Replace .domain.com with desired domain (and x.domain instances) | |
openssl genrsa 2048 > x.domain.key | |
openssl req -new -x509 -nodes -sha1 -days 3650 -key x.domain.key > x.domain.cert | |
# Interactive prompt: enter *.domain.com for the Common Name | |
openssl x509 -noout -fingerprint -text < x.domain.cert > x.domain.info | |
cat x.domain.cert x.domain.key > x.domain.pem |
[client_id]
with your own and the [redirect_uri]
with one you specified during the registration process:
https://api.instagram.com/oauth/authorize/?client_id=[client_id]&redirect_uri=[redirect_uri]&response_type=token