Skip to content

Instantly share code, notes, and snippets.

View mklengel's full-sized avatar
🏠
Working from home

Michael Klengel mklengel

🏠
Working from home
View GitHub Profile
@vimtaai
vimtaai / markdown-flavors.md
Last active April 19, 2024 23:08
Comparison of features in various Markdown flavors

Comparison of syntax extensions in Markdown flavors

I created a crude comparison of the syntax of the various common Markdown extensions to have a better view on what are the most common extensions and what is the most widely accepted syntax for them. The list of Markdown flavors that I looked at was based on the list found on CommonMark's GitHub Wiki.

Flavor Superscript Subscript Deletion*
Strikethrough
Insertion* Highlight* Footnote Task list Table Abbr Deflist Smart typo TOC Math Math Block Mermaid
GFM
@pklaus
pklaus / scpi-server.py
Last active February 21, 2023 06:03
Run an SCPI Server implemented in Python
#!/usr/bin/env python
"""
Run a multi-threaded single-client SCPI Server implemented in Python.
Using a single-client server is sensible for many SCPI servers
where state would need to be shared between the multiple clients
and thus access to it would need to be made thread-safe.
In most cases, this doesn't make sense. Everything is
simply much easier when allowing only one client at a time.
@roalercon
roalercon / Graphics Card Device IDs
Created January 23, 2015 15:42
CSV Database of Graphics Card Name, Vendor ID, Device ID, Integrated/APU flag, Discrete Mobile Part flag.
Device ID list from: http://developer.amd.com/resources/documentation-articles/articles-whitepapers/introduction-apuid/,,,,,
Aditional ID's from http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/ATI_Device_ID_List_Oct_20121.txt,,,,,
https://developer.nvidia.com/sites/default/files/akamai/device_ids_jan13.txt,,,,,
Aditional modern device ID's from: http://www.techpowerup.com/vgabios/,,,,,
Aditional Information from http://www.notebookcheck.net/,,,,,
Aditional information from http://wikipedia.org/,,,,,
Aditional information from http://www.anandtech.com/,,,,,
,,,,,
Name,ASIC/Codename,Vendor ID,Device ID,Integrated/APU,Discrete Mobile Part
AMD FirePro 2270 (ATI FireGL),,0x1002,0x68F2,0,0
@miki725
miki725 / .bash_prompt.sh
Last active April 5, 2024 00:04
Custom bash prompt which displays: (virtualenv) user:/path (git-branch)
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch of the current git/mercurial repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.