Skip to content

Instantly share code, notes, and snippets.

Ekevoo ekevoo

Block or report user

Report or block ekevoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ekevoo /
Last active Aug 5, 2019
file deduplicator
# MIT License
# Copyright (c) 2019
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
from fractions import Fraction as F
from math import floor, pi
def to_cf(value):
head = floor(value)
value = F(value - head)
parts = [head]
while value:
value = F(1, value)
ekevoo / cfic
Created Apr 21, 2018
Console full image color
View cfic
#!/usr/bin/env python3
Console full image color
Usage: ./cfic image.png
Any image format supported by Pillow will work.
Make sure the image is small. Width of 80 pixels is ideal.
Keep in mind that console blocks aren't usually 1:2 exactly, and the
ekevoo /
Last active Jan 1, 2018
Factorio Rates
from collections import namedtuple
from fractions import Fraction
from functools import partial
from itertools import chain
from math import log, floor
class FractionDict(dict):
zero = Fraction()
ekevoo / paperclipsHelper.js
Last active Oct 15, 2017
Paperclips Helper
View paperclipsHelper.js
Copyright 2017 Ekevoo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software

Keybase proof

I hereby claim:

  • I am ekevoo on github.
  • I am ekevoo ( on keybase.
  • I have a public key ASA-rgjR0pXe64n03J561V7xw8Ev1RLltPti2cBuGqAB8wo

To claim this, I am signing this object:

View putonglasses.txt
( •_•)
( •_•)>⌐■-■
ekevoo / Internal References Test.rst
Last active Aug 6, 2016
Internal References Test
View Internal References Test.rst

Let's make references to a Title, a normal target, and an inline target.


This paragraph is the normal target.

This paragraph contains an inline target.

ekevoo / create new file
Created Jul 24, 2016 — forked from johnpapa/create new file
Getting Started Super Fast - Angular 2 CDN'd
View create new file
npm init –y
npm i angular2 systemjs --save --save-exact
npm i typescript tsd live-server --save-dev
ekevoo /
Last active Mar 2, 2016
Guid/UUID on 22 characters using base57
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This is free and unencumbered software released into the public domain.
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
You can’t perform that action at this time.