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
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA256 | |
| [Domains I own and manage] | |
| - - maymeow.com | |
| - - maymeow.de | |
| - - maymeow.dev | |
| - - maymeow.lol | |
| - - maymeow.me |
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 office 365 session | |
| $UserCredential = Get-Credential | |
| $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
| Import-PSSession $Session | |
| #connect Azure AD | |
| Connect-MsolService -Credential $UserCredential | |
| #Random password generator | |
| Function random-password ($length = 8) |
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
| { | |
| "background": "#15152B", | |
| "black": "#000000", | |
| "blue": "#6943FF", | |
| "brightBlack": "#5C5C61", | |
| "brightBlue": "#6871FF", | |
| "brightCyan": "#79E8FB", | |
| "brightGreen": "#43D426", | |
| "brightPurple": "#FF628C", | |
| "brightRed": "#F92A1C", |
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
| add-type @" | |
| using System.Net; | |
| using System.Security.Cryptography.X509Certificates; | |
| public class TrustAllCertsPolicy : ICertificatePolicy { | |
| public bool CheckValidationResult( | |
| ServicePoint srvPoint, X509Certificate certificate, | |
| WebRequest request, int certificateProblem) { | |
| return true; | |
| } | |
| } |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:E4E133AD32C53C62CBB9A0E906DB2CB984185A93]
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
| { | |
| "background": "#2D2A2E", | |
| "black": "#1A181A", | |
| "blue": "#1080D0", | |
| "brightBlack": "#707070", | |
| "brightBlue": "#22D5FF", | |
| "brightCyan": "#7ACCD7", | |
| "brightGreen": "#A4CD7C", | |
| "brightPurple": "#AB9DF2", | |
| "brightRed": "#F882A5", |
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
| deploy:live: | |
| image: 1drop/docker:git | |
| stage: deploy | |
| when: manual | |
| environment: | |
| name: production | |
| url: https://www.somecustomer.de | |
| before_script: | |
| - eval $(ssh-agent -s) | |
| - ssh-add <(echo "$SSH_PRIVATE_KEY") |
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 | |
| public function sendIcs() | |
| { | |
| $icsString = $this->Calendars->generateIcs(); | |
| $response = $this->response; | |
| // Inject string content into response body | |
| $response = $response->withStringBody($icsString); |
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
| # add-l2tp.ps1 | |
| param($name, $server, $psk) | |
| Add-VpnConnection -Name $name -ServerAddress $server -TunnelType "L2tp" -AuthenticationMethod Chap,MSChapv2,Pap -L2tpPsk $psk |
NewerOlder