Skip to content

Instantly share code, notes, and snippets.

@robert
robert / policy.md
Created February 5, 2020 08:15
Wacom Experience Program Privacy Policy

Tablet Driver – Privacy Notice

This Privacy Notice is for the Tablet Driver Software ("Tablet Driver") provided by Wacom Co., Ltd. and its subsidiaries (collectively "Wacom Group"). This Privacy Notice applies to Your use of Tablet Driver. Please review this Privacy Notice before using Tablet Driver.

  1. Definitions 1.1. "Personal Data" means any information which – either alone or in combination with other information we can access – relates to You as an identified or identifiable individual. 1.2. “User” means an individual who uses the Tablet Driver. 1.3 "Wacom", "we", “our” or “us” means the relevant company in the Wacom Group responsible for processing your Personal Data. The list of Wacom Group companies can be found at https://www.wacom.com/about-wacom/our-passion/our-company
@robert
robert / game_of_life.py
Last active December 22, 2023 10:40
Programming projects for Advanced Beginners #2: Game of Life
import random
import time
DEAD = 0
LIVE = 1
def dead_state(width, height):
"""Constuct an empty state with all cells set to DEAD.
Parameters
import numpy as np
import random
import plotly
import plotly.graph_objs as go
N_QUINTILES = 5
def gini(array):
# Programming projects for Advanced Beginners: ASCII art
# (https://robertheaton.com/2018/06/12/programming-projects-for-advanced-beginners-ascii-art/)
from PIL import Image
import subprocess
from colorama import Fore, Style
ASCII_CHARS = "`^\",:;Il!i~+_-?][}{1)(|\\/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$"
MAX_PIXEL_VALUE = 255
require "net/http"
require "uri"
secret_token = "stolen-from-github-or-somewhere"
# Construct your evil hash
my_evil_session_hash = {
"ive_made_a_huge_mistake" => true
}