- Bag
- T-shirts
- Trousers
- Socks
- Underwear
- Travel adapter
- Plug splitter
- Various chargers
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
| alias fix_trackpad="sudo modprobe -r elan_i2c && sudo modprobe elan_i2c" |
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
| import { DependencyList, EffectCallback, useEffect, useRef } from 'react'; | |
| const useEffectDebug = ( | |
| effect: EffectCallback, | |
| deps: DependencyList, | |
| label?: string, | |
| ) => { | |
| const previous = useRef<DependencyList>(); | |
| useEffect(() => { | |
| const changedDepIndexes: number[] = []; |
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
| <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; |
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
| /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 |
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
| server { | |
| listen 80; | |
| server_name domain.com; | |
| include letsencrypt_params; | |
| } | |
| server { | |
| listen 443; | |
| server_name domain.com; |
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
| 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 |
- Create new user (e.g.
webhook) with the following permissions:Overall > Read,Job > Build,Job > Read&Job > Workspace. Login as the user and get their API token - Under a job, enable "Trigger Builds Remotely" and set an authentication token
- Trigger a POST request with the following structure:
http://{USER}:{API_TOKEN}@{JENKINS_URL}/job/{JOB}/build?token={AUTHENTICATION_TOKEN}
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
| 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 \ |
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
| <RoutingRules> | |
| <RoutingRule> | |
| <Condition> | |
| <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
| </Condition> | |
| <Redirect> | |
| <HostName>newdomain.com</HostName> | |
| <ReplaceKeyWith>?referrer=olddomain</ReplaceKeyWith> | |
| </Redirect> | |
| </RoutingRule> |