Skip to content

Instantly share code, notes, and snippets.

@greghaynes
greghaynes / adsk-cla-test2
Last active September 16, 2020 14:38
adsk cla test2
this is a super important CLA!
@greghaynes
greghaynes / test_adsk_cla
Last active September 13, 2020 20:41
test CLA
This is a test CLA
Sign it maybe?
from collections import namedtuple
import dataclasses
# BEWARE this is not 3.7+ compatible. For python 3.7+ we need to use the built
# in dataclass module
@dataclasses.dataclass
class IssueData:
id: str
container_id: str
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content 'hello world'.
copy:
content: "hello world\n"
dest: /tmp/testfile.txt
Commits by company:
Google: 62
RedHat: 27
Huawei: 14
Unknown: 10
VMWare: 8
Pivotal: 6
IBM: 4
Microsoft: 1
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1601: undefined reference to `PyErr_SetString'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1628: undefined reference to `PyExc_RuntimeError'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1628: undefined reference to `PyErr_SetString'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1628: undefined reference to `PyExc_ImportError'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1621: undefined reference to `PyExc_ImportError'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h:1607: undefined reference to `PyExc_AttributeError'
/idealist/build/sandbox-v0.0/numpy-1.7.1/build/src.linux-x
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. HAPPYBIRTHDAYQUANTICLE.
000300
000400*
000500 ENVIRONMENT DIVISION.
000600 CONFIGURATION SECTION.
000700 SOURCE-COMPUTER. RM-COBOL.
000800 OBJECT-COMPUTER. RM-COBOL.
000900
001000 DATA DIVISION.
#platform=x86, AMD64, or Intel EM64T
# XXX salt context
# grains:
# cpuarch: i386 or x86_64
# virtual: physical or kvm
{% if grains['cpuarch'].endswith('86') %}
{% set arch = 'i386' %}
{% else %}
@greghaynes
greghaynes / ca321maketest
Created January 30, 2012 07:17
CS321HW1 Make test
JAVA_COMPILER=javac
JAVA_RUNTIME=java
TEST_DIRECTORY=tests
SRCS=sol1.java
all: build test
build: ${SRCS}
${JAVA_COMPILER} ${SRCS}
No. Time Source Destination Protocol Info
1374 23.277189 10.50.1.104 85.214.66.181 UDP Source port: 59637 Destination port: ndmp
Frame 1374 (76 bytes on wire, 76 bytes captured)
Ethernet II, Src: Netronix_47:15:4c (00:08:54:47:15:4c), Dst: Buffalo_ad:69:ce (00:24:a5:ad:69:ce)
Internet Protocol, Src: 10.50.1.104 (10.50.1.104), Dst: 85.214.66.181 (85.214.66.181)
User Datagram Protocol, Src Port: 59637 (59637), Dst Port: ndmp (10000)
Data (34 bytes)
0000 20 10 07 00 00 00 01 0c 00 10 04 10 04 00 a7 13 ...............