Skip to content

Instantly share code, notes, and snippets.

View HatBeardMe's full-sized avatar

Rick Egli HatBeardMe

View GitHub Profile
@HatBeardMe
HatBeardMe / _service.md
Last active October 19, 2017 21:47 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
@HatBeardMe
HatBeardMe / TODO
Created October 11, 2017 05:39 — forked from perrygeo/TODO
Ansible playbook for a full dev environment
TODO
implement security measures
git config
config files
full sublimetext config
set up openvpn
rdesktop and network drive to terra
set up evolution
RStudio
@HatBeardMe
HatBeardMe / create_sourcelists.sh
Created December 8, 2016 22:50 — forked from cryptoniteio/create_sourcelists.sh
Script to create source lists from license key.
#!/bin/bash
echo "Please enter your new license key (It is case sensitive):"
read new_key
echo -n "Creating Source Lists"
# Note: ~/.ssh/environment should not be used, as it
# already has a different purpose in SSH.
env=~/.ssh/agent.env
# Note: Don't bother checking SSH_AGENT_PID. It's not used
# by SSH itself, and it might even be incorrect
# (for example, when using agent-forwarding over SSH).
agent_is_running() {