Skip to content

Instantly share code, notes, and snippets.

Andrew Woodward xarses

  • Mountian View, CA
Block or report user

Report or block xarses

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am xarses on github.
  • I am xarses ( on keybase.
  • I have a public key whose fingerprint is 1F66 416E 9AD4 04DC E759 B14A CE5F E7FC 4432 7383

To claim this, I am signing this object:

View gist:16ce55cf988a0169b5a025721aec56ee
$ yum check-updates | grep 3.10.0
kernel.x86_64 3.10.0-693.11.1.el7 updates
kernel-tools.x86_64 3.10.0-693.11.1.el7 updates
kernel-tools-libs.x86_64 3.10.0-693.11.1.el7 updates
python-perf.x86_64 3.10.0-693.11.1.el7 updates
$ yum --obsoletes upgrade kernel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
View gist:55e2517bd49903df2c5ec7ff5f697d74
$ export | grep OS_
declare -x OS_CLOUD="a-vsv1-c1"
$ python -i
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os_client_config as oscc
>>> sdk = oscc.make_sdk()
View eh.lua
-- Listen --
modem = component.modem
function respond(event, localAddress, remoteAddress, port, distance, ...) print(table.unpack{...}) end
event.listen('modem_message', respond)
-- Send --
modem.broadcast(123, 'asdf', 'asdf', 'asdf')
xarses / loops for days...
Created Feb 16, 2017
more fun with rally
View loops for days...
{% set flavor_name = flavor_name or "m1.tiny" %}
{% set zones = zones or ['nova'] %}
{% set times = times or 1 %}
{% for zone in zones %}
name: "{{flavor_name}}"
View rally killed everything
$ rally task start test01.yaml
Running Rally version 0.8.2~dev61
Preparing input task
Input task is:
View pip freeze
$ pip freeze
xarses /
Created Oct 3, 2016
Adjust networks in nailgun ignoring api (designed for 7.0, use at own risk)
from collections import defaultdict
from itertools import imap
from itertools import islice
from netaddr import IPAddress
from netaddr import IPNetwork
from netaddr import IPRange
import six
xarses /
Created Aug 20, 2016
gregtech6 enviromine config generator
preamble = 'gregtech:gt.meta.ore'
editions = ['small', 'broken', 'normal']
materials = ['basalt',
Copyright (c) 2016, Andrew Woodward (xarses)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
You can’t perform that action at this time.