Character | Unicode |
---|---|
→ | Arrow |
❯ | Prompt |
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
ServerAliveInterval 120 | |
Host <host> | |
HostName <hostname> | |
User <user> | |
IdentityFile ~/.ssh/<file> |
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 | |
TEXT_SHORT='Foobar' | |
TEXT_LONG='The quick brown fox jumps over the lazy dog.' | |
FGs=(30 90 31 91 32 92 33 93 34 94 35 95 36 96 37 97) | |
BGs=(40 100 41 101 42 102 43 103 44 104 45 105 46 106 47 107) | |
echo |
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
if SandboxVars.StarterKit then | |
local bag = playerObj:getInventory():AddItem("Base.Bag_ALICEpack_Army"); | |
bag:getItemContainer():AddItem("Base.Hammer"); | |
bag:getItemContainer():AddItem("Base.Screwdriver"); | |
playerObj:getInventory():AddItem("Base.BaseballBat"); | |
playerObj:getInventory():AddItem("Base.WaterBottleFull"); | |
playerObj:getInventory():AddItem("Base.WaterBottleFull"); | |
playerObj:setClothingItem_Back(bag); | |
end; |
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
git filter-branch --tree-filter 'if [ -f README.md ]; then sed -i "s/foo/bar/g" README.md; fi' HEAD |
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
docker build -t <image> . | |
docker run -d -it -v (pwd):/var/www -p 3000:3000 --name <service> <image> | |
docker system prune --all --force --volumes | |
docker compose up -d --no-deps --force-recreate --build <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
sed -i "s/foo/bar/g" foobar.txt | |
perl -i -pe "s/foo/bar/g" foobar.txt | |
ruby -pi -e "gsub(/foo/, 'bar')" foobar.txt |
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
<username> ALL=(ALL) NOPASSWD:ALL |
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
figlet -f slant foobar | lolcat | |
figlet -f slant foobar | cowsay -n | lolcat |
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
git merge --squash <branch> |
NewerOlder