Skip to content

Instantly share code, notes, and snippets.

View wimglenn's full-sized avatar
💭
🦡🦡🦡🦡🍄🍄🦡🦡🦡🦡🦡🦡🐍

Wim Jeantine-Glenn wimglenn

💭
🦡🦡🦡🦡🍄🍄🦡🦡🦡🦡🦡🦡🐍
View GitHub Profile
@Myndex
Myndex / GitHubFlavoredMarkdown.md
Last active November 15, 2024 20:59 — forked from joshuapekera/markdown
GitHub Flavored Markdown Cheat Sheet
@tiran
tiran / python-on-debian.md
Last active May 21, 2024 08:46
Negative Python user experience on Debian/Ubuntu

Negative Python user experience on Debian/Ubuntu

The user experience of Python on a minimal Debian or Ubuntu installation is bad. Core features like virtual environments, pip bootstrapping, and the ssl module are either missing or do not work like designed and documented. Some Python core developers including me are worried and consider Debian/Ubuntu's packaging harmful for Python's reputation and branding. Users don't get what they expect.

Reproducer

The problems can be easily reproduced with official Debian and Ubuntu containers in Docker or Podman. Debian Stable (Debian 10 Buster) comes with Python 3.7.3. Ubuntu Focal (20.04 LTS) has Python 3.8.5.

Run Debian container

@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active November 12, 2024 22:09
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@Aran-Fey
Aran-Fey / python_glossary_permalinks.user.js
Last active October 17, 2019 15:06
Adds clickable link anchors to the python glossary
@Aran-Fey
Aran-Fey / SO_documentation_links.user.js
Last active October 16, 2019 15:04
A userscript that automatically turns text surrounded by quotation marks like ?foo? or ?foo.bar? into links to the documentation for "foo" or "foo.bar". A short user manual can be found in the code.
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active November 13, 2024 14:50
Hyperlinks in Terminal Emulators
@joyrexus
joyrexus / README.md
Last active August 6, 2024 16:07
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@CricketofLocusts
CricketofLocusts / RemoveFBSponsoredPosts.user.js
Last active July 19, 2022 03:20
A Tampermonkey script to remove Sponsored posts from your newsfeed on Facebook.
// ==UserScript==
// @name Remove FB Sponsored Posts
// @namespace https://gist.github.com/CricketofLocusts/6109689af6c78b5e2ee23258970eaffa.js
// @description A Tampermonkey script to remove Sponsored posts from your newsfeed on Facebook.
// @version 1.21
// @author Cricket
// @include https://www.facebook.com/?ref=tn_tnmn
// @include https://www.facebook.com
// @require http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==
@bittner
bittner / 60-jetbrains.conf
Created September 25, 2015 07:57
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use
#! /usr/bin/env python3
'''pyCookieCheat.py
2015022 Now its own GitHub repo, and in PyPi.
- For most recent version: https://github.com/n8henrie/pycookiecheat
- This gist unlikely to be maintained further for that reason.
20150221 v2.0.1: Now should find cookies for base domain and all subs.
20140518 v2.0: Now works with Chrome's new encrypted cookies.
See relevant post at http://n8h.me/HufI1w