Skip to content

Instantly share code, notes, and snippets.

View minlexx's full-sized avatar
🐧
Working

Alexey Min minlexx

🐧
Working
View GitHub Profile
@DBJDBJ
DBJDBJ / line_noise_convert_utf.h
Created April 9, 2020 21:19
unicode conversions
#pragma once
#ifndef LINENOISE_CONVERT_INC
#define LINENOISE_CONVERT_INC
/*
Copyright 2020 dbj@dbj.org -- turned into single header C lib
inevitably some name clashes will
start becuase of this header.
Thus renaming is very likely not finished
Licence: CC BY SA 4.0
[Rules]
org.kde.kwindowsystem.info=true
org.kde.kwindowsystem.warning=true
org.kde.kwindowsystem.critical=true
org.kde.kwindowsystem.debug=true
kwin_core.info=true
kwin_core.warning=true
kwin_core.critical=true
kwin_core.debug=true
kwineffects.info=true
@a-tal
a-tal / id_ranges.md
Last active March 9, 2024 17:34
EVE Online ID ranges
from to description
0 10,000 System items (including junkyards and other special purpose items
500,000 1,000,000 Factions
1,000,000 2,000,000 NPC corporations
3,000,000 4,000,000 NPC characters (agents and NPC corporation CEO's)
9,000,000 10,000,000 Universes
10,000,000 11,000,000 NEW-EDEN Regions
11,000,000 12,000,000 Wormhole Regions
12,000,000 13,000,000 Abyssal regions
@rxaviers
rxaviers / gist:7360908
Last active June 2, 2024 04:38
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/
# generate server.xml with the following command:
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
# run as follows:
# python simple-https-server.py
# then in your browser, visit:
# https://localhost:4443
import BaseHTTPServer, SimpleHTTPServer
import ssl
@rctay
rctay / sitecustomize.py
Created July 24, 2012 09:38
[python] start debugger on exception
#
# original: http://code.activestate.com/recipes/65287/
#
# place in lib/python2.x/sitecustomize.py
import bdb
import sys
def info(type, value, tb):
if hasattr(sys, 'ps1') \