I hereby claim:
- I am vrillusions on github.
- I am vrillusions (https://keybase.io/vrillusions) on keybase.
- I have a public key whose fingerprint is 4704 CA9C DC4B 315F AD2D 0FD4 B899 1FDD 7A82 5389
To claim this, I am signing this object:
# Original use case for this is on a jenkins server where jobs wipe their working | |
# directories and wipes the virtual environment with it. Was abandoned as we just | |
# got a regular caching server that it uses | |
# run these at initial setup and if requirements or pip version changes | |
# and yes old version of pip used `pip install --download` and newer versions | |
# use `pip download`. | |
mkdir -p "${HOME}/.cache/pip/localcache" | |
pip install --download "${HOME}/.cache/pip/localcache" -U pip setuptools | |
pip install --no-index --find-links="${HOME}/.cache/pip/localcache" -U pip setuptools |
# Normalize line endings of text files | |
* text=auto | |
# Add exclusions here after running reset operation | |
#bin/** -text | |
# Ignore files on running `git archive` | |
/.github export-ignore | |
/.gitattributes export-ignore | |
/.gitignore export-ignore |
# This taken from https://github.com/praetorian-inc/Hob0Rule and I wanted to | |
# look up what all these meant. So using the documentation[1] here's what all | |
# these mean. The explanation precedes each pattern and the example input | |
# word is superman | |
# | |
# These are the most common substitutions people do when creating passwords. | |
# Thus it would be in your best interest to not choose a password that would | |
# match any of these patterns or almost match when given a dictionary of | |
# common words. | |
# |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Open a new instance of KeePassX with the specified database | |
# | |
# release: 2014-08-18 | |
# src: https://gist.github.com/vrillusions/4b1156054019437d969c | |
set -e | |
set -u | |
December 13, 2016 - This gist has been moved to a dedicated github repo, https://github.com/vrillusions/ubuntu-kickstart, no more updates will be posted to this gist.
# This was tested on puppet v3.6.1 but believe the fix was in v3.5 | |
yumrepo { 'epel': | |
ensure => present, | |
baseurl => 'http://whatever' | |
... | |
} | |
# This purges any yumrepo resource that isn't specified anywhere in manifest. | |
# On node run `puppet resource yumrepo` to get a list of all yumrepo resources |
1. Open a command prompt and navigate to /etc/nginx/ssl | |
2. issue "openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr" | |
3. Get your certificate - Go to your certificate authority and give them the CSR | |
4. copy your new crt to the /etc/nginx/ssl and give it read priveledges | |
5. reconfigure your nginx.conf, here is mine. The first part redirects 80 to 443, the second part listens to 443 and is optimized to return Ruby on Rails application requests using gzip and unicorn. |
# ssh(1) obtains configuration data from the following sources in the following order: | |
# | |
# 1. command-line options | |
# 2. user's configuration file (~/.ssh/config) | |
# 3. system-wide configuration file (/etc/ssh/ssh_config) | |
# | |
# For each parameter, the first obtained value will be used. The configuration files contain sections separated | |
# by “Host” specifications, and that section is only applied for hosts that match one of the patterns given in the | |
# specification. The matched host name is the one given on the command line. | |
# |