Recent Pads - Page 3

Total pad count: 612
created 245 days, 5 hours ago
aws-rds-snapshot-tester

from collections import defaultdict

def blah(db_instance_identifier):
    evpc.rds.describe_db_snapshots(DBInstanceIdentifier=db_instance_identifier)['DBSnapshots']

def bleh(snapshot_descriptions):
    snapshots_by_date = defaultdict(list)
... view all 17 lines

created 246 days, 14 hours ago
f3be86df-4c9b-406c-b9e6-8a12dfb12b65

remarkbox_modify_namespace '127.0.0.1' --info --toggle-hide-unless-approved

remarkbox_modify_user fox@example.com --namespace-add '127.0.0.1'
 
... view all 4 lines

created 251 days, 9 hours ago
1fa4a8ee-f1af-4ef4-9feb-fa7a79923d9f

If you talk all the time, you never hear what anyone else has to say.

and therefore all you will have to talk about is your own conversation.

the same is true for people who think all the time.

that means when I use the word think, talking to yourself, 
... view all 27 lines

created 262 days, 1 hour ago
fa4bccec-f39d-4fe3-bc67-25aabc902b3d

gone.
... view all 1 lines

created 264 days, 5 hours ago
pyramid-app-profile-output

Calls   Total   Percall Cumu    CumuPer         Func
1	0.01	0.0100	348.374	348.3740	<pyramid/renderers.py:457(render_to_response)>
1	0.014	0.0140	347.745	347.7450	<pyramid/renderers.py:437(render)>
1	0.007	0.0070	347.429	347.4290	<pyramid_jinja2/__init__.py:258(__call__)>
1	0.011	0.0110	347.34	347.3400	<jinja2/environment.py:993(render)>
1132/1	2.691	0.0024	347.292	347.2920	{method 'join' of 'unicode' objects}
90	0.126	0.0014	346.808	3.8534	        <remarkbox/templates/active-nodes.j2:5(root)>
... view all 9 lines

created 275 days, 1 hour ago
6d560f13-089c-4325-9343-9808c1d4a92a

c0t5000C5002FF15A6Fd0  g5000c5002ff15a6f  c3  SSD

c0t50014EE6AEB4C239d0  g50014ee6aeb4c239  c4  live disk

c0t5000C500611CE801d0  g5000c500611ce801  c5  <bad disk>

c0t50014EE6040A7F1Cd0  g50014ee6040a7f1c  c5  <new disk>
... view all 7 lines

created 277 days, 2 hours ago
how-i-turned-a-freenas-single-disk-stripe-pool-into-a-mirror

gpart create -s gpt /dev/da4

gpart add -a 4k -i 1 -s 2g -t freebsd-swap /dev/da4
gpart add -a 4k -i 2 -t freebsd-zfs /dev/da4

glabel status | grep da4

... view all 8 lines

created 277 days, 5 hours ago
f82753cf-8d0c-4f79-b16a-d043569983c9

root@guile:~ # zpool status -v family
  pool: family
 state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://illumos.org/msg/ZFS-8000-JQ
  scan: resilvered 147G in 0h34m with 0 errors on Sat Aug 19 18:07:59 2017
... view all 17 lines

created 277 days, 6 hours ago
33a40fb8-ea3e-4d4d-bd69-e49ea0dbea7e

gpart create -s gpt /dev/da4

gpart add -a 4k -i 1 -s 2g -t freebsd-swap /dev/da4
gpart add -a 4k -i 2 -t freebsd-zfs /dev/da4

glabel status | grep da4

... view all 86 lines

created 278 days, 1 hour ago
5c21056a-536c-4872-9f80-3052459a5f42

materials:

* usb flash drive (we will wipe it clean)
* m1015 lsa sas card
* an Ubuntu desktop machine that supports uEFI (other distros might work)
  (could be separate or the same machine, can use ubuntu live disk)

... view all 74 lines

created 278 days, 2 hours ago
4b50a38e-0b94-4131-979c-30703d95e274

After installing and flashing m1015 card:

[root@guile] # dd if=/dev/urandom of=testfile bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes transferred in 244.167432 secs (43.97 MB/s)

... view all 37 lines

created 279 days, 2 hours ago
1a2ab515-9b4c-46b3-aad3-a26c679faa8b

The abstractions and tech which cryptocurrency works on is fragile in most of the same ways as the layers that came before it (credit cards/banks/etc).

Try to look at all this holistically.

How many people and resources do we dedicate on this planet to keep track of money, economy, mine the coins, cash the checks, swipe the cards, keep the lines working?

All of these abstractions make trade faster and more liquid but honestly it really feels like dimished returns in the grand scheme of things.
... view all 136 lines

created 291 days, 15 hours ago
3d6fbb10-3052-4793-86ac-2cd6a8f6d491

def test():
    print "test"
... view all 2 lines

created 296 days, 10 hours ago
put-a-bunch-of-encrypted-ssm-parameters

#!/bin/bash

declare -A prod
declare -A stage

prod+=(
    "datadog_api_key:<removed>"
... view all 38 lines

created 308 days, 8 hours ago
gone

gone
... view all 1 lines

created 308 days, 12 hours ago
5f7072e1-4e4d-4a34-beac-ac56d692a8c5

2017-07-19 16:00:16 [INFO] gremlind::exec - Execution[5768194e-6c9b-11e7-9d84-06b082ad431e]: attack started
2017-07-19 16:00:36 [INFO] gremlind::svc::daemon - Updating Service for active executions
2017-07-19 16:00:57 [INFO] gremlind::svc::daemon - Updating Service for active executions
2017-07-19 16:01:17 [INFO] gremlind::svc::daemon - Updating Service for active executions
2017-07-19 16:01:37 [INFO] gremlind::svc::daemon - Updating Service for active executions
2017-07-19 16:01:58 [INFO] gremlind::svc::daemon - Updating Service for active executions
2017-07-19 16:01:58 [INFO] gremlind::exec - Active[5768194e-6c9b-11e7-9d84-06b082ad431e]: Executing Gremlin rollback (pid=29638)
... view all 12 lines

created 314 days, 10 hours ago
gone-2

gone
... view all 1 lines

created 314 days, 10 hours ago
gone-3

gone
... view all 1 lines

created 315 days, 6 hours ago
pyramid-session-factory-nonsense

def is_ipv4(string):
    parts = string.split('.')
    if len(parts) != 4:
        return False
    for part in parts:
        try:
            new_part = int(part)
... view all 42 lines

created 319 days, 11 hours ago
19e1f9e7-4ca0-434a-b773-8fd0a41f62e7

The general principal of power and manipulation
... view all 1 lines

pages 1 2 3 4 5 .. 31