Skip to content

Instantly share code, notes, and snippets.

View jbakalarski's full-sized avatar
🕶️

Jędrzej Bakalarski jbakalarski

🕶️
View GitHub Profile
@ryanlua
ryanlua / fritzing-download.md
Last active August 21, 2026 14:38
Free download of Fritzing using the official download links

Fritzing Free Download

Important

This guide has been patched and not longer functioning. You can no longer download Fritzing for free using this.

You can use the below link to access Fritzing downloads for free.

https://fritzing.org/download?dlid=khfI2NwLQN4FHv5jAMd-2A

Additionally, below are direct download links to Fritzing.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 24, 2026 15:21
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@jbakalarski
jbakalarski / calculate-probability-of-100%.py
Last active August 13, 2023 03:05
Calculate the probability of getting 100% in a test containg only singe choise quiestions
# this program is used to calculate the probability of getting 100% in a test containg only single choice quiestions
# x - amount of answers per question
# y - amount of questions
# formula of the function: x^0 + x^1 + x^2 + x^3 + ... + x^y
def probability(x, y):
i = 0
z = 0
while(i <= y):
z += x ** i
@jbakalarski
jbakalarski / combinations-calculator.py
Last active May 26, 2023 13:43
Combinations calculator in Python
def combinations(n,k):
def factorial(n):
fact = 1
for i in range(1, n+1):
fact = fact * i
return(fact)
result = int(factorial(n) / (factorial(k) * factorial(n-k)))
return(f"{result:,}".replace(",", " "))
@Maxopoly
Maxopoly / iptables.rule
Last active April 8, 2025 01:06
IP tables for Minecraft
#You probably want to do this in root to reduce the amount of sudos required
su -
#Install iptables if you haven't already
#Alternatively use packet manager of your choice
apt-get install iptables
#Allow all incoming traffic to begin with
iptables -P INPUT ACCEPT
#Clean out any existing input rules. You may also remove the "INPUT" argument and run only "iptables -F" to clear all chains. When doing so, make sure there are no rules in other chains that you still need (list via "iptables -L"), for example Oracle cloud servers will have preset rules, which should not be removed.