Skip to content

Instantly share code, notes, and snippets.

View smw's full-sized avatar

Stefan Wasilewski smw

  • Durham, NC, USA
View GitHub Profile
2017-08-01 19:46:43,551 [DEBUG] conjure-up/kubernetes-core - events.py:55 - Received RelationsAdded:etcd at /snap/conjure-up/561/usr/lib/python3.6/asyncio/events.py:127 in task wait at conjureup/events.py:95
2017-08-01 19:46:43,554 [DEBUG] conjure-up/kubernetes-core - events.py:55 - Setting DeploymentComplete at conjureup/controllers/deploy/gui.py:291
2017-08-01 19:46:43,555 [DEBUG] conjure-up/kubernetes-core - events.py:55 - Received DeploymentComplete at conjureup/controllers/deploystatus/common.py:9 in task _wait_for_applications at conjureup/controllers/deploystatus/gui.py:13
2017-08-01 19:46:43,555 [INFO] conjure-up/kubernetes-core - common.py:11 - Waiting for deployment to settle.
2017-08-01 19:46:43,555 [INFO] conjure-up/kubernetes-core - utils.py:143 - Running step: Deployment Watcher.
2017-08-01 19:46:43,556 [DEBUG] conjure-up/kubernetes-core - utils.py:151 - Executing script: /home/smw/.cache/conjure-up/kubernetes-core/steps/00_deploy-done
2017-08-01 20:00:28,672 [DEBUG] conjure-up/kubernetes-core -
aedon - 05/10/2016
http://www.amazon.com/Thermaltake-Tower-Gaming-Computer-CA-1C6-00M-1WN-00/dp/B00NTQICRA?ie=UTF8&psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00
Amazon.com: Thermaltake Core V51 ATX Mid Tower Gaming Computer Case CA-1C6-00M-1WN-00: Computers & Accessories
https://www.amazon.com/gp/product/B0136JON7M/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1
Amazon.com: Intel Boxed Core I5-6500 FC-LGA14C 3.20 Ghz 6 M Processor Cache 4 LGA 1151 BX80662I56500: Computers & Accessories
https://www.amazon.com/gp/product/B012AQGL4A/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1
Buy Gigabyte LGA 1151 Z170 2-Way SLI UEFI DualBIOS ATX DDR4 ATX DDR4 NA Motherboards GA-Z170XP-SLI: Motherboards - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
https://www.amazon.com/gp/product/B01639694M/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1
@smw
smw / error.log
Last active August 23, 2016 22:05
fatal: [tw-r01-s01]: FAILED! => {
"actions": [],
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"architecture": null,
"cert_file": "/root/.config/lxc/client.crt",
"config": {
"user.user-data": "#cloud-config\nssh_authorized_keys:\n - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2l3zSGhZ7eCBCGeZB4WGf7yAz5lrkk2svTp4fbB927NYosiHtj4uqKRKTiaIzCaAYgNRTHFpF4IkcHtNdiJUfbWt9XUc4lJ/8lQOw36OFJOqmVGY3nM/aBxJziBXqgZOVoRmQ/mEAE1sYGvK0TX04qDudBDUaIt+gZUQq4FS9b6NwLMcS+qfEIRSpNp1ANoiUNZjbzgP8vc/jC4emaA0QY6X5XDSNKfVP0bxUkAcH1eaHimdW9NddiA21G0SOfRWztkJIyPAcBDRkpwudv1bHCnNEf2COqbnOnDKqXGFpLfqIUAQhidqdG3a/WvC3rRlfLewNdXySseZsiYldSl8h stefan.wasilewski@emc.com\npackages:\n python\n"
def next_perm(v):
"""
Generates next permutation with a given amount of set bits,
given the previous lexicographical value.
Taken from http://graphics.stanford.edu/~seander/bithacks.html
"""
t = (v | ( v - 1)) + 1
w = t | ((((t & -t) / (v & -v)) >> 1) - 1)
return w
@smw
smw / mdf
Created May 15, 2014 10:06
Pop this somewhere in your path. Finds files/directories/links, with globbing.
#!/usr/bin/perl -w
if (@ARGV < 1) {
print "Usage: mdf <file glob to search for>\n";
exit(1);
}
my $nameGlob = shift @ARGV;
exec ('mdfind', qq(kMDItemFSName=='${nameGlob}'c), @ARGV) or
@smw
smw / es.pl
Created May 10, 2014 09:45
A reasonable approximation of Everything Search's command line interface, es.exe, under OS X.
#!/usr/bin/perl -w
if (@ARGV < 1) {
print "Usage: es <file glob to search for>\n";
exit(1);
}
my $nameGlob = shift @ARGV;
exec ('mdfind', qq(kMDItemDisplayName=='${nameGlob}'c), @ARGV) or
layout(location = 0) uniform mat4 transformationMatrix;
layout(location = 1) uniform mat4 projectionMatrix;
layout(location = 2) uniform mat3 normalMatrix;
layout(location = 3) uniform vec3 light;
layout(location = 0) in vec4 position;
layout(location = 2) in mediump vec3 normal;
out mediump vec3 transformedNormal;
out highp vec3 lightDirection;
layout(location = 3) in lowp vec4 color;
out lowp vec4 fragmentColor;
void main() {
fragmentColor = vec4 (1.0, 0.0, 0.0, 1.0);
}

Keybase proof

I hereby claim:

  • I am smw on github.
  • I am smw (https://keybase.io/smw) on keybase.
  • I have a public key whose fingerprint is B884 BF62 4704 34EE 610C B3A6 5558 89A6 3682 DD37

To claim this, I am signing this object:

1.9.3@justbundler kvothe:~ $ du -hs ~/.rvm/gems/ruby-1.9.3-p362\@justbundler/
8.3M /Users/smw/.rvm/gems/ruby-1.9.3-p362@justbundler/