Skip to content

Instantly share code, notes, and snippets.

@BigOokie
BigOokie / MacOS-Multi-Version-Go-With-Homebrew.md
Last active May 3, 2024 22:13
Manage multiple versins of Go on MacOS with Homebrew

This process would likely apply to other Homebrew formula also.

First search for your desired package:

brew search go

You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:

@asukakenji
asukakenji / go-stdlib-interface-selected.md
Last active May 3, 2024 22:12
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@TRB-Exe
TRB-Exe / windowsfastactivation.md
Last active May 3, 2024 22:11
Windows 10 fast activation from cmd

Super easy and fast activation from command prompt

Run cmd.exe with Admin permissions and enter commands for your system

windows 10/11

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms.digiboy.ir
slmgr /ato
@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active May 3, 2024 22:11
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@straker
straker / README.md
Last active May 3, 2024 22:08
Basic Doodle Jump HTML and JavaScript Game

Basic Doodle Jump HTML and JavaScript Game

This is a basic implementation of the game Doodle Jump, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

  • Platforms Types
  • There are 4 different types of platforms: Normal, Broken, Moving, and Disappearing
@acdha
acdha / simple_cors_server.py
Last active May 3, 2024 22:08
Python 3: serve the current directory as HTTP while setting CORS headers for XHR debugging
#!/usr/bin/env python3
# encoding: utf-8
"""Use instead of `python3 -m http.server` when you need CORS"""
from http.server import HTTPServer, SimpleHTTPRequestHandler
class CORSRequestHandler(SimpleHTTPRequestHandler):
def end_headers(self):
self.send_header('Access-Control-Allow-Origin', '*')
@Log1x
Log1x / debloatNox.md
Last active May 3, 2024 22:03
Debloating & Optimizing Nox

Debloating Nox

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

  1. Download and Install a fresh copy of Nox. The latest version is fine (for now). If you already have it installed, that is fine too. No need to reinstall.

  2. Enable Root Mode on Nox by clicking the gear icon and then checking the Root Startup box.

  3. Install a new Launcher from the Play Store. ANYTHING but Nox's default. I suggest [Nova Launcher](https://play.google.com/s

@TameemS
TameemS / debloatNox.md
Last active May 3, 2024 22:03 — forked from Log1x/debloatNox.md
Debloating & Optimizing Nox (Updated)

More of my guides: Debloating MEMu - Debloating LDPlayer

Log1x's guide is pretty outdated, so I have made an updated version

Debloating Nox (Updated)

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

This guide is mainly targeted at Android 12. It may work on Android 5, 7 and 9 inst

-- Time-stamp: <2024-04-20T21:07:41+0200 mpiotrow>
--[[ When converting from biblatex to bibtex, Pandoc only considers
URL fields: DOIs get lost in the conversion (see
<https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/Citeproc/BibTeX.hs>).
This filter copies the values of DOI fields to URL fields, so that
they are output to bibtex. ]]
function Pandoc(d)
@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active May 3, 2024 22:01 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"