Skip to content

Instantly share code, notes, and snippets.

View plche's full-sized avatar
:octocat:

Percy Che plche

:octocat:
View GitHub Profile
@plche
plche / input.scss
Created July 24, 2021 09:33
Generated by SassMeister.com.
$buttoncolor: #AABBCC;
$border-radius: 20px;
$color-info: #ABABAB;
/*------------------------------------*\
$BOTONES
\*------------------------------------*/
/*
* Definimos los botones y sus variantes
*/
@plche
plche / daemon.py
Created November 24, 2020 22:59 — forked from josephernest/daemon.py
Daemon for Python
# From "A simple unix/linux daemon in Python" by Sander Marechal
# See http://stackoverflow.com/a/473702/1422096 and http://web.archive.org/web/20131017130434/http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
#
# Modified to add quit() that allows to run some code before closing the daemon
# See http://stackoverflow.com/a/40423758/1422096
#
# Modified for Python 3 (see also: http://web.archive.org/web/20131017130434/http://www.jejik.com/files/examples/daemon3x.py)
#
# Joseph Ernest, 20200507_1220