I hereby claim:
- I am QuynhVir on github.
- I am quynhvir (https://keybase.io/quynhvir) on keybase.
- I have a public key whose fingerprint is 12C3 F146 FF8D CB6A EFC1 BD44 5748 4E09 554E 8E97
To claim this, I am signing this object:
sudo nano /etc/sysctl.conf | |
fs.file-max=6510126 | |
vm.overcommit_memory=1 | |
net.core.somaxconn=65535 | |
sudo sysctl -p | |
sudo nano /etc/security/limits.conf |
#!/bin/bash | |
echo "*** SVG 2 ICNS ***" | |
if [ $# -ne 1 ]; then | |
echo "Usage: svg2icns filename.svg" | |
exit 100 | |
fi | |
filename="$1" | |
name=${filename%.*} | |
ext=${filename##*.} | |
echo "processing: $name" |
<!-- Example #1 - no styling --> | |
Made with ❤ in Switzerland | |
<!-- Example #2 - inline-styled ❤ --> | |
Made with <span style="color: #e25555;">♥</span> in Switzerland | |
Made with <span style="color: #e25555;">♥</span> in Switzerland | |
<!-- Example #3 - CSS-style class for ❤ --> | |
<style>.heart{color:#e25555;}</style> | |
Made with <span class="heart">❤</span> in Switzerland |
def remove_numberInt(d): | |
for k, v in d.items(): | |
if k == '$numberInt': | |
d = int(v) | |
if isinstance(v, dict): | |
d[k] = remove_numberInt(v) | |
if isinstance(v, list): | |
for i, item in enumerate(v): | |
if isinstance(item, dict): | |
d[k][i] = remove_numberInt(item) |
I hereby claim:
To claim this, I am signing this object:
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ses:SendRawEmail" | |
], | |
"Condition": { | |
"StringEquals": { | |
"ses:FromAddress": "do-not-reply@example.com" |
gpg -er quynh@vir.vn z.jpg | |
gpg -o z.jpg -d z.jpg.gpg |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
import zlib | |
import requests | |
headers = { | |
"accept-encoding" : "gzip", | |
"content-type" : "gzip", | |
} | |
post_data = "This is expected to be sent back as part of response body." |
powershell.exe -Command "Get-WinEvent -ListLog * -Force | % { Wevtutil.exe cl $_.LogName }" |