Skip to content

Instantly share code, notes, and snippets.

View Filnor's full-sized avatar

Philipp Filnor

View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/filnor/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@Filnor
Filnor / so_auto_comments.md
Last active June 29, 2020 06:33
The Autocomments I use on Stack Overflow

[Q] Images of code/error message

Images and screenshots can be a nice addition to a post, but please make sure the post is still clear and useful without them. Don't post images of code or error messages. Read why. Instead copy and paste or type the actual code/message into the post directly.

[Q] Code writing request

$SITENAME$ is NOT a code writing service. We are always glad to help and support new coders but you need to help yourself first. :-) You are expected to try to write the code yourself. Please read how to create a [mcve].

[Q] Book, tool, library, tutorial requests

Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for $SITENAME$ as they tend to attract opinionated answers and spam. Thus I flagged this question accordingly.

[Q] No attempt

@Filnor
Filnor / all-regexes.txt
Last active March 8, 2018 15:06
Regex to improve Beli's captures
From https://github.com/SOBotics/Belisarius/blob/433477414b13d516ed6de369d1ef1880be404f81/ini/BlackListedAnswerWords.txt converted to txt
'help me':
(?i)help\W?me[^\w]
'posted (working) solution', enhanced to also catch 'ed' -> 'posted'
(?i)(post|posted)\W?(a|)\W?(working|)\W?solution
'solution':
(?i)solution