Skip to content

Instantly share code, notes, and snippets.


Amirhossein Aleyasen Aleyasen

View GitHub Profile
anttilipp /
Created Aug 2, 2017
Code to reproduce the "Temperature Circle" visualization.
# Hi all,
# this is the Python code I used to make the visualization "Temperature circle"
# (
# 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)
andyrbell /
Last active Sep 11, 2022
Sort docker images by size desc
docker images --format '{{.Size}}\t{{.Repository}}\t{{.Tag}}\t{{.ID}}' | sed 's/ //' | sort -h -r | column -t
justjanne / Price
Last active Jan 22, 2023 — forked from kylemanna/price.txt
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/
View Price

Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/



Provider Type RAM Cores Storage Transfer Network Price
omimo / index.html
Last active Mar 2, 2020
Basic Effort Actions - Entangled
View index.html
[Visualizing Movement Data with D3.js]
<script src=""></script>
<script src="mviz.js"></script>
* {
box-sizing: border-box
pavelbinar /
Last active Jan 18, 2023 — forked from bmaeser/subtitle-extract.txt
Extract subtitles from .mkv files on Mac OS X

Extract Subtitles From .mkv

These instructions shall work on Mac OS X and Linux.

Install mkvtoolnix (Mac OS X)

Installation via Homebrew:

brew install mkvtoolnix
patilarpith /
Last active Jan 21, 2023
Custom-Checker body section for list of 5 prime numbers under 100
// Start of BODY
public class CustomChecker {
static boolean is_prime_number(int n) {
for(int i=2;i<n;i++) {
return false;
return true;
ivancorrales / first-steps-with-erlang.erl
Created Jan 29, 2016
Basic example of creating a record and iterating over a list of elements.
View first-steps-with-erlang.erl
new_person(Name, Genre, Age) ->
#person{name=Name, genre=Genre, age=Age}.
mbbx6spp / ALTERNATIVES.adoc
Last active Nov 1, 2022
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
joseluisq /
Last active Jan 6, 2023
Add Git Branch Name to Terminal Prompt (Linux/Mac)

Add Git Branch Name to Terminal Prompt (Linux/Mac)


Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
jenslohmann / toString Generator
Last active Jun 20, 2022
Java toString() generator for IntelliJ IDEA that generates JSON
View toString Generator
public java.lang.String toString() {
#if ( $members.size() > 0 )
#set ( $i = 0 )
return "{\"_class\":\"$classname\", " +
#foreach( $member in $members )
#set ( $i = $i + 1 )
#if ( $i == $members.size() )
#set ( $postfix = "+" )
#set ( $postfix = "+ "", "" + " )