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
module Polysemy.Several where | |
import Data.Kind | |
import Polysemy | |
import Polysemy.Reader | |
import Prelude | |
infixr 5 ::: | |
data HList a where |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>GLSL demo</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
font-size: 0; |
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
import giphypop | |
import requests | |
import requests.exceptions as exceptions | |
OLD_MARUS = [ | |
"http://25.media.tumblr.com/00b01d310a564e619db5c62aa470d351/tumblr_mnks1dqE8X1qibxp4o4_500.jpg", | |
"http://24.media.tumblr.com/df63d7e6c2197d1c6abdfc1826808816/tumblr_mnkrz26btY1qibxp4o1_500.gif", | |
"http://25.media.tumblr.com/3502eb7665c844fd7c52bb1a387ed0c4/tumblr_mnj85ldSmp1qibxp4o6_500.jpg", | |
"http://31.media.tumblr.com/a7d2ae45e153905d30d5f1261d9993de/tumblr_mnj7pf02Dh1qibxp4o4_500.jpg", | |
"http://25.media.tumblr.com/f653df15f4c0b3bd1418324fe8be9ad5/tumblr_mnh5s7Qmi41qibxp4o2_500.jpg", |
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
my_sim = Simulation(simulation_args) | |
@my_sim.register_measurement(measurement_args) | |
def my_measurement(args): | |
do_stuff(args) | |
if __name__ == '__main__': | |
my_sim.run() |