I hereby claim:
- I am mikedamm on github.
- I am miked (https://keybase.io/miked) on keybase.
- I have a public key whose fingerprint is 1D92 CC04 A973 A66C DE66 5B41 E2A2 979E 3B83 209E
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # curl https://gist.githubusercontent.com/mikedamm/82958f9af8640395f3f276af92aaf980/raw/fuckyousystemd.sh | bash | |
| # | |
| echo "Before" | |
| lsof -i -P -n | grep LISTEN | grep ':53' | |
| sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf && \ | |
| sh -c 'rm /etc/resolv.conf && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf' && \ | |
| systemctl restart systemd-resolved | |
| echo "After" |
| while inotifywait -e close_write -r . ; do docker-compose build --no-cache ; docker-compose up -d --force-recreate ; done |
| fallocate -l 8G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0" >> /etc/fstab |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| aptitude -y install update-manager-core | |
| sed -i 's/Prompt=LTS/Prompt=normal/g' /etc/update-manager/release-upgrades | |
| do-release-upgrade |
| rm -f /Library/LaunchAgents/com.mcafee.menulet.plist | |
| rm -f /Library/LaunchAgents/com.mcafee.reporter.plist | |
| rm -f /Library/LaunchDaemons/com.mcafee.ssm.Eupdate.plist | |
| rm -f /Library/LaunchDaemons/com.mcafee.ssm.ScanFactory.plist | |
| rm -f /Library/LaunchDaemons/com.mcafee.virusscan.fmpd.plist | |
| rm -rf /Library/Application\ Support/McAfee | |
| rm -rf /usr/local/McAfee | |
| shutdown -r now |
| Verifying myself: My Bitcoin username is +miked. https://onename.io/miked |
| $(document).ready(function() { | |
| setTimeout(function() { | |
| $.ajax({ | |
| cache: false | |
| }).done(function(html) { | |
| var newDoc = document.open("text/html", "replace"); | |
| newDoc.write(html); | |
| newDoc.close(); | |
| }); | |
| }, 2000); |
| mysql> show create table testing; | |
| +---------+----------------------------------------------------------------------------------------------+ | |
| | Table | Create Table | | |
| +---------+----------------------------------------------------------------------------------------------+ | |
| | testing | CREATE TABLE `testing` ( | |
| `foobar` int(1) DEFAULT NULL | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8 | | |
| +---------+----------------------------------------------------------------------------------------------+ | |
| 1 row in set (0.00 sec) |
| #!/bin/bash | |
| echo -ne "File:\t" | |
| echo $1 | |
| echo -ne "Hash:\t" | |
| openssl x509 -noout -hash -in $1 | |
| echo -ne "Issuer:\t" | |
| openssl x509 -noout -issuer -in $1 | |
| echo -ne "Issuer Hash:\t" | |
| openssl x509 -noout -issuer_hash -in $1 | |
| echo -ne "Fingerprint:\t" |