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
@marufshidiq
marufshidiq / HOWTO.md
Created April 12, 2020 07:03
Backup and Restore mongodb inside docker-compose container

How to backup

docker-compose exec -T <mongodb_service_name> mongodump --archive --gzip --db <mongodb_database> > dump.gz

How to restore

docker-compose exec -T  mongorestore --archive --gzip &lt; dump.gz
@btxtiger
btxtiger / AesUtil.ts
Last active May 27, 2024 07:54 — forked from AndiDittrich/AesUtil.js
Node.js - AES Encryption/Decryption with AES-256-GCM using random Initialization Vector + Salt
/**
* Cryptography Functions
*
* Forked from AndiDittrich/AesUtil.js
* https://gist.github.com/AndiDittrich/4629e7db04819244e843
*/
import crypto, { CipherGCM, CipherGCMTypes, DecipherGCM } from 'crypto';
import { Password } from './types';
@kehers
kehers / mail.html
Created April 26, 2018 16:51
Simple mail 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" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Quick Mail</title>
<style type="text/css">
a {color: #0166d6;}
body {-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6; }
</style>
</head>
@lucakiebel
lucakiebel / combauen.markdown
Last active October 4, 2016 19:49
combauen

ComBauen

ComBauen is a Java based game where you need to find parts for a Server in an open-world scenario to run the Matrix on it. Your Father comitted suicide because he failed at this task and you need to restore your families reputation!

A Pen by Luca Kiebel on CodePen.

License.