On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
function add_css(rule) { | |
let css = document.createElement('style'); | |
css.type = 'text/css'; | |
css.appendChild(document.createTextNode(rule)); | |
document.getElementsByTagName("head")[0].appendChild(css); | |
} | |
let rule = '.container .body pre, .crayons-article__body pre, div.inner-comment div.body div.highlight pre.highlight {background: hsla(240, 6%, 4%, 1); filter: invert(1);}'; | |
rule += '.container .body pre code, .crayons-article__body pre code {background: hsla(240, 6%, 4%, 1);}'; | |
add_css(rule) |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Move JS 3D Physics</title> | |
<style> | |
body { margin: 0; } | |
</style> | |
</head> | |
<body> |
#!/usr/bin/env python2 | |
#-*- coding: utf-8 -*- | |
# NOTE FOR WINDOWS USERS: | |
# You can download a "exefied" version of this game at: | |
# http://hi-im.laria.me/progs/tetris_py_exefied.zip | |
# If a DLL is missing or something like this, write an E-Mail ([email protected]) | |
# or leave a comment on this gist. | |
# Very simple tetris implementation |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>Record WebGL to WebM (Chrome only)</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="styles.css" charset="utf-8"> | |
</head> | |
<body> | |
<div class="buttons"> |
On mac:
/usr/local/bin
.Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
<html> | |
<head> | |
<script src="clmtrackr.js"></script> | |
<script src="model_pca_20_svm.js"></script> | |
<script src="p5.js"></script> | |
<script src="p5.dom.js"></script> | |
<script> | |
var ctracker; |
<div class="container"> | |
</div> |
<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Gradients --> | |
<svg | |
width="400" | |
height="500" | |
version="1.1" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<defs> | |
<!-- |