Skip to content

Instantly share code, notes, and snippets.

View lucakiebel's full-sized avatar
🕳️
Working from home

Luca Kiebel lucakiebel

🕳️
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am lucakiebel on github.
  • I am lucakiebel (https://keybase.io/lucakiebel) on keybase.
  • I have a public key whose fingerprint is 3EB9 E071 5C95 A79C 2B30 131C 5523 A08F 5859 327C

To claim this, I am signing this object:

@lucakiebel
lucakiebel / mongodump_in_docker-compose.sh
Last active May 22, 2022 18:48
Use Mongodump and Mongorestore to backup and restore MongoDB Databases run in docker-compose
docker-compose exec -T mongodb mongodump --authenticationDatabase admin -u root -p password --db test --archive --gzip > dump.gz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" lang="en">
<head><link rel="stylesheet" type="text/css" hs-webfonts="true" href="https://fonts.googleapis.com/css?family=Lato|Lato:i,b,bi">
<title>Email template</title>
<meta property="og:title" content="Email template">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@lucakiebel
lucakiebel / nibyou_mail_template.html
Created May 15, 2022 17:46
nibyou email template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
@lucakiebel
lucakiebel / id_rsa.pub
Created March 18, 2021 12:58
SSH Key for my X1C6
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCizLxEY/Tx3ZZAsJhQ4whi1JiaszdubYTr3+03sXCHtITf4eHfHmJasCPAHSzj0mWVwR/IL6eDAd/VyMeLqLskfegSJTHpTC6JeA9XPhmytzI4pMcrMOoM+6Vrf4Q2+KW/VlFPbEiQik9CD+Ds5loFlZIYPL6ZXBB9NZAw4Mf92uB38ogtFnvgXmx/HRtMGYpeLAr58YTPyfHFn5uaK9W54v7T9ENkoj1/yCL9i5L5IKepZ5PWLqf1w+1WKb7tAuZDhv045RkEgqvxFk3uxTvUyPLwdhdtLlyH3X2lXmFE7ve8hadkitg79xyINtkwyZSqJxe/36Xo47O7YNTsteBrxa77tD8fyjfTQiuXL4temDlxvbY+nVls24eDHTnT53YjcsKiTMogKufBJ+D6gYA18nwwen2OvsK72p/K2fiFHI60I9ByCn+j5yoezOdq5zalTsPOaXE8HwsdZj+/YHU0bxDwt1rb933f6YO95djrQ+lzFKaFvNWdmtSOTwxo0y0= luca@x1c6

Keybase proof

I hereby claim:

  • I am lucakiebel on github.
  • I am lucakiebel (https://keybase.io/lucakiebel) on keybase.
  • I have a public key ASCl-rBbqcegp6I9TQHJqpMtV2aYsfFvv4xGsjpw1uiGpAo

To claim this, I am signing this object:

node_modules
node_modules_TMP
logs/*.log
/.vagrant
.webpack-cache
public
npm-debug.log
oauth-howto.txt
compiled-css
.ssh
@lucakiebel
lucakiebel / serialize.js
Last active May 4, 2018 11:41
Serialize a HTML form without the use of further libraries (no jQuery, no underscore)
function serialize(form, spaceToPlus = false) {
if (!form || form.nodeName !== "FORM") {
return;
}
let i, j, q = [];
for (i = form.elements.length - 1; i >= 0; i = i - 1) {
if (form.elements[i].name === "") {
continue;
}
switch (form.elements[i].nodeName) {
\lstdefinestyle{mystyle}
{
language = C++,
basicstyle = {\ttfamily \color{main-color}},
backgroundcolor = {\color{back-color}},
stringstyle = {\color{string-color}},
keywordstyle = {\color{key-color}},
keywordstyle = [2]{\color{lime}},
keywordstyle = [3]{\color{yellow}},
keywordstyle = [4]{\color{teal}},