Skip to content

Instantly share code, notes, and snippets.

View cjac's full-sized avatar

C.J. Collier cjac

View GitHub Profile
#ps1_sysnative
Set-ExecutionPolicy Unrestricted
$baseDir = 'c:\j'
$javaExe="C:\Program Files\Java\jdk1.8.0_144\bin\java.exe"
$destinationSlaveJarPath = "$baseDir\e\slave.jar"
$logfile="$baseDir\jenkins.log"
$errlog="$baseDir\jenkins-err.log"
$jenkinsServerUrl="${JENKINS_URL}"
$jenkinsServerUrl=$jenkinsServerUrl -replace '/$', ''
23:03:04 Checking for C++ header file arpa/inet.h... no
23:03:04 Checking for C++ header file fcntl.h... no
23:03:04 Checking for C++ header file grp.h... no
23:03:04 Checking for C++ header file in6addr.h... no
23:03:04 Checking for C++ header file linux/limits.h... no
23:03:04 Checking for C++ header file memory.h... no
23:03:04 Checking for C++ header file net/if.h... no
23:03:04 Checking for C++ header file netdb.h... no
23:03:04 Checking for C++ header file netinet/in.h... no
23:03:04 Checking for C++ header file pthread.h... no
15:11:48 Checking for C++ header file arpa/inet.h... no
15:11:48 Checking for C++ header file fcntl.h... yes
15:11:48 Checking for C++ header file grp.h... no
15:11:48 Checking for C++ header file in6addr.h... no
15:11:48 Checking for C++ header file linux/limits.h... no
15:11:48 Checking for C++ header file memory.h... yes
15:11:48 Checking for C++ header file net/if.h... no
15:11:48 Checking for C++ header file netdb.h... no
15:11:48 Checking for C++ header file netinet/in.h... no
15:11:48 Checking for C++ header file pthread.h... no
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
public class FindText {
public static void main(String[] args) {
Pattern pattern =
Pattern.compile("^iotivity-(?!merge-\\d+\\.\\d+-rel)");
#!/usr/bin/perl -w
use strict;
use Net::GitHub;
use Data::Dumper::Concise;
my $oauth_token = qx(gpg --decrypt ../default.gpg 2>/dev/null);
use Net::GitHub;
my $gh = Net::GitHub->new( version => 3,

Keybase proof

I hereby claim:

  • I am cjac on github.
  • I am cjac (https://keybase.io/cjac) on keybase.
  • I have a public key ASCjNO9c3DLr8SgJJI7cxKZJQNKZePP3sRJEo5rhI1hU0Qo

To claim this, I am signing this object:

PS C:\Users\Administrator> type .\test-pywin32.py
#try:
import msvcrt
import win32api
import win32con
mvcrt.get_osfhandle
win32api.SetHandleInformation
win32con.HANDLE_FLAG_INHERIT
#except ImportError(e):
# print \
PS C:\Users\Administrator> python -m pip freeze
pypiwin32==222
pywin32==222
scons==2.5.1
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
PS C:\Users\Administrator> type .\test-pywin32.py
#try:
import msvcrt
import win32api
import win32con
mvcrt.get_osfhandle
win32api.SetHandleInformation
win32con.HANDLE_FLAG_INHERIT
#except ImportError(e):
# print \
cjac@probook0:~/auth/msdn$ gpg --fingerprint 4B3C5299
pub rsa4096 2015-06-18 [SC]
2280 8347 E0DF BB44 0998 6901 C0DB 8ACD 4B3C 5299
uid [ unknown] C.J. Collier <[email protected]>
uid [ unknown] C.J. Collier (Work) <[email protected]>
sub rsa4096 2015-06-18 [E]
sub rsa4096 2017-03-28 [A] [expires: 2027-03-26]
sub rsa4096 2017-03-28 [S] [expires: 2027-03-26]
sub rsa4096 2017-03-28 [E] [expires: 2027-03-26]