Recent Pads

Total pad count: 634
created 1 day, 7 hours ago
fcb8e6f3-1f44-454a-a38f-c67c28fb658c


... view all 3 lines

created 11 days, 2 hours ago
441fc226-3021-4252-9819-843cc479cf5a

Mugwort
Clover
Possible daudy fleabang
Possible Quick weed
Chickori
Calgari pear
Milkweed
... view all 9 lines

created 11 days, 16 hours ago
what-to-do-when-you-feel-inadequate

When you’re feeling inadequate there are four basic responses:

Ignore it:
  It’s a false alarm, you’re doing fine.
  There are false alarms – times I fear that I’m inadequate when I’m not.
     
Change your situation:
... view all 27 lines

created 11 days, 18 hours ago
gundb-running-example-game-locally

Russell Ballestrini
@russellballestrini
Jul 06 15:47
Hey all. Thinking about maybe incorporating gun in a web game. My biggest question is around preventing cheating. It is my understanding most multiplayer games that care to prevent cheating the game, do so by using server side game logic. Seems like gun doesn't make any guarantees about how a client generated data and thus could be exploited. Gun might be useful for a realtime chat but maybe not game logic / mechanic validation, etc.
Do I have this mental model correct or is there a way to "verify" that the Javascript client code that produces the data was not tampered with?

Mark Nadal
... view all 314 lines

created 21 days, 17 hours ago
ec4677c2-9dfb-4fb6-b6db-2463058a7047

gone
... view all 1 lines

created 27 days, 21 hours ago
9725a43a-420d-42ac-b9d0-0905b1a37f19

# export ENVIRONMENT=<stage/prod>
export ENVIRONMENT=$1


if [ "$ENVIRONMENT" = "prod" ]; then
  export EMPIRE_API_URL="https://empire.remind.com"
else
... view all 22 lines

created 32 days, 12 hours ago
pyramid-ajax-cors

# How would I add `Access-Control-Allow-Origin: *` header to this view?

@view_config(route_name="stats-json", renderer="json")
def stats_json(request):
    return request.namespace.stats


... view all 24 lines

created 44 days, 19 hours ago
go-lang-has-no-packages-everything-is-a-file-under-a-tree

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 51 lines

created 49 days, 1 hour ago
pyramid-wild-signed-cookie-session-factory-per-request

    def wild_signed_cookie_session_factory(request):
        """
        Hack SignedCookieSessionFactory to have `wild_domain`.
        Pyramid devs do not want to support this.

        In addition the domain is determined per request!

... view all 23 lines

created 54 days, 22 hours ago
717711e7-e8b1-4a2c-af18-d786531b9bf5

invalid request block size: 4473 (max 4096)...skip
[uwsgi-http key: website-comments.tallyfy.com client_addr: 127.0.0.1 client_port: 34216] hr_instance_read(): Connection reset by peer [plugins/http/http.c line 647]
invalid request block size: 4473 (max 4096)...skip
[uwsgi-http key: website-comments.tallyfy.com client_addr: 127.0.0.1 client_port: 34728] hr_instance_read(): Connection reset by peer [plugins/http/http.c line 647]
... view all 5 lines

created 54 days, 22 hours ago
6a6098e7-db8f-48a6-9b81-96f9349130bd

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

created 55 days, 2 hours ago
csrf-diff-fix

diff --git a/remarkbox/views/authentication.py b/remarkbox/views/authentication.py
index 7216fdb..90b9464 100644
--- a/remarkbox/views/authentication.py
+++ b/remarkbox/views/authentication.py
@@ -17,7 +17,10 @@ def log_out(request):
     return HTTPFound(uri)
 
... view all 56 lines

created 56 days, 13 hours ago
ae7f4ed2-5c2a-4283-836b-b5598b1c76fa

check_csrf_token():

 Invalid token

expected = e7a5ebd830d9f78d23293014bf2e79db0d8cb747
supplied = 964f9355bf71c70f5c0fa7bfa72e354db78b5d51
... view all 6 lines

created 63 days, 21 hours ago
1eafccca-d6f4-4957-9306-ce9eb75c5f94

gone
... view all 2 lines

created 79 days, 14 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 82 days, 12 hours 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 89 days, 21 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 96 days, 14 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 96 days, 23 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 110 days, 31 minutes ago
4bbc4edc-1ba1-46ad-a005-b41c2dbc9449

gone
... view all 2 lines

pages 1 2 3 .. 32