Recent Pads

Total pad count: 621
created 4 days, 10 hours ago
1eafccca-d6f4-4957-9306-ce9eb75c5f94

gone
... view all 2 lines

created 20 days, 3 hours ago
lucky-or-unlucky-block

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 FELL IN AN ENDLESS PIT!",
   "You woke up buried alive!",
... view all 69 lines

created 23 days, 1 hour ago
salt-stack-uncomment

  # this broke sometime in 2015 release of salt...
  file.uncomment:
    - 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
adfc6ed3-f58b-4ea8-84d2-9f9900df43dd

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

created 37 days, 3 hours ago
creative-flash-and-flow

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
c4cf7b4c-f7e5-4f04-909a-a543ac0e0a47

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

created 50 days, 13 hours ago
4bbc4edc-1ba1-46ad-a005-b41c2dbc9449

gone
... view all 2 lines

created 54 days, 6 hours ago
f0f4d5ec-526e-47af-83de-13aaa1bea92d

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
650fad3f-ca0f-4016-aaa7-4ec44b68bee2

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
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 62 days, 11 hours ago
8862407b-f071-4173-8c08-011de694375a

gone
... view all 2 lines

created 65 days, 5 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 72 days, 11 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 81 days, 3 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 81 days, 6 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 93 days, 14 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 107 days, 14 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 108 days, 1 hour 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 108 days, 13 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 123 days, 8 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

pages 1 2 3 .. 32