Skip to content

Instantly share code, notes, and snippets.

View lisa's full-sized avatar

Lisa Seelye lisa

View GitHub Profile
@lisa
lisa / gist:1f98b1c12278f4214d5ed47a911d0bda
Last active March 25, 2017 19:30
Portage EAPI 5 -> 6 issues from sys-apps/portage-2.2.20.1
yttrium portage # emerge --oneshot =sys-apps/portage-2.3.3
* IMPORTANT: 24 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
!!! All ebuilds that could satisfy ">=app-portage/elt-patches-20170317" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-portage/elt-patches-20170317::gentoo (masked by: EAPI 6)
@lisa
lisa / 2014.rb
Created December 5, 2016 16:54
Make 2014 without numbers
include Math
def three
PI.to_i
end
def two
three - one
end
@lisa
lisa / SplunkGoal.txt
Created October 18, 2016 15:46
Splunk Goal
2016-10-18T15:44:32.065382+00:00 ldap01 slapd[9665]: conn=1127 fd=36 ACCEPT from IP=192.168.101.34:43658 (IP=0.0.0.0:389)
2016-10-18T15:44:32.065677+00:00 ldap01 slapd[9665]: conn=1127 op=0 EXT oid=1.3.6.1.4.1.1466.20037
2016-10-18T15:44:32.065688+00:00 ldap01 slapd[9665]: conn=1127 op=0 STARTTLS
2016-10-18T15:44:32.065692+00:00 ldap01 slapd[9665]: conn=1127 op=0 RESULT oid= err=0 text=
2016-10-18T15:44:32.146895+00:00 ldap01 slapd[9665]: conn=1127 fd=36 TLS established tls_ssf=256 ssf=256
2016-10-18T15:44:33.219780+00:00 ldap01 slapd[9665]: conn=1127 op=1 BIND dn="cn=test_account,ou=people,dc=example,dc=com" method=128
2016-10-18T15:44:33.286399+00:00 ldap01 slapd[9665]: conn=1127 op=2 UNBIND
2016-10-18T15:44:33.286751+00:00 ldap01 slapd[9665]: conn=1127 op=1 RESULT tag=97 err=49 text=
2016-10-18T15:44:33.298605+00:00 ldap01 slapd[9665]: conn=1127 fd=36 closed
@lisa
lisa / tezz-sword-lilly.md
Last active October 15, 2016 17:14
Tezzeret, Sword of Liliana

Why Play Tezzeret?

Why the hell would someone bother building a deck with Tezzeret, Agent of Bolas? Why would she use Ensnaring Bridge and not build Lantern Control? What is going on?

For one, I don't own all of the pieces to Lantern Control but I do own all the pieces for this deck. I played a similar deck which was more into the prison element, with Lodestone Golems, Tidehollow Scullers, Mox Opals, Thirst for Knowledge and Trinispheres. As the Modern format gained speed this angle of attack was no longer reasonable.

Tezzeret, Agent of Bolas is my favourite Modern legal planeswalker and I think he's criminally underplayed. Often times it's a four mana spell with suspend 1 which reads "Win the game."

When Wizards unbanned Sword of the Meek, Tezzeret got even better. He finds both pieces of Thopter Foundry+Sword of the Meek and when he doesn't find those he finds lock pieces. What's not to love!? As we'll see, plenty.

Keybase proof

I hereby claim:

  • I am lisa on github.
  • I am thedoh (https://keybase.io/thedoh) on keybase.
  • I have a public key ASCaa8rWVrjnqIwHKjoeezStrWe9ELQtEXHBesHuQHT3WAo

To claim this, I am signing this object:

@lisa
lisa / gist:06c726c9ab03ae6f420b73463861d2fd
Created September 13, 2016 17:13
binford2k/hiera_explain fall over go boom
lisas@lisas ~ $ hiera_explain -h
/Users/lisas/.rvm/gems/ruby-2.2.1/gems/puppet-2.7.22/lib/puppet/defaults.rb:164: warning: duplicated key at line 165 ignored: :queue_type
/Users/lisas/.rvm/gems/ruby-2.2.1/gems/puppet-2.7.22/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb:42:in `<top (required)>': uninitialized constant Syck (NameError)
from /Users/lisas/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/lisas/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/lisas/.rvm/gems/ruby-2.2.1/gems/puppet-2.7.22/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb:197:in `<module:YAML>'
from /Users/lisas/.rvm/gems/ruby-2.2.1/gems/puppet-2.7.22/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb:132:in `<top (required)>'
from /Users/lisas/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/lisas/.rvm/rubies/ruby-2.2.1/lib/ruby/si
@lisa
lisa / pw.sh
Last active August 29, 2015 14:22
Create passwords from a numbered password list
#!/bin/sh
# This may be OS X Specific. GNU Coreutils 8.21 sleep(1)
# reports it supporting fractional seconds.
# Your mileage may vary.
# Refer to http://world.std.com/~reinhold/diceware.html
rand ()
{
ruby -e 'puts rand.to_s'
@lisa
lisa / hacklab_door_tweeter.rb
Created September 24, 2012 17:52
hacklab_door_tweeter.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'oauth'
require 'mq'
require 'rexml/document'
require 'syslog'
include REXML
@lisa
lisa / collectd-carbon.spec
Created May 30, 2012 18:56 — forked from dcarley/collectd-carbon.spec
RPM SPEC for collectd carbon plugin.
%define giturl git://github.com/indygreg/collectd-carbon.git
%define gitrev e20819b
%define gituser indygreg
Name : collectd-carbon
Version : 0.0.2
Release : 1.%{gitrev}
Summary : Carbon plugin for collectd
Group : System Environment/Daemons
@lisa
lisa / gist:971336
Created May 13, 2011 21:15
Works (THIS TIME I MEAN IT!!)
## clockgen.v
module clockgen(
output reg clk_enable,
input clk_src,
input [31:0] clk_division);
reg [31:0] clk_accumulator;
initial begin
clk_accumulator = 0;