Skip to content

Instantly share code, notes, and snippets.

Avatar

Lucas Almeida Aguiar lucastamoios

View GitHub Profile
View chat.go
package main
import (
"bufio"
"fmt"
"log"
"net/url"
"os"
"strings"
"time"
View is_garbage_collected.py
import ctypes
import gc
# Ctypes helps us to access unreachable objects by "memory address"
class PyObject(ctypes.Structure):
_fields_ = [("refcnt", ctypes.c_long)]
class SomeWeirdClass:
You can’t perform that action at this time.