Skip to content

Instantly share code, notes, and snippets.

@jon-proulx
jon-proulx / revertlog.txt
Created February 5, 2020 19:22
ERASEALLmydatausingthePSID
0000 00000060 00000001 00000000 00000000 ...`............
0010 0108004f 00010000 00000000 00000000 ...O............
0020 00000000 00000000 00000000 00000000 ................
0030 0001100c 11000000 00000000 00000000 ................
0040 0002100c 0b000000 00000000 00000000 ................
0050 01001010 07fe0002 00000000 00000000 ................
0000 00000060 00000001 00000000 00000000 ...`............
0010 0108004f 00010000 00000000 00000000 ...O............
0020 00000000 00000000 00000000 00000000 ................
0030 0001100c 11000000 00000000 00000000 ................
@jon-proulx
jon-proulx / initialsetup.txt
Created February 5, 2020 19:17
sed initialization failure
0000 00000060 00000001 00000000 00000000 ...`............
0010 0108004f 00010000 00000000 00000000 ...O............
0020 00000000 00000000 00000000 00000000 ................
0030 0001100c 11000000 00000000 00000000 ................
0040 0002100c 0b000000 00000000 00000000 ................
0050 01001010 07fe0002 00000000 00000000 ................
0000 00000060 00000001 00000000 00000000 ...`............
0010 0108004f 00010000 00000000 00000000 ...O............
0020 00000000 00000000 00000000 00000000 ................
0030 0001100c 11000000 00000000 00000000 ................
@jon-proulx
jon-proulx / query.txt
Created February 5, 2020 19:10
sedutil-cli query micron 5100
/dev/sdd ATA Micron_5100_MTFDDAK1T9TCC D0MU037 18071B961CF9
TPer function (0x0001)
ACKNAK = N, ASYNC = N. BufferManagement = N, comIDManagement = N, Streaming = Y, SYNC = Y
Locking function (0x0002)
Locked = N, LockingEnabled = Y, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y
Enterprise function (0x0100)
Range crossing = N, Base comID = 0x07fe, comIDs = 2
TPer Properties:
$ time pgbench -r -c 4 -j 2 -T 300 testdb
starting vacuum...end.
transaction type: TPC-B (sort of)
scaling factor: 300
query mode: simple
number of clients: 4
number of threads: 2
duration: 300 s
number of transactions actually processed: 33237
tps = 110.786792 (including connections establishing)
"openstack_compute_instance_v2.nova-conductor.2": {
"type": "openstack_compute_instance_v2",
"depends_on": [],
"primary": {
"id": "08e3f38d-6603-47ff-9123-1d58634e5767",
"attributes": {
"access_ip_v4": "10.10.174.171",
"access_ip_v6": "",
"all_metadata.%": "0",
"availability_zone": "nova",
@jon-proulx
jon-proulx / openstack_server_show.out
Created June 29, 2017 14:17
output of: openstack --debug server show <deposed_resource_uuid> 2>&1
START with options: ['--os-cloud=tig-prod', '--debug', 'server', 'show', '36283ccb-069a-4938-872b-9eb4c543b1ae']
options: Namespace(access_token_endpoint='', auth_type='', auth_url='https://nimbus.example.com:5001/v2.0', cacert='', client_id='', client_secret='***', cloud='tig-prod', debug=True, default_domain='default', deferred_help=False, domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', log_file=None, os_compute_api_version='', os_identity_api_version='', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', password='***', project_domain_id='', project_domain_name='', project_id='', project_name='tig-production', protocol='', region_name='', scope='', service_provider_endpoint='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='jon@example.com', verbose_level=3, verify=None)
defaults:

Keybase proof

I hereby claim:

  • I am jon-proulx on github.
  • I am jproulx (https://keybase.io/jproulx) on keybase.
  • I have a public key whose fingerprint is 4829 BCDD 4A4D 1902 857B 3A16 37C6 224D 225B CD7D

To claim this, I am signing this object: