Recent Pads - Page 2

Total pad count: 586
created 114 days, 1 hour 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 114 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 114 days, 5 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 115 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 115 days, 1 hour 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 116 days, 1 hour 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 128 days, 15 hours ago
3d6fbb10-3052-4793-86ac-2cd6a8f6d491

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

created 133 days, 9 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 145 days, 8 hours ago
gone

gone
... view all 1 lines

created 145 days, 11 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 151 days, 9 hours ago
gone-2

gone
... view all 1 lines

created 151 days, 9 hours ago
gone-3

gone
... view all 1 lines

created 152 days, 5 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 156 days, 11 hours ago
19e1f9e7-4ca0-434a-b773-8fd0a41f62e7

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

created 156 days, 13 hours ago
ffd55225-0c55-4ea4-b7dc-5bac8db71d9f

All his empty promises - speaking of god





... view all 7 lines

created 161 days, 10 hours ago
b8a77ab3-a556-446a-b7cc-dc8ae3620653

gone
... view all 1 lines

created 162 days, 9 hours ago
remarkbox-integer-ids-to-uuids

"""uuid temporary fields

Revision ID: 2ec7fb464d25
Revises: 6a440d3921d2
Create Date: 2017-05-22 22:46:34.989050

"""
... view all 99 lines

created 162 days, 9 hours ago
remarkbox-alembic-add-root-id-column

"""add root_id field

Revision ID: 5a5d0b68db78
Revises: 6bbc92ccc112
Create Date: 2017-01-14 20:59:39.701946

"""
... view all 38 lines

created 163 days, 4 hours ago
remarkbox-themes-using-entrypoints

### remarkbox/remarkbox/__init__.py ###

def load_entry_points(group_name):
    """Return a dictionary of entry_points related to given group_name"""
    entry_points = {}
    for entry_point in iter_entry_points(group=group_name, name=None):
        entry_points[entry_point.name] = entry_point.load()
... view all 76 lines

created 163 days, 6 hours ago
remarkbox-themes-using-asset-overrides

def configure_theme(config, theme_name):
    """theme overrides the base.j2 and static/theme dir"""
    if theme_name:
        config.override_asset(
            to_override='remarkbox:templates/base.j2',
            override_with='{}:templates/base.j2'.format(theme_name)
        )
... view all 12 lines

pages 1 2 3 4 .. 30