Skip to content

Instantly share code, notes, and snippets.

View oreoshake's full-sized avatar
:octocat:
I used to make it easier to develop this site securely

Neil Matatall oreoshake

:octocat:
I used to make it easier to develop this site securely
View GitHub Profile
mdnew: neilmatatall: you're working on that, right?
neilmatatall mdnew: i already finished
mdnew neilmatatall: poor t<3
mdnew neilmatatall: we're going to put that on your grave
mdnew "Here lies Nigel. He already finished"
mdnew your parents will be so confused
neilmatatall mdnew: so you're going to outlive me?
mdnew neilmatatall: not sure about that, but I'll get C&E to do it
neilmatatall mdnew: that's true, C-dawg has a motivation to bury me
@oreoshake
oreoshake / gist:1242941
Created September 26, 2011 18:22
Why i hate java
[java (master $=)]$ mvn
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.128s
[INFO] Finished at: Mon Sep 26 11:11:35 PDT 2011
[INFO] Final Memory: 2M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install
Bryan Pan
u gonna get the new iphone
1:47
Neil Matatall
haha that's funny
1:47
Bryan Pan
lol why
[16:07] < jason> "Host hosting.realpractice.com not found: 3(NXDOMAIN)"
[16:07] < jason> Nope, somethings busted.
[16:08] < jason> One of your DNS servers has been updated with the right data, the other one not.
[16:11] < jason> Oh, huh. Yeah, I'm getting different answeres from different places.
[16:11] < jason> Without researching it at all, I'm going to go ahead and blame IPv6.
[16:12] < neil> jason: which DNS server is outdated? or how did you find it? dig+whois not helpful
[16:13] < jason> I was using dig. On a single box, I was getting correct resolution on one host but not on the other.
[16:14] < jason> But then testing the same NS from two different boxes, I was also getting different results.
[16:15] < jason> Possibly they're actually different NS's, doing unicast.
[16:15] < jason> Er, anycast.
[programmatic_crypto (master $=)]$ git push -f sf master
Password:
Counting objects: 20, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 2.04 KiB, done.
Total 12 (delta 4), reused 0 (delta 0)
remote: error: denying non-fast-forward refs/heads/master (you should pull first)
To ssh://oreoshake@git.code.sf.net/p/passw3rdruby/code
! [remote rejected] master -> master (non-fast-forward)
Indian
it says there is no text currenlty
1:36
curryhousebot
i am able to get to the docs
1:36
Indian
the first link
require 'rubygems'
require 'parallel'
require 'benchmark'
# require 'jruby-prof'
############ TEH SETUPZ #############
threads = Parallel.processor_count
n = ARGV[0].to_i
s = (0...10).map{ ('a'..'z').to_a[rand(26)] }.join * n
@oreoshake
oreoshake / gist:1604252
Created January 13, 2012 02:11
guard-brakeman usage
# Gemfile
gem 'guard-brakeman'
# Guardfile:
guard 'brakeman' do
watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
watch(%r{^config/.+\.rb$})
watch(%r{^lib/.+\.rb$})
watch('Gemfile')
end
@oreoshake
oreoshake / gist:1629462
Created January 17, 2012 22:36
what does it all mean!
$ git clone git@github.com:privaterepo/app.git
Cloning into app...
remote: Counting objects: 86868, done.
remote: Compressing objects: 100% (20049/20049), done.
fatal: write error: Result too large), 23.94 MiB | 41 KiB/s
fatal: write error: Broken pipe
fatal: index-pack failed
@oreoshake
oreoshake / pull_31.rb
Last active December 13, 2015 18:28
pull_31.rb
require 'rubygems'
require 'ruby-debug'
class A
def self.read
if @thing
@thing
elsif superclass.respond_to?(:read)
superclass.thing
else