Skip to content

Instantly share code, notes, and snippets.

View NullCode1337's full-sized avatar
🖊️
Studying

NullCode NullCode1337

🖊️
Studying
  • I wonder where...
View GitHub Profile
@NullCode1337
NullCode1337 / hosts
Last active July 22, 2023 15:13
EasyList hosts (22-07-23)
0.0.0.0 0-000.store
0.0.0.0 0008d6ba2e.com
0.0.0.0 004809f9da.com
0.0.0.0 0083334e84.com
0.0.0.0 00aaa2d81c1d174.com
0.0.0.0 0111d594c7.com
0.0.0.0 01counter.com
0.0.0.0 01d0c91c0d.com
0.0.0.0 01fd230c00.com
0.0.0.0 01jud3v55z.com
@NullCode1337
NullCode1337 / nim_install.md
Last active April 3, 2024 04:27
How to install the Nim Compiler on your Windows PC

Installing Nim on Windows

What is Nim?

Nim is a (pretty obscure) "statically typed compiled systems programming language". It's unique because the syntax is very reminiscent of Python, while being a compiled language (; anyone?), hence making it accessible to Python devs. Now let's cut to the chase - how to install this:

Installing Nim

Method 1: The boring:tm:

(Powershell only)

  1. Install chocolatey
  2. choco install nim
@NullCode1337
NullCode1337 / bot.py
Created June 21, 2021 07:33
Make discord.py bot run ONLY after internet connection is validated
# Only tested on Windows 10
# -------------------------
# Here is a basic discord.py bot
import discord
from discord.ext import commands
from socket import create_connection
client = commands.Bot(command_prefix = "your prefix")
token = "bot token"