Skip to content

Instantly share code, notes, and snippets.

John Kealy jdkealy

Block or report user

Report or block jdkealy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:9301787
Nerd-Machine:strategy jdkealy$ node main.js
Failed to load c++ bson extension, using pure JS version
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
View gist:9301815
Nerd-Machine:strategy jdkealy$ node main.js
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at Server.listen (net.js:1138:5)
View gist:9298405
Take Out
910 mm
--------------------------------
Chk 9592 Gst 0
--------------------------------
Take-out
5 Sausage Pizza
View gist:9347412
def similar_users
items = DB[:users]
items = items.all
items
end
View gist:9372250
$con=mysqli_connect("localhost","root","","pizzavinoteca_login");
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$sql = "drop table active_orders;";
$result = mysql_query($sql);
View gist:9452949
var items = collection.find({
$where : function() {
return (this.date.getMinutes() === 5);
}
}).sort({date:1});
_.each(items, function(i){
console.log(i);
});
View gist:9476744
Nerd-Machine:spg jdkealy$ dorun=yes lein run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
#'spg.core/spg
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Could not load library: gstreamer
at org.gstreamer.lowlevel.GstNative.load(GstNative.java:53)
at org.gstreamer.lowlevel.GstNative.load(GstNative.java:43)
at org.gstreamer.Gst.<clinit>(Gst.java:101)
at processing.video.Video.initImpl(Unknown Source)
View gist:9476771
Nerd-Machine:spg jdkealy$
Nerd-Machine:spg jdkealy$ lein localrepo install ./lib/gstreamer-java.jar gstreamer-java 0.99
Nerd-Machine:spg jdkealy$ lein localrepo install ./lib/jna.jar jna 0.99
Nerd-Machine:spg jdkealy$ lein localrepo install ./lib/video.jar processing-video 0.99
Nerd-Machine:spg jdkealy$ lein deps
Nerd-Machine:spg jdkealy$ dorun=yes lein run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
#'spg.core/spg
View gist:9478979
"\tat processing.opengl.PGraphicsOpenGL.flush(PGraphicsOpenGL.java:2374)"
"\r\n"
"\tat processing.opengl.PGraphicsOpenGL.endDraw(PGraphicsOpenGL.java:1684)"
"\r\n"
"\tat processing.core.PApplet.handleDraw(PApplet.java:2326)"
"\r\n"
"\tat quil.Applet.handleDraw(Unknown Source)"
"\r\n"
"\tat processing.opengl.PJOGL$PGLListener.display(PJOGL.java:862)"
"\r\n"
View gist:9478990
192.168.1.5:5888
Type lein-light-nrepl
Commands
:editor.eval.clj
:docs.cljs.search
:editor.cljs.hints
:cljs.compile
:editor.eval.clj.cancel
:editor.cljs.doc
:editor.clj.hints
You can’t perform that action at this time.