basic bitch obfuscation of email, telephone
parent
62885e3b63
commit
0d36f5b7da
|
|
@ -45,14 +45,14 @@
|
|||
|
||||
<view style="display: flex; flex-direction: row; align-items: center; gap: 3pt;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13pt; height: 13pt; fill: rgb(82, 82, 82);"><path d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"></path></svg>
|
||||
<a href="mailto:contact@blapointe.com" style="text-decoration: none;" target="_blank" rel="noreferrer">
|
||||
<text style="color: rgb(23, 23, 23); font-weight: normal;">contact@blapointe.com</text>
|
||||
<a href="mailto:contact@blapointe.com" style="text-decoration: none;" target="_blank" rel="noreferrer">
|
||||
<text style="color: rgb(23, 23, 23); font-weight: normal;">contact@blapointe.com</text>
|
||||
</a>
|
||||
</view>
|
||||
|
||||
<view style="display: flex; flex-direction: row; align-items: center; gap: 3pt;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13pt; height: 13pt; fill: rgb(82, 82, 82);"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"></path></svg>
|
||||
<a href="tel:3367016159" style="text-decoration: none;" target="_blank" rel="noreferrer">
|
||||
<a href="tel:3367016159" style="text-decoration: none;" target="_blank" rel="noreferrer">
|
||||
<text style="color: rgb(23, 23, 23); font-weight: normal;">(336) 701-6159</text>
|
||||
</a>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,23 @@ if ! which gojq; then
|
|||
go install github.com/itchyny/gojq@latest
|
||||
fi &> /dev/null
|
||||
|
||||
html_escape_str() {
|
||||
local str="$1"
|
||||
for i in $(seq 0 $(("${#str}"-1))); do
|
||||
LC_CTYPE=C printf '&#%d;' "'"${1:i:1}
|
||||
done
|
||||
}
|
||||
html_escape_str contact@blapointe.com
|
||||
|
||||
while sleep 1; do
|
||||
date
|
||||
cat ./homebrew.yaml \
|
||||
| sed "s/@/$(html_escape_str @ | sed 's/\&/\\\&/g')/g" \
|
||||
| sed "s/mailto:/$(html_escape_str mailto: | sed 's/\&/\\\&/g')/g" \
|
||||
| sed "s/tel:/$(html_escape_str tel: | sed 's/\&/\\\&/g')/g" \
|
||||
| gojq --yaml-input . \
|
||||
| tpl --file homebrew.tmpl \
|
||||
> ./homebrew.html
|
||||
| tee ./homebrew.html \
|
||||
> /dev/null
|
||||
date
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ resume:
|
|||
title: 'Senior Software Engineer'
|
||||
contact:
|
||||
links:
|
||||
- text: contact@blapointe.com
|
||||
link: mailto:contact@blapointe.com
|
||||
- text: 'contact@blapointe.com'
|
||||
link: 'mailto:contact@blapointe.com'
|
||||
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13pt; height: 13pt; fill: rgb(82, 82, 82);"><path d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"></path></svg>'
|
||||
- text: (336) 701-6159
|
||||
link: tel:3367016159
|
||||
link: 'tel:3367016159'
|
||||
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13pt; height: 13pt; fill: rgb(82, 82, 82);"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"></path></svg>'
|
||||
- text: Provo, UT
|
||||
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 13pt; height: 13pt; fill: rgb(82, 82, 82);"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"></path></svg>'
|
||||
|
|
|
|||
Loading…
Reference in New Issue