Skip to content

Instantly share code, notes, and snippets.

View cosven's full-sized avatar
🍊

Shaowen Yin cosven

🍊
View GitHub Profile
@pokev25
pokev25 / install-tmux.sh
Last active February 8, 2024 07:22 — forked from rothgar/install-tmux
Install tmux 2.8 on centos 7
# Install tmux 2.8 on Centos
# install deps
yum install gcc kernel-devel make ncurses-devel
# cd src
cd /usr/local/src
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
@591342534
591342534 / SimpleHTTPServerWithUpload.py
Created May 27, 2019 08:13 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@cosven
cosven / switch-omega
Last active September 18, 2023 02:20
switch omega bypass list
127.0.0.1
172.*.*.*
192.*.*.*
10.*.*.*
82.157.25.86
39.106.86.136
152.136.199.195
::1
localhost
arch
@ohsqueezy
ohsqueezy / pygame-display-input.py
Created January 1, 2013 16:46
display keyboard input using pygame
# 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 *
@PhotonQuantum
PhotonQuantum / fuo-helper.py
Last active January 11, 2022 16:32
A simple feeluown tui. [WIP]
#!/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 January 2, 2019 07:06
FeelUOwn collection sync -- demo version
# *-- 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.'