Skip to content

Instantly share code, notes, and snippets.

View ajdecon's full-sized avatar

Adam DeConinck ajdecon

View GitHub Profile
@ajdecon
ajdecon / id_rsa.pub
Created March 7, 2021 21:35
Pubkey for personal development vm
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCilJLmF+xQNXUiQXZmgACA+Bz+Nu0CQ+fHXAcHv3ICizsuOXb5QjWcCud7kr37efk70HGDGMFPx/HJedQHyh8Bzrk2HHe6myHICXaB8DL3GfOcdaSr/eRyIeUVYTn75z52k2+Um14nfgEQPGxb3wnw/hJEzYgrYhAqPclxKfRfXTv+bO2niYFrJpUTPPEr8YD3LjPYToFKR5drNUZIzhwTgoCqjKnQdSXPNbavozRVsNkJs4rmOR4SckaoYgcTnhJ0VZTsIyMNTSP+ovjUwKMgnXxiqZ0tRefzp8UL+8bBhe23h5roI2cIoj2BsAQMFs5zDwSZ2CmKI25YvBeWsCYF+pWpVDAzX0xwI3zjF/O3I079ETllFswL6T2HX7mv5gCCNuBaw6vmo93Ki5zNmbrEY/zGh/2WGLF0IlpBnaq34S4ot5+0Mg/Le8fV5672Aypm8mWKMxKwTIdaLVvn3T3lZnIIepGG0fXvsqz+Wa1P3OmW18gs7EfnhDaP32iZABU= ajdecon@dev
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDD2u4PPGmNst81CU0TLsKmkyStUa/edeWLShEDYgzLbe/A4PdGA7Y53UsSesIYTkrwbgUOiA2FnYbutReTmZ5e2QjSZn4n8DU/x2DOZ/0fp2AwGJEG3MwvfpqqzYzQhKkXt6KrwczuDdQGRzbfPMNB4sfMuZCWzWFkFALDrGWN0Lb6P+Y6rQdt9itHwEPlGo1R/YwR6dLm5qfOgtvSD5nSh7TdeWVoQjpSkgtdvvN75KTMOrQ9X+OApmNUl5Gvh8frJhNgifbNrTvvzrqRd9XGd+QvYF9gecVY/HSfEVWrkIKHSrfHqU+PIJIr8IKjEo9Y7koG4QnVS752XM62KuSJ ajdecon@tyr.local
@ajdecon
ajdecon / netbootscan.pl
Created April 23, 2019 23:26
netbootscan script
#!/usr/bin/perl
#
# Adapted and simplified from wwnodescan:
# https://github.com/warewulf/warewulf3/blob/master/provision/bin/wwnodescan
# BSD-style license: https://github.com/warewulf/warewulf3/blob/master/provision/LICENSE
my $tcpdump_command = "tcpdump -i any -nn -e -l 'dst port bootps and src 0.0.0.0'";
my $tcpdump_capture;
my %nodes_seen;
my $node_id = 0;
@ajdecon
ajdecon / buidserver.yml
Created April 12, 2015 18:43
easybuild and fpm blog post
---
- hosts: builder
user: root
tasks:
- name: install dev and packaging tools
yum: name="{{ item }}" state=present
with_items:
- "@development"
- "environment-modules"
- "python-pip"
== 2014-04-28 17:07:19,472 main INFO This is EasyBuild 1.12.0 (framework: 1.12.0, easyblocks: 1.12.0) on host ivb194.
== 2014-04-28 17:07:19,473 main INFO Command line: --robot=/home-2/adeconinck/.local/easybuild/software/EasyBuild/1.12.0/lib/python2.6/site-packages/easybuild_easyconfigs-1.12.0.0-py2.6.egg/easybuild/easyconfigs NAMD-2.9-goolfc-1.3.12.eb
== 2014-04-28 17:07:19,474 main INFO Using /tmp/easybuild-A7iL1H as temporary directory
== 2014-04-28 17:07:19,475 main INFO Using robot path(s): /home-2/adeconinck/.local/easybuild/software/EasyBuild/1.12.0/lib/python2.6/site-packages/easybuild_easyconfigs-1.12.0.0-py2.6.egg/easybuild/easyconfigs
== 2014-04-28 17:07:19,478 main INFO Extended list of robot paths with paths for installed easyconfigs: ['/home-2/adeconinck/.local/easybuild/software/EasyBuild/1.12.0/lib/python2.6/site-packages/easybuild_easyconfigs-1.12.0.0-py2.6.egg/easybuild/easyconfigs', '/home-2/adeconinck/.local/easybuild/software/EasyBuild/1.12.0/lib/python2.6/site-packages/easybuild_easycon
@ajdecon
ajdecon / keybase.md
Created March 5, 2014 17:37
keybase.md

Keybase proof

I hereby claim:

  • I am ajdecon on github.
  • I am ajdecon (https://keybase.io/ajdecon) on keybase.
  • I have a public key whose fingerprint is 2FCE 1DAD 9E21 31CB AB4C 8402 8671 78FB 1668 9163

To claim this, I am signing this object:

@ajdecon
ajdecon / easybuild-j2235m.log
Last active December 20, 2015 22:58
Build log of SciPy for easybuild-easyblocks issue #241
This file has been truncated, but you can view the full file.
== 2013-08-11 22:45:49,752 main INFO This is EasyBuild 1.6.0 (framework: 1.6.0, easyblocks: 1.6.0) on host debian.
== 2013-08-11 22:45:49,759 main.config WARNING Deprecated functionality, will no longer work in v2.0: oldstyle init with modifications to support oldstyle options
== 2013-08-11 22:45:49,760 main.config WARNING Deprecated functionality, will no longer work in v2.0: oldstyle_init filename /home/ajdecon/.local/lib/python2.7/site-packages/easybuild/easybuild_config.py kwargs {}
== 2013-08-11 22:45:49,760 main.config WARNING Deprecated functionality, will no longer work in v2.0: oldstyle_read_configuration filename /home/ajdecon/.local/lib/python2.7/site-packages/easybuild/easybuild_config.py
== 2013-08-11 22:45:49,771 main.config WARNING Deprecated functionality, will no longer work in v2.0: oldstyle key build_path usage found, replacing with newkey buildpath
== 2013-08-11 22:45:49,771 main.config WARNING Deprecated functionality, will no longer work in v2.0: oldstyle key module_classes usage found,
@ajdecon
ajdecon / gist:6045818
Created July 20, 2013 17:37
Best Linpack results (so far) from my Raspberry Pi cluster
================================================================================
T/V N NB P Q Time Gflops
--------------------------------------------------------------------------------
WR11C2R4 14000 32 2 2 2720.32 6.726e-01
--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)= 0.0042586 ...... PASSED
================================================================================
/*
* drivertest.cpp
* Vector addition (host code)
*
* Andrei de A. Formiga, 2012-06-04
*/
#include <stdio.h>
#include <stdlib.h>
@ajdecon
ajdecon / XeonX5570-QDR.txt
Created May 2, 2012 20:36
OSU Micro-Benchmarks for 10GbE-on-EC2 and for QDR Infiniband
OSU Micro-Benchmarks on a pair of physical compute nodes at R Systems with
QDR Infiniband.
# uname -a
Linux nu0047 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux