Skip to content

Instantly share code, notes, and snippets.

View akmadian's full-sized avatar

Ari Madian akmadian

View GitHub Profile
@akmadian
akmadian / temperatureCircle.py
Created August 3, 2017 21:10 — forked from anttilipp/temperatureCircle.py
Code to reproduce the "Temperature Circle" visualization.
#
# Hi all,
# this is the Python code I used to make the visualization "Temperature circle"
# (https://twitter.com/anttilip/status/892318734244884480).
# Please be aware that originally I wrote this for my tests only so the
# code was not ment to be published and is a mess and has no comments.
# Feel free to improve, modify, do whatever you want with it. If you decide
# to use the code, make an improved version of it, or it is useful for you
# in some another way I would be happy to know about it. You can contact me
# for example in Twitter (@anttilip). Unchecked demo data (no quarantees)
@akmadian
akmadian / inputbox.py
Created October 3, 2017 01:58
Pygame basic input box
# by Timothy Downs, inputbox written for my map editor
# Modified by Ari Madian for python 3.x and bad word filtering
# This program needs a little cleaning up
# It ignores the shift key
# And, for reasons of my own, this program converts "-" to "_"
# A program to get user input, allowing backspace etc
# shown in a box in the middle of the screen
# Called by:
@akmadian
akmadian / itunes_lib_export.py
Last active October 29, 2017 23:40
Makes a list of the music in your iTunes library and exports it to a file in xml or json format.
# -*- coding: utf-8 -*-
"""
File Name: library_export.py
Author: Ari Madian
Created: October 15, 2017 1:00 PM
Python Version: 3.6
Makes a list of the music in your iTunes library
and exports it in either xml or JSON
@akmadian
akmadian / jshell.ps1
Created February 9, 2019 22:15
Runs jshell without having to set environment vars.
start "C:\Program Files\Java\jdk-{VERSION}\bin\jshell.exe"
@akmadian
akmadian / cloudSettings
Last active September 10, 2019 13:09
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-09-10T13:09:47.646Z","extensionVersion":"v3.4.2"}
@akmadian
akmadian / tea-timer.py
Created December 8, 2019 22:28
A Gong Fu tea timer in the form of a Python script.
"""
tea-timer.py is meant for timing tea steepings,
and is made specifically for gong fu style brewing.
It also includes a delay timer before starting the
steeping timer to allow time for picking up the kettle
or other things like that.
"""
import time
@akmadian
akmadian / test.txt
Created December 30, 2021 04:53
Test Description
Hello, World!