I hereby claim:
- I am xymostech on github.
- I am xymostech (https://keybase.io/xymostech) on keybase.
- I have a public key whose fingerprint is 1FC6 39C9 6409 A5C1 42AE 4394 9A36 4DA3 D08D 1627
To claim this, I am signing this object:
diff --git a/package.json b/package.json | |
index b3f321a..852132a 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -15,9 +15,10 @@ | |
"coverage": "nyc --check-coverage --lines 100 --branches 100 npm run tests", | |
"tests": "mocha --compilers js:babel/register tests", | |
"tests:watch": "mocha --watch --compilers js:babel/register tests", | |
- "prebuild": "rimraf dist lib", | |
+ "prebuild": "rimraf dist/* lib/*", |
I hereby claim:
To claim this, I am signing this object:
// almost 100% stolen from https://github.com/reactjs/react-router/blob/master/modules/Link.js | |
import React from 'react' | |
import { css } from 'aphrodite'; | |
import warning from './routerWarning' | |
const { bool, object, string, func, oneOfType } = React.PropTypes | |
function isLeftClickEvent(event) { | |
return event.button === 0 |
javascript: $.ajax({ | |
/* Removes all the assessment items in an exercise. Set `window.exercise` to the name of | |
* the exercise (like `"addition_1"`). */ | |
type: "GET", | |
url: "/api/v1/exercises/" + window.exercise, | |
success: function(data) { | |
var id = data.id; | |
var sha = data.sha; | |
console.log("Got id", id, "and sha", sha); | |
$.ajax({ |
<style type="text/css"> | |
.katex-display { | |
margin: 1em 0; | |
text-align: center; | |
} | |
.katex-display > span { | |
display: inline-block; | |
overflow: hidden; | |
margin: 0 auto; |
require 'json' | |
require 'rubygems' | |
require 'ttfunk' | |
def metrics_for_file(filename) | |
file = TTFunk::File.open(filename) | |
max_height = 0 |
#!/usr/bin/env bash | |
echo "Syncing KaTeX directory there" | |
rsync --recursive --delete --links ./* KADev:docker-huxley/KaTeX/ | |
echo "Running docker-huxley" | |
ssh -t KADev sudo docker run -v /home/xymostech/docker-huxley/KaTeX:/KaTeX -i -t xymostech/huxley | |
echo "Syncing KaTeX directory back again" | |
rsync --recursive KADev:docker-huxley/KaTeX/test/huxley/* ./test/huxley/ |
FROM ubuntu:14.04 | |
MAINTAINER xymostech <[email protected]> | |
RUN apt-get -qq update | |
RUN apt-get -qqy install nodejs default-jre firefox xvfb || true | |
RUN apt-get -qqy install wget | |
RUN wget http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar | |
RUN ln -s /usr/bin/nodejs /usr/bin/node | |
ENV DISPLAY :1 | |
CMD /bin/bash ~/run.sh | |
RUN echo "java -jar /selenium-server-standalone-2.42.2.jar > /dev/null &" >> ~/run.sh |
/* | |
* Base elements | |
*/ | |
body { | |
background: #EEE; | |
color: #222; | |
font-family: "Courier", monospace; | |
font-size: 16px; | |
margin: 0px; | |
min-width: 600px; |
(function() { | |
var streams = {}; | |
function Stream() { | |
this.enabled = true; | |
}; | |
Stream.prototype.log = function() { | |
if (this.enabled) { | |
window.console.log.apply(window.console, Array.prototype.slice.call(arguments, 0)); |