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 | |
| echo "Clé manquante? " | |
| read key | |
| gpg --keyserver pgpkeys.mit.edu --recv-key $key \ | |
| && gpg -a --export $key \ | |
| | sudo apt-key add - |
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
| <?php | |
| function after ($this, $inthat) | |
| { | |
| if (!is_bool(strpos($inthat, $this))) | |
| return substr($inthat, strpos($inthat,$this)+strlen($this)); | |
| }; | |
| function after_last ($this, $inthat) | |
| { |
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
| pubkey() { | |
| gpg --keyserver pgpkeys.mit.edu --recv-key $1; | |
| gpg -a --export $1 | sudo apt-key add -; | |
| sudo apt-get update | |
| } | |
| snano() { | |
| sudo nano $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
| #!/bin/bash | |
| # CHANGE THESE | |
| auth_email="[email protected]" | |
| auth_key="9d467265d47d184d27d0b1805ed818874541" # found in cloudflare account $ | |
| zone_name="example.com" | |
| record_name="sd.example.com" | |
| proxied=true #or false ;p | |
| # MAYBE CHANGE THESE |