Skip to content

Instantly share code, notes, and snippets.

View bbatha's full-sized avatar
🏠
Working from home

Ben Batha bbatha

🏠
Working from home
View GitHub Profile
@bbatha
bbatha / # minikube - 2020-09-10_12-57-50.txt
Created September 10, 2020 17:05
minikube on Ubuntu 18.04.4 LTS - Homebrew build logs
Homebrew build logs for minikube on Ubuntu 18.04.4 LTS
Build date: 2020-09-10 12:57:50
@bbatha
bbatha / JVMtoParrot.txt
Created March 28, 2011 01:25
Java Byte Code to Parrot Byte code Proposal for GSoC 2011
Ben Batha
Email: bbatha@u.rochester.edu
Google ID: applied under: elektronjunge
prefered contact: bhbatha
Other contact info: bbatha on irc.parrot.org #parrot
Your Project's Title: Java Byte Code to Parrot
Abstract
The focus of this project is to build a translator from Java Byte Code to Parrot friendly targets (PIR).
@bbatha
bbatha / npm_debug.log
Last active June 1, 2017 18:28
npm5 large package debug log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\bbatha\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '@fds/fds-cdn-data',
1 verbose cli '-ddd' ]
2 info using npm@5.0.1
3 info using node@v8.0.0
4 silly install loadCurrentTree
5 silly install readLocalPackageData

Keybase proof

I hereby claim:

  • I am bbatha on github.
  • I am bbatha (https://keybase.io/bbatha) on keybase.
  • I have a public key ASBKD6z2ozTsC69HOpADwtuW09OlTDxf-jyJs2oCG-IPiAo

To claim this, I am signing this object:

# change foo to your library name
# change Foo::Database to your Sequel database
namespace :bundler do
task :setup do
require 'rubygems'
require 'bundler/setup'
end
end
@bbatha
bbatha / playground.rs
Created October 23, 2015 18:40 — forked from anonymous/playground.rs
Shared via Rust Playground
#[derive(Debug)]
struct Foo(u32);
fn foo(val: u32) -> Foo { Foo(val) }
impl Foo {
fn new() -> Self { Foo(3) }
}
trait BoolExt {
@bbatha
bbatha / JavaGSOC11Proposal.txt
Created March 28, 2011 02:30
Java on Parrot GSOC11 Proposal
Ben Batha
Email: bbatha@u.rochester.edu
Google ID: applied under: elektronjunge
prefered contact: bhbatha
Other contact info: bbatha on irc.parrot.org #parrot
Your Project's Title: Java on Parrot
Abstract
extern crate scoped_threadpool;
use scoped_threadpool::{Pool, Scope};
#[derive(Debug)]
pub struct RefOwner<'a>(&'a str);
pub struct ScopeRef<'pool, 'scope> where 'pool: 'scope {
scope: &'scope Scope<'pool, 'scope>,
}
Compiling pool_problems v0.1.0 (file:///home/user/bbatha/experiments/pool_problems)
src/executor.rs:70:55: 70:61 error: cannot infer an appropriate lifetime for automatic coercion due to conflicting requirements [E0495]
src/executor.rs:70 let executor = Executor::new(auth_method, &scope);
^~~~~~
src/executor.rs:69:9: 73:11 note: first, the lifetime cannot outlive the method call at 69:8...
src/executor.rs:69 pool.scoped(|scope| {
src/executor.rs:70 let executor = Executor::new(auth_method, &scope);
src/executor.rs:71 let result = executor.execute(&"true", &host).recv().unwrap();
src/executor.rs:72 assert!(result.is_ok(), "Ensure you have a valid ssh-key pair for localhost");
src/executor.rs:73 });
create_table(:minors) do
primary_key :id
end
create_table(:states) do
primary_key :id
foreign_key :minor_id, :minors
String :state, :size => 10
end