Skip to content

Instantly share code, notes, and snippets.

@Kurotaku-sama
Kurotaku-sama / Twitch hitsquadgodfather command buttons.user.js
Last active May 7, 2024 14:11
Adds buttons to send commands for the onstream games in the twitch chat
// ==UserScript==
// @name Twitch hitsquadgodfather command buttons
// @namespace kurotaku.de
// @version 1.5.3
// @description Adds buttons to send commands for the onstream games in the Twitch chat
// @author Kurotaku
// @license MIT
// @match https://www.twitch.tv/hitsquadgodfather*
// @match https://www.twitch.tv/hitsquadbrawlers*
// @match https://www.twitch.tv/hitsquadplays*
@yovko
yovko / ohmyzsh.md
Last active May 7, 2024 14:11
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.

@markerikson
markerikson / job-search-questions.md
Last active May 7, 2024 14:10
Assorted questions to ask companies in interviews

Questions

Company

  • company location / remote?
  • what project management method?
  • good and bad company culture?
  • performance reviews?
  • what's the path to profitability?
@jkesseler
jkesseler / job-search-questions.md
Created May 7, 2024 14:10 — forked from markerikson/job-search-questions.md
Assorted questions to ask companies in interviews

Questions

Company

  • company location / remote?
  • what project management method?
  • good and bad company culture?
  • performance reviews?
  • what's the path to profitability?
@AlexouQC
AlexouQC / hello.c
Last active May 7, 2024 14:09
mon hello word
int main()
{
printf("Hello world")
return 0;
}
@colemar
colemar / #wg-peer.md
Last active May 7, 2024 14:06
Manage Wireguard peers (IPv4 only)

Manage Wireguard peers (IPv4 only)

List, add or delete Wireguard peers. Also show client configuration for already added peers.

wg-peer [add|show <peer>|del <peer>|list]

where:

  • a[dd] add a new peer
@mvneves
mvneves / git-split.md
Created December 28, 2017 21:36
How to split a git repository into two different ones

How to split a git repository into two different ones

These are the steps to extract a directory from a git repository (with all its history commit), create a new repository from this directory, and optionally remove it from the original one.

To the ones that are here to copy-paste code, this is an example which removes the MODULE directory from REPO repository.

Step 1: Extract the directory from the git repository

Clone the original repository:

@stravant
stravant / DatastoreBytes.lua
Created October 24, 2023 04:50
Module which packs a sequence of variable length integers into a Datastore safe string at maximal density
local DS_INT_TO_INT = {} :: {[number]: number}
local INT_TO_DS_INT = {} :: {[number]: number}
local INT_TO_DS_CHAR = {} :: {[number]: string}
local DS_INT_MAX;
do
-- All characters under this are control characters, must avoid them because
-- they get expanded out into control sequences.
local MIN_DS_VALUE = 0x20
local MAX_DS_VALUE = 0x7E
@pascalpoitras
pascalpoitras / config.md
Last active May 7, 2024 14:03
My WeeChat configuration

WeeChat Screenshot

Mouse


enable