Skip to content

Instantly share code, notes, and snippets.

View CraftingGamerTom's full-sized avatar
👷‍♂️
Let's Build Something!

Thomas Rokicki CraftingGamerTom

👷‍♂️
Let's Build Something!
View GitHub Profile
@CraftingGamerTom
CraftingGamerTom / HEX Color Codes Alpha Values.md
Last active September 30, 2024 14:59 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

=================

Twitter

How to set transparency with hex value ?

Android

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

@CraftingGamerTom
CraftingGamerTom / daemon.md
Created December 23, 2018 08:47 — forked from andreif/daemon.md
A simple unix/linux daemon in Python

A simple unix/linux daemon in Python

Source: http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/

Access: http://web.archive.org/web/20131025230048/http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/

by Sander Marechal

I've written a simple Python class for creating daemons on unix/linux systems. It was pieced together for various other examples, mostly corrections to various Python Cookbook articles and a couple of examples posted to the Python mailing lists. It has support for a pidfile to keep track of the process. I hope it's useful to someone.