Skip to content

Instantly share code, notes, and snippets.

View Magoninho's full-sized avatar
:octocat:
studying

João Felipe Ribeiro Magoninho

:octocat:
studying
View GitHub Profile
@Magoninho
Magoninho / Crack Sublime Text Windows and Linux.md
Created March 25, 2021 20:26 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

YouTube Channel https://www.youtube.com/c/jerrylokjianming


How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
@Magoninho
Magoninho / vector.py
Created February 23, 2021 10:43 — forked from mcleonard/vector.py
A vector class in pure python.
import math
class Vector(object):
def __init__(self, *args):
""" Create a vector, example: v = Vector(1,2) """
if len(args)==0: self.values = (0,0)
else: self.values = args
def norm(self):
""" Returns the norm (length, magnitude) of the vector """
@Magoninho
Magoninho / PerlinNoise.py
Created November 29, 2020 12:47 — forked from veb/PerlinNoise.py
Perlin like noise with Python and pygame
import pygame
import math
def findnoise2(x,y):
n = int(x) + int(y) * 57
allf = 0xFFFFFFFF
an = (n << 13) & allf
n = (an ^ n) & allf
nn = (n*(n*n*60493+19990303)+1376312589)&0x7fffffff
return 1.0-(float(nn)/1073741824.0);