I hereby claim:
- I am ignlg on github.
- I am ignlg (https://keybase.io/ignlg) on keybase.
- I have a public key ASAqWciuAJXAL963nSnrwKQuQ23mJiEpi-3YSco87IyKWgo
To claim this, I am signing this object:
| #!/bin/bash | |
| set -eo pipefail | |
| json=$(y2j <"$1") | |
| overrides=$(echo "$json" | jq "{spec}") | |
| name=$(echo "$json" | jq -r ".metadata.name") | |
| labels=$(echo "$json" | jq -r '.metadata.labels | keys[] as $k | "\($k)=\(.[$k])"' | paste -sd "," -) | |
| image=$(echo "$json" | jq -r ".spec.containers[0].image") |
I hereby claim:
To claim this, I am signing this object:
| #! /bin/bash | |
| BLACK=`tput setaf 0` | |
| RED=`tput setaf 1` | |
| GREEN=`tput setaf 2` | |
| YELLOW=`tput setaf 3` | |
| BLUE=`tput setaf 4` | |
| MAGENTA=`tput setaf 5` | |
| CYAN=`tput setaf 6` | |
| WHITE=`tput setaf 7` |
| on alfred_script(q) | |
| tell application "iTerm" | |
| activate | |
| create window with default profile | |
| select first window | |
| set onlywindow to true | |
| tell the first window | |
| tell current session to write text q | |
| end tell | |
| end tell |
| from pykeepass import PyKeePass | |
| def clean_url(url): | |
| url_parts = url.split("/") | |
| if url_parts[0] == "http:" or url_parts[0] == "https:": | |
| return url_parts[2] | |
| else: | |
| return url |
| #!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 is a work in progress because I have not been able to build an apk yet, but I can build an Android executable.
I keep this notes for my future self and for you if you are fighting against this beast too.
Please read it all, because I will write down every do's and dont's that I have found.
I will polish the document as soon as I have everything.
| #!/usr/bin/env bash | |
| ### | |
| # | |
| # Setup Mac OS X from scratch using Homebrew & Cask | |
| # | |
| # Version: 1.2.31 | |
| # Date: 20151207 | |
| # Author: Ignacio Lago @ignlg | |
| # Gist: https://gist.github.com/ignlg/691cb662e92c41289a03 |
| #F7F7F7,#CEE3F8,#B3CCE6,#FF3000,#B3CCE6,#336699,#38978D,#FF7500 |
| browserSync = require 'browser-sync' | |
| browserSync.use | |
| plugin: -> | |
| hooks: | |
| 'client:js': ' | |
| /* Close tab when server dies */ | |
| (function (bs) { | |
| bs.socket.on("disconnect", function (client) { window.close(); }); | |
| })(___browserSync___);' |