Skip to content

Instantly share code, notes, and snippets.

@gurland
gurland / main.py
Last active February 5, 2022 02:25
WORDLE solver
import re
from collections import Counter
with open("words.txt", "r") as words_file:
english_words = [word_line.strip().lower() for word_line in words_file.readlines()]
def filter_words(words, f):
return list(filter(f, words))
@gurland
gurland / Form1.cs
Created December 16, 2019 07:16
3FacePyramid Sizes
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace _3FacePyramid
@gurland
gurland / build.bat
Created December 16, 2019 07:14
3 Face Hologram video generator
python -m venv venv
call venv/Scripts/activate.bat
pip install -r requirements.txt
pip install pyinstaller
pyinstaller --workpath temp --onefile main.py
@gurland
gurland / LICENSE.md
Last active September 5, 2017 19:52
How to easy deploy multiple bots on free pythonanywhere.com?

Copyright (c) 2017 Stanislav Bobokalo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all

@gurland
gurland / main.py
Last active December 7, 2023 11:08
How to delete all your messages from chat in telegram? Easy, just use this program
# Copyright (c) 2017 Stanislav Bobokalo & Alexey Borontov
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all