Skip to content

Instantly share code, notes, and snippets.

View fujin's full-sized avatar

AJ Christensen fujin

  • Rotorua, New Zealand
View GitHub Profile
@fujin
fujin / -
Created August 17, 2015 22:25
aj@zeta  ~/workspace/pantheon-cookbooks/python   multipkg-install ●  kitchen converge
-----> Starting Kitchen (v1.4.0)
-----> Creating <default-pantheon-basebox-fedora-22>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'pantheon/basebox-fedora-22'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'pantheon/basebox-fedora-22' is up to date...
==> default: A newer version of the box 'pantheon/basebox-fedora-22' is available! You currently
==> default: have version '2015.07.24.0933'. The latest is version '2015.08.18.0944'. Run
==> default: `vagrant box update` to update.
@fujin
fujin / -
Created August 11, 2015 02:22
aj@zeta  ~/workspace/pantheon-cookbooks/dbus-profiler   exclude-installation-on-f19  Berks u
✘ aj@zeta  ~/workspace/pantheon-cookbooks/dbus-profiler   exclude-installation-on-f19  berks update systemd pantheon_package_repository
Resolving cookbook dependencies...
Fetching 'dbus-profiler' from source at .
Fetching 'pantheon_package_repository' from git@github.com:pantheon-cookbooks/pantheon_package_repository (at master)
Fetching 'systemd' from git@github.com:pantheon-cookbooks/systemd (at master)
Fetching cookbook index from https://supermarket.chef.io/...
Unable to satisfy constraints on package dnf, which does not exist, due to solution constraint (dbus-profiler = 1.0.0). Solution constraints that may result in a constraint on dnf: [(dbus-profiler = 1.0.0) -> (systemd = 0.2.2) -> (pantheon_package_repository = 1.0.0) -> (dnf >= 0.0.0)], [(dbus-profiler = 1.0.0) -> (pantheon_package_repository = 1.0.0) -> (dnf >= 0.0.0)], [(pantheon_package_repository = 1.0.0) -> (dnf >= 0.0.0)], [(systemd = 0.2.2)
@fujin
fujin / -
Created August 6, 2015 02:26
Package "dbus-profiler"
should not be installed
Service "dbus-profiler"
should not be enabled
should not be running
Finished in 0.03755 seconds (files took 0.17175 seconds to load)
3 examples, 0 failures
EEPE EEPROM FILE
:200000000500010F0040000001006A100300D8220000000000000000000000000000000013
:200020000000000000000000000000000000000000000000000000000000000000000000C0
:200040000000000000000000000000000000000000000000000000000000000000000000A0
:20006000000000000000000000000000000000000000000000000000000000000000000080
:20008000000000000000000000000000000000000000000000000000000000000000000060
:2000A000000000000000000000000000000000000000000000000000000000000000000040
:2000C000000000000000000000000000000000000000000000000000000000000000000020
:2000E000000000000000000000000000000000000000000000000000000000000000000000
:20010000020001D9AF8F03BE02DC02DC03AD020203F503D52902DE025504CA02BF021904B6
NAME PROPERTY VALUE SOURCE
zroot compressratio 1.35x -
zroot/014a681ba012cd3e97aaa0302fcac20ccee14be1cc9cef9d9f36486a3de7fb1f compressratio 1.02x -
zroot/014a681ba012cd3e97aaa0302fcac20ccee14be1cc9cef9d9f36486a3de7fb1f@340179797 compressratio 2.01x -
zroot/061df1eba4a29eb8ced62d7dd71ecf0d1869d02ccf76ccdfa60678986ada5e34 compressratio 1.05x -
zroot/061df1eba4a29eb8ced62d7dd71ecf0d1869d02ccf76ccdfa60678986ada5e34@924601730 compressratio 2.01x -
zroot/1844e34ee499c36b69e4b59167e44fadc475a6a4daf0701a9df76751ea127c90 compressratio 1.40x -
zroot/1844e34ee499c36b69e4b59167e44fadc475a6a4daf0701a9df76751ea127c90@165693618 compressratio 1.94x -
zroot/1b26bcb2f271fb80d75ff662889f76019a40620685a77ef22b3f6bc361fca359
aj@zeta  ~/workspace/pantheon-cookbooks/pantheon_package_repository   add-skel ●  make spec
chef exec rspec --format documentation --color test/spec
pantheon_package_repository::default
installs yum priority support (FAILED - 1)
configures yum priority plugin (FAILED - 2)
adds the pantheon packagecloud repos (FAILED - 3)
defines a runner method (FAILED - 4)
Failures:
@fujin
fujin / Berksfile.rb
Created July 21, 2015 00:18
Private git / site-cookbooks monolithic Berksfile
# -*- mode: ruby -*-
@current_dir = File.expand_path(File.dirname(__FILE__))
source 'https://supermarket.chef.io'
# source 'https://supermarket.yourorgz.co'
def internal_cookbook(name)
cookbook(name, git: sprintf('git@github.com:pantheon-cookbooks/%s', name))
end
cookbooks/7-zip/metadata.json
cookbooks/app-influxdb/metadata.json
cookbooks/app-logserver/metadata.json
cookbooks/app-redirector/metadata.json
cookbooks/apt/metadata.json
cookbooks/argus/metadata.json
cookbooks/ark/metadata.json
cookbooks/artifact/metadata.json
cookbooks/atlas/metadata.json
cookbooks/auditd/metadata.json
@fujin
fujin / gettimeofday.cpp
Created April 1, 2015 01:41
LD_PRELOAD gettimeofday linux speedhack
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <dlfcn.h>
#include <stdio.h>
static timeval * timezero = 0;
typedef int (*go)(timeval *tv, timezone *tz);
@fujin
fujin / blackout.md
Last active July 25, 2016 18:16
Blackout Super MiniH + FPV + Radio