Recent Pads

Total pad count: 621
created 4 days, 10 hours ago

... view all 2 lines

created 20 days, 3 hours ago

from random import choice

death_msg = [
   "you wake up surrounded by magma with a lava cloud about to rain on your head! You were very unlucky ...",
   "you wake up in the end of the world with zombies everywhere! Too Bad!!!",
   "You woke up buried alive!",
... view all 69 lines

created 23 days, 1 hour ago

  # this broke sometime in 2015 release of salt...
    - name: /etc/nginx/nginx.conf
    - regex: server_names_hash_bucket_size 64;
    - require:
      - pkg: nginx
    - watch_in:
... view all 19 lines

created 30 days, 10 hours ago

<#if trigger == "start">
<#elseif trigger == "failure">
<#elseif trigger == "success">
</#if> - 
... view all 13 lines

created 37 days, 3 hours ago

blink | blink | blink | the cursor on the empty page flashed like a visual metronome. 

Then like a toppled glass the words poured like water onto the screen.

We in the industry call this flow or getting in the zone.

Ideas and thoughts flow through you as if coming from a higher place.
... view all 20 lines

created 37 days, 12 hours ago

    for namespace in request.dbsession.query(m.Namespace).all():
        for user in namespace.owners:
            namespace.set_role_for_user(user, "owner")
... view all 6 lines

created 50 days, 13 hours ago

... view all 2 lines

created 54 days, 6 hours ago

russellbal [6:35 PM]
I came up with a new SaaS idea today.
Aggregated (digest) notifications as a service.
jamie [6:36 PM]
is dat twitter
russellbal [6:37 PM]
You punt a fire hose of notifications at it and based on user (destination) settings it aggregates daily / weekly (edited)
... view all 184 lines

created 57 days, 3 hours ago

Automatic Watching:

[ ] automatically watch any threads I participate in.
[x] automatically watch any threads I create.

Reply Notifications:
... view all 32 lines

created 60 days, 20 hours ago

<!-- Remarkbox - Your readers want to communicate with you -->
<div id="remarkbox-div">
    <iframe id=remarkbox-iframe src="" style="height:600px;width:100%;border:none!important" tabindex=0></iframe>
<script src=""></script>
... view all 33 lines

created 62 days, 11 hours ago

... view all 2 lines

created 65 days, 5 hours ago

  "Version": "2012-10-17",
  "Statement": {
    "Effect": "Allow",
... view all 12 lines

created 72 days, 11 hours ago

>>> # 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))
... view all 13 lines

created 81 days, 3 hours ago

import pychromecast

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

created 81 days, 6 hours ago

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 93 days, 14 hours ago

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 107 days, 14 hours ago

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 108 days, 1 hour ago

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 108 days, 13 hours ago

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 123 days, 8 hours ago

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

" syntax highlighting "
syntax on

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

pages 1 2 3 .. 32