Skip to content

Instantly share code, notes, and snippets.

View devinus's full-sized avatar

Devin Alexander Torres devinus

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JSBin</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/1.5.0/ember.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JSBin</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/1.5.0/ember.js"></script>
</head>
FROM phusion/baseimage
ENV DEBIAN_FRONTEND noninteractive
ADD https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb /
RUN dpkg -i erlang-solutions_1.0_all.deb && rm erlang-solutions_1.0_all.deb
RUN apt-get update && apt-get install -y erlang erlang-base-hipe
#cloud-config
write_files:
- content: |
description "Minecraft"
start on started docker and started networking
stop on stopping docker
respawn
exec /usr/bin/docker start -a minecraft
path: /etc/init/minecraft.conf

Keybase proof

I hereby claim:

  • I am devinus on github.
  • I am devinus (https://keybase.io/devinus) on keybase.
  • I have a public key whose fingerprint is 5845 2753 767B 103F 42FC F457 F4A1 DC25 8448 179F

To claim this, I am signing this object:

# Maximum number of file descriptors
kern.maxfiles=65536
# Maximum number of file descriptors per process
kern.maxfilesperproc=32768
# Max number of incoming connections in queue
kern.ipc.somaxconn=512
# Maximum number of processes
Connection.prototype.query = function (sql) {
if (!this._queries) this._queries = [];
var promise = new process.Promise;
promise.sql = sql;
this._queries.push(promise);
this.maybeDispatchQuery();
return promise;
};
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 277, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/driver.py", line 744, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/Users/devin/Projects/pypy/pypy/translator/driver.py", line 279, in _do
[translation:ERROR] res = func()
var LRUCache = {};
LRUCache.Cache = function(maxsize) {
this._keys = [];
this._items = {};
this._expires = {};
this._size = 0;
this._maxsize = maxsize || 1024;
if (this._maxsize < 2) throw Error("max size must be > 2");
};
var LRUCache = {};
LRUCache.Cache = function(maxsize) {
this._keys = [];
this._items = {};
this._expires = {};
this._size = 0;
this._maxsize = maxsize || 1024;
if (this._maxsize < 2) throw new Error("max size must be > 2");
};