Skip to content

Instantly share code, notes, and snippets.

View v6's full-sized avatar
💭
// , ALWAYS serious at http://basanese.com

Nathan Basanese v6

💭
// , ALWAYS serious at http://basanese.com
View GitHub Profile
@kpantic
kpantic / fabfile.py
Last active August 29, 2015 14:01
Snippet for adding PEP8 and JSHint validation to your Fabric fabfile.
from fabric.api import (task, local, lcd)
"""
The pep8 and jshint tasks return False if errors were found and True if found.
The show_errors parameter controls if the method prints out the errors returned by
the checker program.
Requirements: Install pep8 and jshint, so that they can be run from the command line
- pip install pep8
@v6
v6 / giteveryday.txt
Created January 15, 2015 23:44
Git Every Day
# Git Every Day - Individual Developer
------------------------------------------------------------------------
A developer working as a participant in a group project needs to
learn how to communicate with others, and uses these commands in
addition to the ones needed by a standalone developer.
* linkgit:git-clone[1] from the upstream to prime your local
repository.
@v6
v6 / puppet_vs_saltstack.md
Created January 16, 2015 19:44
Puppet vs. Saltstack
@buonzz
buonzz / install_redis.sh
Last active November 6, 2015 21:11
install redis
sudo apt-get update
sudo apt-get install build-essential -y
sudo apt-get install tcl8.5 -y
wget http://download.redis.io/releases/redis-3.0.5.tar.gz
tar xzf redis-3.0.5.tar.gz
cd redis-3.0.5
make
make test
sudo make install
cd utils
-module(an_actor).
-behaviour(gen_server).
-export([
start_link/0, sum/3,
init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3
]).
start_link() -> gen_server:start_link(?MODULE, [], []).
@rugk
rugk / mailvelope_providers.md
Last active February 16, 2016 20:51
E-mail providers using the Mailvelope API
@v6
v6 / keybase.md
Created March 24, 2016 02:19
Nathan Basanese Keybase Proof

Keybase proof

I hereby claim:

  • I am v6 on github.
  • I am cx (https://keybase.io/cx) on keybase.
  • I have a public key whose fingerprint is CAF6 7506 C529 5624 CF6E 0C76 E183 23D2 1627 70CA

To claim this, I am signing this object:

@v6
v6 / bcoin.service
Created March 26, 2017 18:38
// , sudo service bcoin start
[Unit]
Description=BCoin server
After=network.target auditd.service
[Service]
User=root
ExecStart=/home/bcoin/bcoin/bin/bcoin --network "testnet" --nodes "seed.tbtc.petertodd.org,testnet-seed.bluematt.me,testnet-seed.bitcoin.schildbach.de" --host "\'::\'" --public-host 104.197.196.156
Type=simple
RestartSec=60
Restart=on-failure
@jpatel3
jpatel3 / newrelic-plugin-agent.cfg
Created December 14, 2016 22:15
New Relic plugin agent sample configuration file
%YAML 1.2
---
Application:
license_key: REPLACE_WITH_REAL_KEY
wake_interval: 60
#newrelic_api_timeout: 10
#proxy: http://localhost:8080
#apache_httpd:
# name: hostname