I hereby claim:
- I am plar on github.
- I am plarkin (https://keybase.io/plarkin) on keybase.
- I have a public key whose fingerprint is ACC7 96BD DEFF 1703 DA7B 06CA A074 420D DADB 4427
To claim this, I am signing this object:
| sudo -i | |
| export DEV="/dev/sda" | |
| export DEV="/dev/nvme0n1" | |
| export DM="${DEV##*/}" | |
| export DEVP="${DEV}$( if [[ "$DEV" =~ "nvme" ]]; then echo "p"; fi )" | |
| export DM="${DM}$( if [[ "$DM" =~ "nvme" ]]; then echo "p"; fi )" | |
| # export SDD_PASS=secret123 | |
| sgdisk --print $DEV | |
| sgdisk --zap-all $DEV |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| # | |
| # `tf_diff` is a CLI tool for humanizing the output of `terraform plan` using python `difflib` module | |
| # Requirements: | |
| # 1. Python 3.x | |
| # 2. If you want color output then you need to install a python module `colorama` (pip install colorama) | |
| # | |
| # Installation: | |
| # Copy the file into your `bin` directory and make it executable (chmod u+x ~/bin/tf_diff) | |
| # |
| Manifest-version: 1.0 | |
| Created-By: 1.0 (https://github.com/plar) | |
| Main-Class: hello.Main |
| #!/bin/env python3 | |
| import os | |
| def short_cwd(cwd, max_len=55): | |
| home = os.environ.get('HOME') | |
| cwd = cwd.replace(home, '~') | |
| if len(cwd) < max_len: | |
| return cwd |
| # Chrome Extension Privacy Policy | |
| Our extensions are fully self-contained, so we have no ability to collect any information when you use them. |
| #!/bin/bash | |
| export GOLANG_VERSION=1.5.3 | |
| export GOLANG_DOWNLOAD_URL=https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz | |
| export GOLANG_DOWNLOAD_SHA256=43afe0c5017e502630b1aea4d44b8a7f059bf60d7f29dfd58db454d4e4e0ae53 | |
| apt-get update -qq | |
| apt-get install -y --no-install-recommends \ | |
| g++ \ |
| """ | |
| Registers any number of application permissions without model | |
| Examples: | |
| # .../project/app/models.py | |
| from django.apps import apps | |
| register_application_permissions( | |
| ( |
| /* | |
| * net/balusc/webapp/FileServlet.java | |
| * | |
| * Copyright (C) 2009 BalusC | |
| * | |
| * This program is free software: you can redistribute it and/or modify it under the terms of the | |
| * GNU Lesser General Public License as published by the Free Software Foundation, either version 3 | |
| * of the License, or (at your option) any later version. | |
| * | |
| * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without |