Skip to content

Instantly share code, notes, and snippets.

View nlap's full-sized avatar
🌱

Nathan Lapierre nlap

🌱
View GitHub Profile
@nlap
nlap / phoenix_release.md
Created January 5, 2017 07:10
Install reqs and release Elixir/Phoenix app, Ubuntu 16.04
vagrant init ubuntu/xenial64  
vagrant up  
vagrant ssh  
echo 'deb https://packages.erlang-solutions.com/debian xenial contrib' | sudo tee -a  /etc/apt/sources.list  
wget -qO - https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -  
sudo apt update  
sudo apt install esl-erlang elixir  
mix local.hex  
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez 
@nlap
nlap / test_graph.edges
Created August 25, 2016 08:16
Test graph for Edgelixir
7,11
@nlap
nlap / servercheck.pl
Created May 10, 2016 20:32
Command line version of CSF's Server Security Check feature
#!/usr/bin/perl
###############################################################################
# Copyright 2006-2014, Way to the Web Limited
# URL: http://www.configserver.com
# Email: [email protected]
###############################################################################
# start main
#use strict;
use lib '/usr/local/csf/lib';
use Fcntl qw(:DEFAULT :flock);
@nlap
nlap / graph-tool-ubuntu.md
Last active January 3, 2022 21:07
graph-tool on Ubuntu 14.04

graph-tool on Ubuntu 14.04

Recommended: Graph-tool one-line install commands:

anaconda conda create --name gt -c conda-forge graph-tool

homebrew brew install graph-tool

@nlap
nlap / reset-openpgp2.md
Created January 14, 2015 19:36
Reset OpenGPG v2 Smartcard

Reset an OpenGPG v2 Smartcard, for example if the admin password counter has reached 0. This will, obviously, erase all of your keys.

gpg-connect-agent
scd apdu 00 e6 00 00
scd apdu 00 44 00 00

Keybase proof

I hereby claim:

  • I am nlap on github.
  • I am nl (https://keybase.io/nl) on keybase.
  • I have a public key whose fingerprint is 8030 AEB4 E085 CB4A 5494 4668 C3B0 7414 1587 5866

To claim this, I am signing this object: