Hex.pm Reference Nov 4, 2018 https://hex.pm/docs/usage defmodule MyProject.MixProject do use Mix.Project def project() do [ app: :my_project, version: "0.0.1", elixir: "~> 1.0", deps: deps(), ] end def application() do [] end defp deps() do [ {:ecto, "~> 2.0"}, {:postgrex, "~> 0.8.1"}, {:cowboy, github: "ninenines/cowboy"}, ] end end Options :hex The name of the package. Defaults to the dependency application name. :repo The repository to fetch the package from, the repository needs to be configured with the mix hex. ...
Switch to Hugo Oct 28, 2018 I’ve decided to switch my site over to Hugo. Since i very rarely updated it, the hugo system is a little easier to go back to after a long time.
Nerdnest - The nerdiest way to control your Nest thermostat Feb 3, 2017 Controlling your home from your phone is sooo 2016. It’s 2017 - phone apps and websites are bloated and slow. There is no reason to need dozens of clicks just to change the temperature. Now there is a solution. Say hello to nerdnest Nerdnest is a command-line application for your Windows, Mac or Linux machine. Wow and amaze your friends as you control your Nest connected HVAC system from your terminal. ...
Tmux Cheatsheet Mar 27, 2016
A cross-platform command-line loader for WifiMCU Nov 15, 2015 I wrote this article as an introduction to the WifiMCU chip and to explain some of the troubleshooting thought process. If you want to get right to the code, jump to the finished product A little background I came across the WifiMCU in my latest binge on inexpensive eBay electronics. Following my recent obsession with Arduino’s I wanted to find something wifi enabled but all of the Arduino “sheilds” I found were just too expensive for just playing around. ...
My method of organizing email Jan 2, 2015 Lately my posts have slowed down tremendously with moving halfway across the country, starting a new job (twice) and getting married. Rather than continually put off larger posts because I don’t have enough material built up, I’m going to try to post shorter tips and tricks in between to keep up the momentum. Today I wanted to share a quick email organization tip that I’ve refined over the years. Ideally, I try to pull every piece of relevant information out of email as often as possible and stick it into Evernote or an org-mode notes file. ...
A Simple OpenBSD Router For Your Virtual Machines Nov 15, 2011 Why Do I Need A Separate Router For Virtual Servers? I tend to use VirtualBox a lot at home for experimenting with different operating systems or trying out scenarios that are too dangerous to “do it live”. While I could just give these virtual machines a bridged connection, I like to try to keep things as close as possible to the original environment, especially for “forensic” inspections. In order to do this I have come up with a very basic OpenBSD setup that allows me to adapt the router/firewall to the virtual machine rather then make modifications to the image. ...
Optimize Your Notetaking With Glyphs Jun 12, 2011 I wanted to share a quick tip that I’ve been using for years to make my notes (written and typed) more useful. By nature I am a pretty disorganized note-taker. When jotting down notes I typically work in a very scattered “mind map” layout. I find if I try to keep to any sort of outline I tend to need to squeeze more and more notes into a confined space. What has evolved from this is basically a messy page of notes with all shorts of connecting lines, doodles, etc. ...
Quickie: Finding Listening Ports Jun 25, 2010 File this one with “things i constantly use but refuse to memorize so I always have to google it”… The following command is a simple demonstration of the power of piping data from one output to another programs input. Netstat will list all of the processes using network connects. Find will “filter” out only the ports in a Listening state. netstat -an | find /i "listening" Text based formats FTW. ...
Stupid Telnet Tricks Nov 14, 2009 As a system administrator, it is often necessary to do a “sanity check” from time to time. Most problems become simple when you can break them down into their various parts. Often, though, we take the services we use for granted. We know that the web server is running, email “just works”…right??? Using some of the tricks below, you can verify that these services, in fact work, as you assumed and save yourself a lot of time and trouble. ...