Skip to content

Instantly share code, notes, and snippets.

View gist:068a88004d5d6890eac8fa5b5e6ef9d5
```
{
"variables": {
"build_target" : "foo-current",
"build_patch": "2019.01",
"default_ssh_user" : "root",
"default_password": null
},
"builders": [
{
View gist:fa5681bd89e99652f217b9f7fbc92483
```
{
"variables": {
"build_target" : "foo-current",
"build_patch": "2019.01",
"default_ssh_user" : "root",
"default_password": null
},
"builders": [
{
@anish
anish / gist:adfa2873d5ca3964892304ec4c3d6aed
Last active Dec 10, 2018
packer_communicator_none_crash
View gist:adfa2873d5ca3964892304ec4c3d6aed
2018/12/10 15:19:49 packer: 2018/12/10 15:19:49 Running the provision hook
Build 'sfdc-base' errored: unexpected EOF
==> Some builds didn't complete successfully and had errors:
--> sfdc-base: unexpected EOF
==> Builds finished but no artifacts were created.
2018/12/10 15:19:49 packer: panic: interface conversion: interface is nil, not packer.Communicator
2018/12/10 15:19:49 packer:
2018/12/10 15:19:49 packer: goroutine 83 [running]:
View gist:d3c0e1f5713bbbb8f94b52856686d816
Traceback (most recent call last):
File "./auto_fleetscan_test4.py", line 361, in <module>
argus.query()
File "./auto_fleetscan_test4.py", line 202, in query
single_data = self.single_host_query_annotation(host_data.get('host_fqdn'), '12')
File "./auto_fleetscan_test4.py", line 72, in single_host_query_annotation
max_ts[ts] = value
IndexError: list assignment index out of range
[abhatt@ops0-hwlab40-1-prd auto_fleetscan]$ cat ./auto_fleetscan_test4.py | grep max_ts
max_ts = []
View gist:519e12c0ea78e9c69cc6f7fc0d46e014
bond0 n/a up n/a n/a 24:6E:96:29:4D:D8
bond1 n/a up n/a n/a 24:6E:96:29:4D:DA
eth0 ixgbe up 0000:01:00.0 bond0 24:6E:96:29:4D:D8
eth1 ixgbe up 0000:01:00.1 bond1 24:6E:96:29:4D:DA
eth10 igb down 0000:07:00.0 n/a 24:6E:96:29:4D:DC
eth11 igb down 0000:07:00.1 n/a 24:6E:96:29:4D:DD
eth2 bnx2x up 0000:04:00.0 bond0 F4:E9:D4:9B:65:C0
eth3 bnx2x up 0000:04:00.1 bond1 F4:E9:D4:9B:65:C2
eth4 ixgbe up 0000:83:00.0 n/a A0:36:9F:C7:FD:6C
eth5 ixgbe down 0000:83:00.1 n/a A0:36:9F:C7:FD:6E
View gist:24de16db804e9a29de0a5f8e9a69b6fe
heroku psql -a salesforce-cla-test
select * from salesforce.sf_cla__cla_signature__c;
delete from salesforce.sf_cla__cla_signature__c;
View gist:cdaaed8f5220dc2389bc284122569f13
anish@cerveza /media/data/workspace/sfdc/packer $ cat /etc/resolvconf/resolv.conf.d/base
search ops.sfdc.net eng.sfdc.net data.sfdc.net
View gist:6311312fa492dfb769844c3120959751
Day changed to 18 Apr 2017
05:48 < panda007> good morning ^_^
07:47 < trex_sam> morning
09:02 < yew> morning
09:03 < trex_sam> I love the little status thingies
10:51 < anish> wha
10:51 < anish> oh, boring
11:03 < trex_sam> anish: :stuck_out_tongue: [cc: anish]
11:03 < trex_sam> pbbbtttt
11:05 < yew> how do the emojis render in primitive IRC
View gist:da5e289ac6c200e59b428d008931cf59
gs = GitHubStatusPush(token=auth['auth_token'],
baseURL='https://git.foo.bar.com/api/v3/', verbose=False, context=Interpolate('buildbot-crd/%(prop:buildername)s'),
builders=[ 'foo', 'bar' ])
c['services'] = [ gs ]
View gist:ac994829aac0b8cb48add3b59ecda892
[centos@test-btrfs ~]$ sudo parted -l /dev/vda
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 25.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1075MB 1074MB primary xfs boot
2 1075MB 25.8GB 24.7GB primary btrfs