Skip to content

Instantly share code, notes, and snippets.

View AlexDev404's full-sized avatar
👾
Ruby2D!

Immanuel Daviel A. Garcia AlexDev404

👾
Ruby2D!
View GitHub Profile
@Hardikanand1st
Hardikanand1st / Power iso Serial keys.txt
Last active April 29, 2024 19:51
power iso Serial Keys
===============================================================================
User Name-: Hardik
Registration code :- TZXZT-USMCB-ZRKYP-MTVG3-JM8UL
===============================================================================
@Hardikanand1st
Hardikanand1st / rarreg.key
Last active April 20, 2024 15:51
WinRar free key rarreg.key
RAR registration data
Hardik
www.Hardik.live
UID=448c4a899c6cdc1039c5
641221225039c585fc5ef8da12ccf689780883109587752a828ff0
59ae0579fe68942c97d160f361d16f96c8fe03f1f89c66abc25a37
7777a27ec82f103b3d8e05dcefeaa45c71675ca822242858a1c897
c57d0b0a3fe7ac36c517b1d2be385dcc726039e5f536439a806c35
1e180e47e6bf51febac6eaae111343d85015dbd59ba45c71675ca8
2224285927550547c74c826eade52bbdb578741acc1565af60e326
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
var maxBackoff = 5000;
var expBackoffLogs = [];
function tryWithTimeout(testFunction, argument, timeout) {
return new Promise((resolve) => {
setTimeout(() => {
resolve();
}, timeout);
}).then(() => {
expBackoffLogs.push(
@derekmc
derekmc / softlock.js
Last active September 4, 2023 16:19
Simple example of a "softlock" concurrent database
let softlock = require('softlock');
softlock.backoffAlgorithm('linear');
softlock.maxResets(4);
let query = softlock.query();
// Softlock is a concurrent database that emulates a locking mechanism using versioned keys.
// If a 'locked' key has been changed since the transaction started, then the transaction
// is rejected and the logic retried
query.lock(['a','b','c']); // these keys are locked, but their values are not retrieved.

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@agichim
agichim / flash-custom-rom-motog8power.md
Last active April 4, 2024 10:41
Full guide to flash Moto G8 Power (sofiar)

Moto G8 Power Guide to Flash and Install a custom ROM

BEWARE:
I am not a developer. I put together this guide for my future self and for others. I had help from the Moto G8 Official Telegram channel community. I followed these steps to flash my own Moto G8 Power, except for the steps where I explicityl state I didn't follow myself. Software and tools also get updated over time so stuff here may get old.

For devs: if you think some stuff needs changing or updating or better written, let me know.

Contents:

@datio
datio / enable-wifi.ps1
Last active March 23, 2024 07:13
Enable Windows 10 & 11 WiFi Hotspot - Powershell Script
# https://stackoverflow.com/questions/45833873/enable-win10-inbuild-hotspot-by-cmd-batch-powershell/60444585#answer-60444585
[Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result
@m-Phoenix852
m-Phoenix852 / index.user.js
Last active May 3, 2024 05:09
Userscript to login to discord accounts with ease, just do SHIFT + T at the login page and enter the token!
// ==UserScript==
// @name Discord Token Login
// @namespace https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/
// @version 1.1
// @description Taking over discord's tokens!
// @author Phoenix852
// @match *://discord.com/login
// @updateURL https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/raw/6d1ee63df17685e4ea06018bd8b47541d4261b82/index.user.js
// @grant none
// @iconURL https://i.imgur.com/rI8GsTz.png