Skip to content

Instantly share code, notes, and snippets.

View zegelin's full-sized avatar

Adam Zegelin zegelin

  • Canberra, Australia
View GitHub Profile
@zegelin
zegelin / qemu CPU pin
Last active January 19, 2023 16:45
QEMU systemd/SSH
qemu-system-x86_64(16858) threads:
{qemu-system-x86}(16859): 0-3,24-27
{IO io1}(16860): 0-3,24-27
{IO mon_iothread}(16872): 0-3,24-27
{CPU 0/KVM}(16873): 4
{CPU 1/KVM}(16874): 28
{CPU 2/KVM}(16875): 5
{CPU 3/KVM}(16876): 29
{CPU 4/KVM}(16877): 6
{CPU 5/KVM}(16878): 30
apiVersion: apps/v1beta2 apiVersion: apps/v1beta2
kind: StatefulSet kind: StatefulSet
metadata: metadata:
creationTimestamp: "2019-06-04T23:24:32Z" creationTimestamp: "2019-06-04T23:24:32Z"
generation: 1 generation: 1
labels: labels:
app.kubernetes.io/managed-by: com.instaclustr.cassandra-o app.kubernetes.io/managed-by: com.instaclustr.cassandra-o
cassandra-operator.instaclustr.com/datacenter: test-dc-ca cassandra-operator.instaclustr.com/datacenter: test-dc-ca
name: cassandra-test-dc-cassandra name: cassandra-test-dc-cassandra
namespace: default namespace: default
@zegelin
zegelin / data.cql
Created June 20, 2019 17:43
Instaclustr Half-day Workshop Table Data
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',1,'Two of Us');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',2,'Dig a Pony');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',3,'Across the Universe');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',4,'I Me Mine');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',5,'Dig It');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',6,'Let It Be');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',7,'Maggie Mae');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',8,'I’ve Got a Feeling');
INSERT INTO songify.songs (artist, album, track_number, title) VALUES ('The Beatles','Let It Be',9,'On