Skip to content

Instantly share code, notes, and snippets.

View antoineMoPa's full-sized avatar

Antoine M-P antoineMoPa

  • Sherbrooke, Québec, Canada
View GitHub Profile
@antoineMoPa
antoineMoPa / stardelbrot.glsl
Created December 7, 2020 00:24
texture based on Mandelbrot (Procedural starry sky?)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
document, body, html{
font-family: sans-serif;
padding:0;
margin:0;
max-height:100%;

Emacs-E - the idea :

Quickly open any file in my already opened emacs

Emacs config

Tell emacs to be a server in your .emacs:

(server-mode)
vec2(z.x * z.x - z.y * z.y, 2.0 * z.x * z.y) + vec2(-0.2, -0.7* z.y) // Mandeltree?
version: "0.1"
services:
mydb:
image: mariadb:10.5.8
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: 'mydb-password'
phpmyadmin:
image: phpmyadmin/phpmyadmin
(defun newentry ()
"New log entry"
(interactive)
(search-forward "#now#")
(beginning-of-line)
(insert "\n\n")
(insert (shell-command-to-string "date"))
(dotimes (i 50) (insert "="))
(insert "\n")
)
git statustf status
git difftf diff /format:Unified
(i ^ j) % (i/j * t/10000 % 1000) > 1
((i ^ j) % (j / i / 10) > 1) ^^ ((i ^ j) % (j/i/4) > 1)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
document, body, html{
font-family: sans-serif;
padding:0;
margin:0;
max-height:100%;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
document, body, html{
font-family: sans-serif;
padding:0;
margin:0;
max-height:100%;
benchmark
this
https://github.com/Kagami/ffmpeg.js/
vs
this
https://github.com/ffmpegwasm/ffmpeg.wasm