Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
SOBotics Room Owner

Philipp Filnor

:octocat:
SOBotics Room Owner
View GitHub Profile
@Filnor
Filnor / all-regexes.txt
Last active Mar 8, 2018
Regex to improve Beli's captures
View all-regexes.txt
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
View dict.py
# Too much Java and Kotlin <.<
import re
from collections import OrderedDict
def println(what):
print(what)
# Dataset prep
@Filnor
Filnor / so_auto_comments.md
Last active Jun 29, 2020
The Autocomments I use on Stack Overflow
View so_auto_comments.md

[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