Skip to content

Instantly share code, notes, and snippets.

🍊

cosven cosven

🍊
View GitHub Profile
@PhotonQuantum
PhotonQuantum / fuo-helper.py
Last active Feb 16, 2020
A simple feeluown tui. [WIP]
View fuo-helper.py
#!/bin/python
from blessed import Terminal
from concurrent.futures import ThreadPoolExecutor
from queue import SimpleQueue
from threading import Lock
import re
import socket
import subprocess
import time
@BruceZhang1993
BruceZhang1993 / __init__.py
Last active Jan 2, 2019
FeelUOwn collection sync -- demo version
View __init__.py
# *-- coding: utf-8 --*
import logging
from .backup import Backup
__alias__ = 'FeelUOwn Collection Backup'
__version__ = '0.0.1'
__feeluown_version__ = '2.3.0'
__desc__ = 'Backup FeelUOwn collections with GitHub gist.'
@pokev25
pokev25 / install-tmux.sh
Last active Jul 8, 2020 — forked from rothgar/install-tmux
Install tmux 2.8 on centos 7
View install-tmux.sh
# Install tmux 2.8 on Centos
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -LOk https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
tar -xf libevent-2.1.8-stable.tar.gz
cd libevent-2.1.8-stable
./configure --prefix=/usr/local
@ohsqueezy
ohsqueezy / pygame-display-input.py
Created Jan 1, 2013
display keyboard input using pygame
View pygame-display-input.py
# Display keyboard input using pygame. Only prints letters (no numbers
# or special chars). Backspace deletes one character. Return clears
# the entire input.
#
# Run with the following command:
# python pygame-display-input.py
import pygame
from pygame.locals import *
You can’t perform that action at this time.