I hereby claim:
- I am powellc on github.
- I am secstate (https://keybase.io/secstate) on keybase.
- I have a public key ASBxgRKwG3tnw7tfdz9pf0b2oIvtQrkboSA3EbFL7aDObQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| #just want to post something!!!!!! :D | |
| sudo pkg install node www/npm git gmake wget | |
| wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash |
| import re | |
| import os | |
| import git | |
| semver_pattern = '(?:(\d+)\.)(?:(\d+)\.)(?:(\d+))' | |
| BASE_DIR = os.getcwd() | |
| g = git.cmd.Git(BASE_DIR) | |
| commits = list(filter(None, g.log("--format=%B").splitlines())) |
| xrandr --output HDMI-0 --rate 60 --mode 1360x768 --fb 1360x768 --panning 1360x768* --output HDMI-0 --mode 1360x768 --same-as VGA-0 | |
| xrandr --output HDMI-0 --set underscan on | |
| xrandr --output HDMI-0 --set "underscan hborder" 40 --set "underscan vborder" 25 |
| #!/usr/bin/env bash | |
| # Path to the bash it configuration | |
| export BASH_IT="/home/powellc/.bash_it" | |
| # Lock and Load a custom theme file | |
| # location /.bash_it/themes/ | |
| export BASH_IT_THEME='powerline' | |
| # Your place for hosting Git repos. I use this for private repos. |
| # Path to your oh-my-zsh installation. | |
| export ZSH=~/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="agnoster" | |
| # Uncomment the following line to use case-sensitive completion. |
| // ==UserScript== | |
| // @name Toggl-Button GitHub | |
| // @namespace https://github.com/jurgenhaas/toggl-button-greasemonkey | |
| // @version 1.3 | |
| // @include http*://github.com/* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_addStyle | |
| // @grant GM_getResourceText | |
| // @grant GM_getValue | |
| // @grant GM_setValue |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # upstart script for gogs (Go Git Service) | |
| # | |
| author "tsv" | |
| description "gogs upstart script" | |
| start on (local-filesystems and net-device-up) | |
| stop on shutdown | |
| def add_view(self, request, form_url='', extra_context=None): | |
| save_as_new = request.POST.get("_saveasnew", '') | |
| if extra_context is None: | |
| extra_context = {} | |
| # keep the save as new in case of validation errors | |
| extra_context['save_as_new'] = save_as_new | |
| # but if it is a real new addition, remove _saveasnew from POST | |
| if not save_as_new and '_saveasnew' in request.POST: | |
| del request.POST['_saveasnew'] |
| #!/bin/bash | |
| export PASSPHRASE=your_gpg_passphrase | |
| export AWS_ACCESS_KEY_ID=your_s3_access_key | |
| export AWS_SECRET_ACCESS_KEY=your_s3_secret | |
| export MYSQL_PASSWORD=your_mysql_password | |
| for DB in app_1 app_2 app_3; do | |
| mysqldump -h localhost -u backup_user -p${MYSQL_PASSWORD} ${DB} | gzip > /var/dbdumps/${DB}.sql |