Skip to content

Instantly share code, notes, and snippets.

View pierreneter's full-sized avatar

Pierre Neter pierreneter

View GitHub Profile
@pierreneter
pierreneter / pierreneter public key
Created February 9, 2024 11:18
pierreneter public key
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC419IoFrz3P0TrUvtVYL5t0x8LabmwSseBM2eZedTe6wfWtRQrUNSKd3g5YdqzA6L7kESEJ+woXG5Q5nhpnab958XnmkL+z7g0tFs1RqzSYo7PM4m6Dnv0i9IK0WIqdqsYQkowiImJyN85luk75DGEilCYLsoRx+xfxpdwjnmN5shNzbYQsjNQwOIomiO6gtMab5dj6uyn+4u9d8mOMW5xiOGqzgAMgCH4M5dKiG3WCUWo6D+y1dmPO/zvJp0Czz2NtY7IHrOfthTsV+H0oP4PLZ2T7V5u3MEU9O0E8EMKdhCh51bejthvv3m0z3nD0faLvkH29FWoqrXKUAQwex7ggSPOweM3JKvRRBQPE36PEA87jyKOzCXkcUcDg0FfuVl+ax8R6cTqhNTlnzIvFKibDzlfzOOmcutURXt5GZiM05DYt+jILNm6k5z5F2MKj75eggqr3kL6J/Iueqj+YFXFVjxPUdIz0SPXxAOoD4zqL81qfCsxO0N7zLjdPYjkThT50UbnkHN84XbDOnk/81gRairDRFLrk56uguHdQQLM/mhGkDv4bXIWrQH0UMvi5Mwa25uqQfBzjQ5Dtk7ekyu9TJYomLci3QvhkKC97Liq0wXbSyW8Yiv+yXf83o38AMk/QhgxFJbsXedS6jOs3trY8Www2lQTdOoV4jatKzMKmw== pierreneter" >> ~/.ssh/authorized_keys
mkdir -p ~/.ssh
touch ~/.ssh/authorized_keys
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC419IoFrz3P0TrUvtVYL5t0x8LabmwSseBM2eZedTe6wfWtRQrUNSKd3g5YdqzA6L7kESEJ+woXG5Q5nhpnab958XnmkL+z7g0tFs1RqzSYo7PM4m6Dnv0i9IK0WIqdqsYQkowiImJyN85luk75DGEilCYLsoRx+xfxpdwjnmN5shNzbYQsjNQwOIomiO6gtMab5dj6uyn+4u9d8mOMW5xiOGqzgAMgCH4M5dKiG3WCUWo6D+y1dmPO/zvJp0Czz2NtY7IHrOfthTsV+H0oP4PLZ2T7V5u3MEU9O0E8EMKdhCh51bejthvv3m0z3nD0faLvkH29FWoqrXKUAQwex7ggSPOweM3JKvRRBQPE36PEA87jyKOzCXkcUcDg0FfuVl+ax8R6cTqhNTlnzIvFKibDzlfzOOmcutURXt5GZiM05DYt+jILNm6k5z5F2MKj75eggqr3kL6J/Iueqj+YFXFVjxPUdIz0SPXxAOoD4zqL81qfCsxO0N7zLjdPYjkThT50UbnkHN84XbDOnk/81gRairDRFLrk56uguHdQQLM/mhGkDv4bXIWrQH0UMvi5Mwa25uqQfBzjQ5Dtk7ekyu9TJYomLci3QvhkKC97Liq0wXbSyW8Yiv+yXf83o38AMk/QhgxFJbsXedS6jOs3trY8Www2lQTdOoV4jatKzMKmw== pierreneter" > ~/.ssh/authorized_keys
@pierreneter
pierreneter / docker-alpine.bash
Last active February 4, 2023 18:56
Docker apline
apk add docker openrc --no-cache
addgroup root docker
rc-update add docker boot
service docker start
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
@pierreneter
pierreneter / .editorconfig add *.proto
Last active October 4, 2020 08:49
.editorconfig for .proto (protocol buffers)
# https://developers.google.com/protocol-buffers/docs/style
[*.proto]
indent_stlye = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
@pierreneter
pierreneter / docker
Last active July 8, 2022 05:19
Fast curl to run install docker snippet
#!/bin/sh
# https://docs.docker.com/engine/install/ubuntu/
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
ca-certificates \
@pierreneter
pierreneter / sketchtool sketch cli setup
Last active August 9, 2021 05:23
sketchtool sketch cli install, sketchtool sketch cli path, sketchtool sketch cli setup
#!/bin/sh
rm -rf /usr/local/bin/sketchtool
ln -s /Applications/Sketch.app/Contents/MacOS/sketchtool /usr/local/bin/sketchtool
{
"pointStart": 1230764400000,
"pointInterval": 3600000,
"dataLength": 56909,
"data": [-0.7, -0.9, -1.7, -2.5, -3, -3.3, -3.8, -4, -4.5, -4.7, -4.8, -4.5, -4.5, -4.7, -4.8, -5.2, -5.2, -5, -5.4, -5.8, -5.8, -5.5, -4.7, -4.1, -3.5, -3.2, -2.4, -2.8, -1.7, -1.2, -0.9, -0.7, -0.4, -0.4, -0.3, 0.2, 0.2, 0.3, 0.3, 0.5, 0.9, 0.7, 1.1, 1.3, 1.1, 1.4, 1, 0.3, 0.1, 0.1, 0.3, 0.7, 1.2, 2.1, 3.7, 4, 4.1, 3.9, 3.7, 3.3, 3.7, 4.1, 4.1, 3.6, 3.1, 2.7, 2.1, 2, 0.9, 0, -0.5, -1.2, -1.1, -1, -0.7, -1.4, -1.4, -2, -1.8, -2, -3.4, -4.6, -5.3, -5.7, -6, -6.1, -6.5, -7.2, -7.8, -7.9, -8.1, -8.4, -8.5, -8.7, -8.9, -9.1, -9.3, -9.2, -9.4, -9.5, -9.7, -9.7, -9.7, -9.6, -8.1, -7.5, -6.1, -5, -4.3, -4, -4, -4.1, -4.2, -4.4, 2.8, -4.5, -4.6, -4.5, -4.1, -3.7, -3.4, -3.1, -1.8, 2.5, 1.4, 3, 3.2, 3.2, 2.9, 3.1, 3.1, 2.2, 2.3, 3, 3, 2.9, 2.6, 2, 1.1, 0.2, -0.2, -0.3, -0.2, -0.2, -0.3, -0.4, -0.7, -1, -1.1, -1.1, -1.2, -1.2, -1.1, -1.2, -1.2, -0.8, -1.5, -1.2, -1.7, -2.9, -3.9, -3.1, -2.7, -3, -2.7, -2.4, -2.2, -2.1, -2.3, -2.3, -2.3,
@pierreneter
pierreneter / images
Created December 8, 2017 19:55
images
https://www.google.com.vn/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
{
"name": "Túy Âm",
"assets": {
"spotify": "https://open.spotify.com/track/4u6Ib5oyD7dlz3xo0Ht7Gh",
"itunes": "https://itunes.apple.com/vn/album/tuy-am-feat-xesi-nhat-nguyen/id1289763464?i=1289763471&app=itunes&ign-mpt=uo%3D4",
"applemusic": "https://itunes.apple.com/vn/album/tuy-am-feat-xesi-nhat-nguyen/id1289763464?i=1289763471&app=music&ign-mpt=uo%3D4",
"deezer": "http://www.deezer.com/us/track/411463512?app_id=140685",
"youtube": "https://www.youtube.com/watch?v=EV-91JV4Fws"
}
}