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
f(x): x^n | |
f'(x): xn^(n-1) | |
f(x): 1/x | |
f'(x): -1/x^2 | |
f(x): sqrt(x) | |
definition: | |
x \in [0; \infty[ | |
derivation: |
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
from math import * |
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
from math import * | |
import kandinsky | |
import ion | |
from ion import * | |
LCD_HEIGHT = 320 | |
LCD_WIDTH = 222 | |
def convert(i, modifier, exponent): | |
return i * (modifier**exponent) |
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
from math import * | |
from kadinsky import set_pixel, color | |
def mandelbrot(N_iteration): | |
for x in range(320): | |
framebuffer = [] | |
for y in range(222): | |
# Compute the mandelbrot sequence for the point c = (c_r, c_i) with start value z = (z_r, z_i) | |
z = complex(0,0) | |
# Rescale to fit the drawing screen 320x222 |
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
from math import * |
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/sh | |
set -e | |
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi | |
echo "Setting up Noto Emoji font..." | |
# 1 - install noto-fonts-emoji package | |
pacman -S noto-fonts-emoji --needed | |
# pacman -S powerline-fonts --needed | |
echo "Recommended system font: inconsolata regular (ttf-inconsolata or powerline-fonts)" | |
# 2 - add font config to /etc/fonts/conf.d/01-notosans.conf | |
echo "<?xml version="1.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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Manifest", | |
"description": "A Google Chrome extension manifest", | |
"type": "object", | |
"required": [ | |
"manifest_version", | |
"name", | |
"version" | |
], |