Skip to content

Instantly share code, notes, and snippets.


Amirhossein Aleyasen Aleyasen

View GitHub Profile
anttilipp /
Created August 2, 2017 21:50
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 September 11, 2022 22:36
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 May 25, 2023 08:36 — 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 March 2, 2020 05:35
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 April 8, 2023 14:04 — forked from bmaeser/subtitle-extract.txt
Extract subtitles from .mkv files on Mac OS X
patilarpith /
Last active January 21, 2023 09:04
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 January 29, 2016 06:29
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 April 26, 2023 06:41
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
joseluisq /
Last active May 16, 2023 17:10
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 June 20, 2022 08:53
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 = "+ "", "" + " )