Recent Pads - Page 2

Total pad count: 612
created 124 days, 2 hours ago
84d9f34f-e54e-443c-8212-01cab3c29625

MOB30X
... view all 1 lines

created 135 days, 7 hours ago
1501baee-d766-4420-8e67-5cca9d84a69e

gfdgdfg
... view all 1 lines

created 139 days, 13 hours ago
requesting-and-staging-letsencrypt-certificates-and-keys-on-salt

domains=(
  linkpeek.com
  dev.linkpeek.com
  remarkbox.com
  demo.remarkbox.com
  faq.remarkbox.com
  meta.remarkbox.com
... view all 33 lines

created 156 days, 6 hours ago
66c2a40c-cc3e-4a11-89ca-c3514fbce0a8

empire.ami	base build.yml filter_plugins packer.json roles run run.yml unknown configuration key: "ena_support"
error	empire.ami	exit status 1
... view all 2 lines

created 160 days, 5 hours ago
autodeployment-slashdeploy-bugfix-and-refactor

If an an autodeployment transitions to the 'ready' state,
we don't need to require context checks when creating the GitHub Deployment.

An AutoDeployment basically just tracks the state of a commit,
then does a `/deploy` once it transitions to the "ready" state.

Basically, that logic is encapsulated here:
... view all 16 lines

created 161 days, 10 hours ago
ef91fdcb-4955-4ad3-b00b-5c99c20d613e

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1513189156000",
            "Effect": "Allow",
            "Action": [
... view all 17 lines

created 163 days, 3 hours ago
bd2efc71-7a9d-4998-903a-93eaa0dfefc0

Github API:

    circleci -> github

        circleci tells github about statuses using the github apihttp://pad.yohdah.com/588/bd2efc71-7a9d-4998-903a-93eaa0dfefc0/edit#
        (https://developer.github.com/v3/repos/statuses/#create-a-status)

... view all 36 lines

created 163 days, 3 hours ago
8603862d-0979-4e13-b4c2-b55924824f3f

gone
... view all 2 lines

created 163 days, 6 hours ago
9c05793f-d281-48e4-8742-15f4512513c2

slashdeploy=> select count(*) from statuses;
 count  
--------
 288475
(1 row)

slashdeploy=> select count(*) from statuses where state != 'success';
... view all 27 lines

created 166 days, 6 hours ago
remarkbox_json_import

import transaction

from sqlalchemy import engine_from_config

from pyramid.paster import (
    get_appsettings,
    setup_logging,
... view all 121 lines

created 169 days, 45 minutes ago
20309415-ecc2-4b2f-ba30-8694ef4cb1fa

aaaa
... view all 1 lines

created 169 days, 45 minutes ago
ceabcdd8-9c9a-4c18-a616-a5f95ae870b2

aa
... view all 1 lines

created 214 days, 3 hours ago
python-check-if-keyword-on-target-http-url

from wsgiref.simple_server import make_server
from pyramid.config import Configurator
from pyramid.response import Response
import requests

def home(request):
    target  = request.params.get(u'target', None)
... view all 24 lines

created 214 days, 7 hours ago
go-lang-check-if-keyword-on-target-http-url

package main

import (
    "log"
    "net/http"
    "time"
    "io/ioutil"
... view all 50 lines

created 214 days, 10 hours ago
go-lang-tinkering-with-http-client-and-server

package main

import (
    "log"
    "net/http"
    "time"
    "io/ioutil"
... view all 38 lines

created 216 days, 13 hours ago
sqlite3-set-pragma-foreign-keys-before-alter-table-rename

# This shows that when I renamed the tables the foriegn key references didn't update...
SELECT * FROM sqlite_master UNION ALL   SELECT * FROM sqlite_temp_master;

# this happened because I didn't have this setting set.
sqlite> PRAGMA foreign_keys;
0
sqlite> PRAGMA foreign_keys = ON;
... view all 28 lines

created 226 days, 9 hours ago
7de41b9e-e390-4172-96f1-83fe05e4d8f4

hi
... view all 1 lines

created 232 days, 10 hours ago
326ca5b2-ece3-4a86-994e-0830f3330a5a

from unittest import TestCase

from rds_snapshot_verify import (
    state_doc_s3_key,
    get_or_create_state_doc_in_s3,
    current_state,
)
... view all 63 lines

created 234 days, 13 hours ago
3e7b8931-6c8a-4eb2-8861-8ee368a609f9

# 1st version with for loop.
for i in range(1, 1001):
    print(i)


# 2nd version with while loop.
i = 1
... view all 22 lines

created 243 days, 8 hours ago
d369cc2c-2f0d-4198-83a2-9d31f40d7cfb

"waiting": "this means the current day's snapshot doesn't exist yet."
         "this state can transition with `restoring` when the snapshot exists."
         "this state can transition to `failing` if date changes without moving to restoring"

"restoring": "this means the snapshot was found and we have started restoring"
             "to a new database instance."

... view all 43 lines

pages 1 2 3 4 .. 31