Skip to content

Instantly share code, notes, and snippets.

Lucas Almeida Aguiar lucastamoios

Block or report user

Report or block lucastamoios

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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:
View chat.go
package main
import (
"bufio"
"fmt"
"log"
"net/url"
"os"
"strings"
"time"
You can’t perform that action at this time.