Skip to content

Instantly share code, notes, and snippets.

View nuclearsandwich's full-sized avatar

Steven! Ragnarök nuclearsandwich

View GitHub Profile
root@ff9fc0b1af59:/drake# bazel test //...
INFO: Found 1217 targets and 2371 test targets...
FAIL: //drake/automotive/maliput/utility:bazel_buildifier (see /root/.cache/bazel/_bazel_root/9ecb0f4ce434715009a64c73d901046c/execroot/drake/bazel-out/clang-3.9-linux-opt/testlogs/drake/automotive/maliput/utility/bazel_buildifier/test.log).
INFO: From Testing //drake/automotive/maliput/utility:bazel_buildifier:
==================== Test output for //drake/automotive/maliput/utility:bazel_buildifier:
drake/automotive/maliput/utility/BUILD # reformat
Use --strategy=TestRunner=standalone to disable sandboxing for the failing actions.
================================================================================
FAIL: //:bazel_buildifier (see /root/.cache/bazel/_bazel_root/9ecb0f4ce434715009a64c73d901046c/execroot/drake/bazel-out/clang-3.9-linux-opt/testlogs/bazel_buildifier/test.log).
INFO: From Testing //:bazel_buildifier:
@nuclearsandwich
nuclearsandwich / puppet.log
Created May 9, 2017 23:13
Issues with the new aws kernel.
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:09 +0000 Puppet (info): Loading facts
2017-05-09 22:11:11 +0000 Puppet (warning): This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README.
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
#include <stdio.h>

int main(int argc, char *argv[]) {
  printf("Hello, World!\n");
  return 0;
}
@nuclearsandwich
nuclearsandwich / sshvvv.sh
Created December 23, 2013 19:35
Verbosify ssh for Git debugging
#!/bin/sh
exec ssh -vvv $@
@nuclearsandwich
nuclearsandwich / xcode.md
Created September 26, 2013 19:14
Installing XCode and the Provisioning Profiles for CoderDojo SV mobile games

Hey there Coder,

If you joined us for our very first mobile games session, but were unable to get the sample game running on your iOS device because we ran out of time, fear not! We have the technology to make it go!

There was one slight but gargantuan omission in our instructions. You need Apple's development tools to build and install games for iOS devices.

Don't worry, getting the tools themselves is free of charge and easy to do assuming your Apple operating system is up to date.

Install Mac OS X updates from the App Store

@nuclearsandwich
nuclearsandwich / gist:6691419
Created September 24, 2013 21:19
Little Lua Koans
local __ = -1
local ___
local whisperwhisper, penultimate, find_a_definition
local koans = {}
local consider = function(phrase, line, condition)
if koans.stop_and_reflect then
return
end
print(phrase)
@nuclearsandwich
nuclearsandwich / varstrithmetication.py
Created May 10, 2013 06:59
Variables, strings, arithmetic, and concatenation in Python.
num1 = 5
num2 = 7
addition = num1 + num2
subtraction = num2 - num1
multiplication = num1 * num2
division = num2 / num1 # rounds down for integer division
print(addition) # prints 12
print(subtraction) # prints 2
class Identity < ActiveRecord::Base
belongs_to :user
has_many :accounts
# relation logic methods.
end
class Account < ActiveRecord::Base
belongs_to :identity
end
<?php
define('AWS_KEY','YOUR_AWS_KEY_HERE');
define('AWS_SECRET','YOUR_AWS_SECRET_HERE');
require_once('AWSSDKforPHP/sdk.class.php');
require_once('AWSSDKforPHP/extensions/s3streamwrapper.class.php');
$s3 = new AmazonS3(array(
'key' => AWS_KEY,
'secret' => AWS_SECRET,