This file contains 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 | |
# Creates a ramdisk and start Xcode with the DerivedData stored in ramdisk. Also deletes the ramdisk and reset Xcode prefs. | |
# xc_ramdisk.sh | |
# - creates a ramdisk, set Xcode DerivedData to this disk and start Xcode. | |
# - umount a ramdisk, set Xcode DerivedData to default | |
# Stephan Burlot, Coriolis Technologies, http://www.coriolis.ch | |
# | |
# based on Alex Shevchenko xcode_ramdisk.sh script (https://gist.github.com/skeeet/2367298) | |
# based on Diego Freniche xc-launch.sh script (https://github.com/dfreniche/xc-launch) |
This file contains 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
@size = (1920, 1080); | |
@center = (-.743653135, .131826563); | |
$zoom = .000014628; | |
$max_it = 700; | |
$oversample = 2; | |
$_ *= $oversample for (@size); | |
open $fh, "|-", "convert -size ".join("x",@size)." -depth 8 gray:- ". | |
"-resize ".(100/$oversample)."% mandel.png"; | |
for $py (1 .. $size[1]) { |
This file contains 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
<?php | |
// https://en.wikipedia.org/wiki/Category:Coffee_brands | |
$covfefes = [ | |
'alterracoffeeroasters', | |
'angiangcoffee', | |
'angelinus', | |
'autocrat', | |
'barcaffe', | |
'batdorfbronson', | |
'bewleys', |
This file contains 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
# !/usr/bin/env python3 | |
# Nicolas Seriot | |
# 2022-06-10 | |
# https://seriot.ch/visualization/truchet_simple.png | |
import cairo | |
import math | |
import random | |
NB_COLS = 8 |
This file contains 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
# !/usr/bin/env python3 | |
# Nicolas Seriot | |
# 2022-06-14 | |
# https://seriot.ch/visualization/truchet_2.png | |
# loosely inspired by https://www.fxhash.xyz/gentk/slug/dirty-interlaced-truchet-tiles-18 | |
import cairo | |
import math | |
import random |
OlderNewer