Skip to content

Instantly share code, notes, and snippets.

Barry Martin's Hopalong Orbits Visualizer
These orbits are generated iterating this simple algorithm:
(x, y) -> (y - sign(x)*sqrt(abs(b*x - c)), a -x )
where a, b, c are random parameters. This is known as the 'Hopalong Attractor'.
3D rendering is done using WebGL and three.js
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶

Botinder

Botinder is a Tinder client for Google Chrome. Tinder is mobile-only but it's way more convenient to write and browse profiles (with big photos) on your computer, so I made this Chrome extension.

Botinder

Botinder imitates the official Tinder application

  • Like / Dislike results
@AMSTKO
AMSTKO / gist:c269253dfe8bed4ccdb2
Created September 17, 2014 20:56
get cursor x y position linux
xdotool getmouselocation
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Render Multiple Outlets</title>
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/handlebars.js"></script>
<script src="js/vendor/ember.js"></script>
<script src="js/vendor/ember-data.js"></script>
</head>
@AMSTKO
AMSTKO / gist:44027f5950f658720833
Created July 5, 2014 14:55
Keyboard shortcuts to control volume in Xubuntu/XFCE
amixer set Master 5%-
amixer set Master 5%+
amixer -D pulse set Master 1+ toggle
@AMSTKO
AMSTKO / aum.php
Last active April 27, 2018 13:43
booster et aspirateur de profils pour adopte un mec
<?php
set_time_limit(0);
class Adopteunmec {
public $sql,
$mail,
$passwd,
$proxy = false,
@AMSTKO
AMSTKO / toyjs.js
Created June 22, 2012 12:11
toyjs.js
/*
* ToyFW
* 1.11217.003
*/
module.exports = (function() {
var fs = require('fs'),
path = require('path'),
@AMSTKO
AMSTKO / cedit.js
Created September 19, 2011 13:40
cedit.js
/**
* cedit - mr.ping
*
* cedit(e,'opacity',2000,0.1,'$');
* cedit(e,'width',100,10);
* cedit(e,'height',200,20,'$%');
* cedit(e,'top',300,30);
* cedit(e,'right',400,70,'$%');
*
* cedit(e,'height',600,600,null,function() {
@AMSTKO
AMSTKO / resize.js
Created September 15, 2011 12:50
resize.js
var resize = {
anim: function (e,a,d,p,k){
var s=e.style,c=parseInt(s[a]),f=p+c;
e.resize={s:0};
(function u(){
c=(c+p/d*10);
s[a]=c+'px';
f!=~~c && e.resize.s==0 ?setTimeout(u,10): k?k.call(e):0;
})();
},