This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>hitomezashi stitching</title> | |
</head> | |
<body> | |
<input id="seedX" /> | |
<input id="seedY" /> | |
<button id="generate">generate</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>sierpenski</title> | |
</head> | |
<body> | |
<canvas id="sierpenski" width="2187" height="2187"></canvas> | |
<script> | |
let canvas = document.getElementById('sierpenski'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MAX_SAMPLES = 1000; | |
const MAX_RADIUS = 2 ** 4; | |
/** | |
* a complex number, c, belongs to The Mandelbrot Set if the iterative application | |
* of the function f(z)=z^2+c, starting at z=0, does not result in divergence | |
* beyond a specified radius before a specified number of iterations | |
* | |
* a complex number, z, belongs to The Julia Set if the iterative application | |
* of the function f(z)=z^2+c, where c is a constant, does not result in divergence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn on the mouse | |
set -g mouse on | |
# Scroll History | |
set -g history-limit 30000 | |
# Set ability to capture on start and restore on exit window data when running an application | |
setw -g alternate-screen on | |
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Mandelbrot</title> | |
<style> | |
html, | |
body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ls="ls -G" | |
alias l="ls -1" | |
PATH=$PATH:~/bin | |
export PS1='[ \[$(tput setaf 5)\]\u\[$(tput setaf 7)\]@\[$(tput setaf 2)\]\h\[$(tput setaf 7)\]: \[$(tput setaf 1)\]\W\[$(tput setaf 7)\] ] \[$(tput sgr0)\]' | |
export PAGER='most' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>test</title> | |
</head> | |
<body> | |
<input type="file" capture="camera" accept="image/*" id="cameraInput" name="cameraInput"> | |
<script type="text/javascript"> | |
var i = document.getElementById('cameraInput'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"auto complete using ALE, must be set before loading the plugin | |
let g:ale_completion_enabled=1 | |
"load any plugins here | |
call plug#begin() | |
"linting with ALE | |
Plug 'dense-analysis/ale' | |
call plug#end() | |
"ALE config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>Super Simple Responsive</title> | |
<style type="text/css"> | |
/* | |
Make sure that when we set width, it includes the border and padding. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tmpFile=`mktemp .csgitmv.XXXX` | |
git mv -f $1 $tmpFile | |
git mv $tmpFile $2 |
NewerOlder