Skip to content

Instantly share code, notes, and snippets.

@bmaupin
bmaupin / free-backend-hosting.md
Last active March 29, 2024 15:30
Free backend hosting
@LeZuse
LeZuse / 00_README.md
Last active March 29, 2024 15:30
Install node on Apple Silicon M1 both ARM and x86 (Rosetta)

Node.js on Apple Silicon

Node Version Manager (https://github.com/nvm-sh/nvm) works perfectly across native node installations as well as emulated Rosetta installations. The trick I am using here is to install one LTS version of node under Rosetta and another stable version as native binary.

TODO

  • find a way how to run the same node version on both platforms
@adrianhall
adrianhall / .eslintrc.js
Last active March 29, 2024 15:28
A sample .eslintrc file
var OFF = 0, WARN = 1, ERROR = 2;
module.exports = exports = {
"env": {
"es6": true
},
"ecmaFeatures": {
// env=es6 doesn't include modules, which we are using
"modules": true
@olih
olih / jq-cheetsheet.md
Last active March 29, 2024 15:24
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
import os
import time
from playwright.sync_api import sync_playwright, expect
import logging
URL = "https://admin.google.com/"
URL_USERS = "https://admin.google.com/ac/users"
USERNAME = input("Enter Google Admin username: ")
PASSWORD = input("Enter the password: ")
DELETION_DATE = input("""Enter the deletion date (e.g. "Fri, Mar 22, 2024"): """)
@shinyquagsire23
shinyquagsire23 / Linux_building.txt
Last active March 29, 2024 15:21
Monado macOS and Linux Quest Link Build Guide
#
# Installing dependencies (Tested on Ubuntu 22.04 LTS)
#
# Monado
sudo apt install cmake ninja-build
sudo apt install build-essential git wget unzip cmake ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev libbsd-dev
# XRSP (Quest Link USB)
sudo apt install capnproto libcapnp-dev libx264-dev nlohmann-json3-dev
@jinjier
jinjier / 250.csv
Last active March 29, 2024 15:20
JavDB Top 250 movies code list. [Updated at 2024/02]
1 LAFBD-41
2 SSNI-497
3 ABP-984
4 IPX-580
5 IPX-811
6 IPX-177
7 STARS-804
8 SMBD-115
9 ABP-968
10 ABF-017
@en0ndev
en0ndev / visualstudio_contextmenu.md
Last active March 29, 2024 15:19
REMOVE "OPEN IN VISUAL STUDIO" IN THE CONTEXT MENU

How to Remove "Open in Visual Studio" in the Context Menu

Also you can watch the video.
https://www.youtube.com/watch?v=8S7s-p_enSY


STEP 1

  • Press Win+S keys, and search regedit then open Regedit (Registry Editor).

STEP 2

@jerkos
jerkos / channel.py
Last active March 29, 2024 15:19
Go channel in python
import asyncio
import contextvars
import typing as t
class chan_r[T]:
def __init__(self, default: T | None = None) -> None:
self.inner: T | None = default
def __lshift__(self, chan: "Channel[T]"):