Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Shaun Hannah hooptie45

🎯
Focusing
View GitHub Profile
View jaxb error.txt
[ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate (default) on project mage-server: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3:generate: com/sun/codemodel/CodeWriter
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.12.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/hooptie45/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.12.3/maven-jaxb2-plugin-0.12.3.jar
[ERROR] urls[1] = file:/Users/hooptie45/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-core/0.12.3/maven-jaxb2-plugin-core-0.12.3.jar
[ERROR] urls[2] = file:/Users/hooptie45/.m2/repository/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar
[ERROR] urls[3] = file:/Users/hooptie45/.m2/repository/com/sun/or
View mage.json
{
"priorityTime": 3000,
"players": [
{
"playerId": "535ec574-6592-48c6-a3f7-d830f1f4d50e",
"name": "hooptie45",
"life": 13,
"counters": {},
"wins": 0,
"winsNeeded": 2,
View sourcemap-extract.rb
#!/usr/bin/env ruby
require 'open-uri'
require 'pathname'
require 'json'
def strip_hash(f)
ext = f.extname
if ext.include?("?")
View angular-spec-helper.coffee
((jasmine)->
root = `(1, eval)('this')`
ARGUMENT_NAMES = /([^\s,]+)/g
getParamNames = (func) ->
fnStr = func.toString()
from = fnStr.indexOf('(') + 1
to = fnStr.indexOf(')')
result = fnStr.slice(from, to).match(ARGUMENT_NAMES)
View gist:9ea24c62b8d83e034237
https://github.com/rails/rails/commit/61b91c4c55bcbd5a2ec85d6e1c67755150653dff#commitcomment-2360502
View Angular-Material-Muppet-App.markdown
View console_helpers.rb
require 'rblineprof'
module Rblineprof
module ConsoleHelpers
include Rblineprof::Helpers
def lineprof_block(options = {}, &block)
profile = lineprof(rblineprof_profiler_regex(options[:lineprofiler])) do
ret = yield
end
View gist:37f8a2f66e3862a6f1e5
$ bin/shell
Datomic Java Shell
Type Shell.help(); for help.
datomic % uri = "datomic:dev://localhost:4334/heh";
<datomic:dev://localhost:4334/heh>
datomic % Peer.createDatabase(uri);
<true>
datomic % conn = Peer.connect(uri);
<{:db-id "heh-5193abce-9c7a-459f-9ace-7e8d666f1776", :unsent-updates-queue 0, :pending-txes 0, :next-t 1000, :basis-t 62, :index-rev 0, :index-root {:rev 0, :key "5193abed-2868-4e58-9138-c17710ed331c"}, :log-root {:rev 0, :key "5193abed-2160-48d3-81b3-3c3635a67df5"}}>
datomic % datom = Util.list("db/add",
You can’t perform that action at this time.