Recent Pads

Total pad count: 612
created 18 hours, 32 minutes ago
fba98f2e-9b9c-48d2-b18e-3bccde7ea026

<!-- Remarkbox - Your readers want to communicate with you -->
<div id="remarkbox-div">
  <noscript>
    <iframe id=remarkbox-iframe src="http://cruris.serveo.net/embed?nojs=true" style="height:600px;width:100%;border:none!important" tabindex=0></iframe>
  </noscript>
</div>
<script src="http://cruris.serveo.net/static/js/iframe-resizer/iframeResizer.min.js"></script>
... view all 33 lines

created 2 days, 9 hours ago
8862407b-f071-4173-8c08-011de694375a

gone
... view all 2 lines

created 5 days, 4 hours ago
c10a4108-4559-40fa-a146-91edb208d2e1

user.create_policy(
  PolicyName='rescue-policy',
  PolicyDocument="""
{
  "Version": "2012-10-17",
  "Statement": {
    "Effect": "Allow",
... view all 12 lines

created 12 days, 10 hours ago
average-cost-per-share

>>> # given a list of (qty, price) tuples:
>>> purchases = [(1003.20, 13.25), (15.86, 13.87), (65.31, 13.78), (16.02, 13.73), (15.88, 13.85), (73.41, 13.7
6), (74.74, 13.38), (74.074, 13.5), (16.141, 13.63), (15.99, 13.76), (16.09,13.67)]

>>> # figure out the total quantity of shares:
>>> total_qty_shares = sum(map(lambda x : x[0], purchases))
1386.7150000000004
... view all 13 lines

created 21 days, 2 hours ago
22e98200-6c39-49c2-88ac-746f967f875c

import pychromecast

if __name__ == "__main__":
    cast = pychromecast.get_chromecasts()[0]
    mc = cast.media_controller
    mc.play_media("http://192.168.0.103:8000/video_test.mp4", content_type = "video/mp4")
... view all 10 lines

created 21 days, 4 hours ago
3957d671-a94a-42fd-a9f1-3548a378675c

3-6 minutes put site into maint mode? (I don't think anyone knows how long this takes)
1-3 minutes to take an aurora snapshot
2-3 minutes to PR stacks with the ARN of the snapshot

4-8 minutes ClusterParameterGroup CREATE_IN_PROGRESS Resource creation Initiated

45-60 minutes DBCluster CREATE_IN_PROGRESS Resource creation Initiated
... view all 12 lines

created 33 days, 13 hours ago
ecee6daf-d544-48eb-a1e2-d5dff5a25e78

62 Douglas Ln, Waterford, CT 06385
=====================================

3 acres with potential for 11 more

ask $129k been on the market since 2015 original ask $164k

... view all 57 lines

created 47 days, 12 hours ago
be5546c6-2a72-4631-9566-311b9a0b0c98

jamie [1:36 PM]
did you just pull down that go repo to work on?

russellbal [1:31 PM]
I cloned it with normal git, maybe I should have `go get` it?

jamie [1:32 PM]
... view all 50 lines

created 48 days, 6 minutes ago
d615f2cd-24e7-4594-be08-92ecbbf88726

At this point spam is not really an issue. I currently manually moderate all comments that come into the system. Obviously this isn't going to scale for too much longer but it was the quickest way to move forward. In the long term when spam becomes more of an issue (because t inevitably will) I'm planning to allow paying users to input an Akismet API key.

If we grow out of that I can implement my own bayesian database to to learn to filter spam.

The sky is the limit in cat and mouse. I'm just waiting for the mouse to become smarter then what I currently have in place.

The other option is to prevent comments from showing up until it has been explicitly approved.  That option is already in place for paying users.
... view all 7 lines

created 48 days, 11 hours ago
a6d8b5c9-309e-4495-8f84-6428ba716ec9

1. Always add no follow to `a` tags, unless url is relative 
   or points to the namespace domain.

2. Always remove script tags, unless mathjax is enabled,
   in which case allow script tags and remove them using beautiful soup,
   with the exception of mathjax.

... view all 9 lines

created 63 days, 7 hours ago
400618d3-0302-4758-ae5e-621487397b05

" determine highlighing and indent from filetype "
filetype plugin indent on

" syntax highlighting "
syntax on

" show column, row, and line numbers. "
... view all 32 lines

created 72 days, 1 hour ago
c721104c-b3cd-4873-b651-322290eb9658

import time

DATADOG_METRIC_TYPES = {"count", "gauge", "histogram", "check"}

# https://github.com/DataDog/datadogpy/blob/master/datadog/api/constants.py
class CheckStatus(object):
    OK = 0
... view all 41 lines

created 76 days, 9 hours ago
extended_network_patch

diff --git a/checks.d/docker_daemon.py b/checks.d/docker_daemon.py
index d8b5b4a..ca493b9 100644
--- a/checks.d/docker_daemon.py
+++ b/checks.d/docker_daemon.py
@@ -12,6 +12,7 @@ from math import ceil
 
 # project
... view all 337 lines

created 89 days, 4 hours ago
github_api_shell_py

# pip install github3.py
from github3 import login as github_login

import argparse

import code
import getpass
... view all 57 lines

created 100 days, 7 hours ago
d9895a23-261d-43b4-8f67-e2840737fa86

gone
... view all 2 lines

created 104 days, 9 hours ago
b37ef854-ff62-4f83-9817-eb1eb7e74cff

[fox@blanka autospotting]$ make build
GOOS=linux go build -ldflags="-X main.Version=custom-10033c8 -X main.ExpirationDate=08-Feb-2118" -o autospotting
# github.com/cristim/autospotting
./autospotting.go:153:2: undefined: lag
make: *** [Makefile:39: build] Error 2
... view all 6 lines

created 104 days, 14 hours ago
spot-product-no-history

(env) laptop-124:botoform russellballestrini$ bf --region us-east-1 cli stage

You are now connected to vpc-xxxxxxx (stage) in us-east-1

You now have access to the evpc object, for example: evpc.roles

>>> test1 = evpc.boto.ec2_client.describe_spot_price_history(
... view all 327 lines

created 107 days, 14 hours ago
a7a246d4-9ac7-43c9-80d8-f0304b704dbe

58 - 

AP - printers - computers - monitors = 16 watts

boys radio idle ~= 3 watts


... view all 13 lines

created 108 days, 14 hours ago
2018-garden-inputs-outputs

2018-02-03
================

inputs
----------------

labor:
... view all 31 lines

created 115 days, 15 hours ago
cdab7b9d-1263-4353-a765-c81b29aeb3d5

[X] Curb Reversed pole on a sensor?

[X] Curb Switch bonus and washer with kitchen/dining (and maybe basement)

[X] Curb 100 amp CTs for mains

[X] Curb Bedroom 2 mislabeled?
... view all 16 lines

pages 1 2 3 .. 31