This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python | |
""" | |
Exports a Bitwarden database into a KeePass file (kdbx) including file attachments, custom fields and folder structure. | |
It can also export an unencrypted XML KeePass file conforming to KeePass 2 XML format. | |
It requires keepassxc-cli, if not available it can still export KeePass 2 XML | |
- https://github.com/keepassxreboot/keepassxc | |
Usage: bw_export_kp.py [-h] [-x] [-d] [-bw-password None] [-kee-password None] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########## Install Shadowsocks ########## | |
# https://github.com/shadowsocks/shadowsocks-libev#debian--ubuntu | |
sh -c 'printf "deb http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list' | |
apt update | |
apt -t jessie-backports install shadowsocks-libev | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
CLIENT="client" | |
SERVER="server.org" | |
FQDN="server.org" | |
CA="ca" | |
cat << EOF | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |