A Classification identifies a good to be shipped based on its description.
name | type | source | description |
---|---|---|---|
id |
string |
easypost | unique identifier |
description |
string |
user | description of the classified product |
#!/usr/bin/awk -f | |
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
# My copy here is written in awk instead of C, has no compelling benefit. | |
# Public domain. @thingskatedid | |
# Run as awk -v x=xyz ... or env variables for stuff? | |
# Assumptions: the data is evenly spaced along the x-axis | |
# TODO: moving average |
Suppose you have weird taste and you absolutely want:
import yaml | |
from yaml.constructor import ConstructorError | |
try: | |
from yaml import CLoader as Loader | |
except ImportError: | |
from yaml import Loader | |
def no_duplicates_constructor(loader, node, deep=False): |
We had a heck of a time getting Guard, Shotgun, or Rerun to work with our Nginx/Puma/Grape API in a Vagrant and OS X development environment. inotifywatch
was no use. We tried Grape-Reload. I could not get it behave the way I wanted. Maybe this was because we aren't using Rails. Imagine.
Many restart/reload type gems and inotify
depend on the OS kernel to let them know a file has changed. If a file is changed from outside of the file system, like OS X and Vagrant "shared" paths, the Vagrant kernel doesn't see the changes.
Here is the solution we came up with using Netcat.
On the Vagrant box we have Netcat running, l
Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.
This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016
HTTP status code symbols for Rails | |
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
Status Code Symbol | |
1xx Informational | |
100 :continue | |
101 :switching_protocols | |
102 :processing |