Skip to content

Instantly share code, notes, and snippets.

@stuartw1
stuartw1 / install-openvpn3-kali.sh
Last active May 3, 2024 12:04
install openvpn3 and dependencies on Kali Linux
#!/bin/bash
# The following commands should install openvpn3 successfully on Kali Linux as of 2023-10-11
# Please check libssl1.1 version is newest at https://packages.debian.org/bullseye/amd64/libssl1.1
# PM me if broken and I will update
# Thanks to the following for bug reports / additions
# asingh-lp, Pyr0technicien
# update packages
sudo apt update

Complete Genshin Impact Discord Quest:

First way which will work for any Quests not just Genshin, though it needs some knowledge 🤓:

  1. Accept the quest under User Settings -> Gift Inventory.
  2. Join a vc to your alt or your friend.
  3. Stream any window
  4. Press Ctrl + Shift + I to open DevTools
  5. Go to the Console tab
  6. Paste this code and press enter:
@gareve
gareve / contra_enemy_hp_stats_and_force_loop.lua
Created June 5, 2023 23:51
[Contra NES][Memory Inspection] Enemy HP Stats research for Difficulty/Loop Challenge
--[[
This script renders the enemy HP in screen + forces a difficulty/loop level
Made with the help of the followin apps & resources
bizhawk@Linux = monocomplete + libopenal1
Game Genius Addresses: https://gamehacking.org/game/29281
Contra Lua Sample Code: https://www.romhacking.net/games/137/
HP of enemies in final level
@d0iasm
d0iasm / doubly_linked_list.pseudocode
Created February 3, 2024 10:24
Pseudocode - Doubly Linked List
Node:
init:
self.data = data
self.next = None
self.prev = None
DoublyLinkedList:
init:
self.head = None
self.tail = None
@d0iasm
d0iasm / doubly_linked_list.rs
Created February 3, 2024 10:18
Template - Doubly Linked List in Rust
struct Node<T> {
}
struct DoublyLinkedList<T> {
}
impl<T> DoublyLinkedList<T> {
/// Removes the last element from a list and returns it, or None if it is empty.
/// This operation should compute in O(1) time.
fn pop_back(&mut self) -> Option<T> {
@zcyemi
zcyemi / JsonHelper.cs
Created March 14, 2018 13:51
Json.Net.JsonConverter for Unity Vector struct.
using UnityEngine;
using Newtonsoft.Json;
using System;
public class Vec4Conv : JsonConverter
{
public override bool CanConvert(Type objectType)
{
if (objectType == typeof(Vector4))
@sarpulhu
sarpulhu / bitcoinbip39diceware.txt
Last active May 3, 2024 11:57
Bitcoin seed diceware bip39 completely uniform
TOP HALF FIRST ROLL ODD. BOTTOM HALF FIRST ROLL EVEN. FOR NEXT ROLLS IF USING REGULAR DICE 5 OR 6 IS ROLL AGAIN
1,1,1,1,1 abandon
1,1,1,1,2 ability
1,1,1,1,3 able
1,1,1,1,4 about
1,1,1,2,1 above
1,1,1,2,2 absent
1,1,1,2,3 absorb
1,1,1,2,4 abstract
1,1,1,3,1 absurd
@choco-bot
choco-bot / Install.txt
Created May 3, 2024 11:55
flash-decompiler-trillix v5.3.1400 - Failed - Package Tests Results
==> default: Running provisioner: shell...
[ERROR] An error occurred in the underlying SSH library that Vagrant uses.
[ERROR] The error message is shown below. In many cases, errors from this
[ERROR] library are caused by ssh-agent issues. Try disabling your SSH
[ERROR] agent or removing some keys and try again.
[ERROR] If the problem persists, please report a bug to the net-ssh project.
[ERROR] timeout during server version negotiating