Skip to content

Instantly share code, notes, and snippets.

@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
@visionscaper
visionscaper / gist:a5b1d8c5a95b08958aefd2a2591a1045
Created May 3, 2024 11:51
MLPug persona chatbot training example used for testing 6xAMD MI100 experimental server build
python examples/persona_chatbot/pytorch/train.py \
--experiment-name persona-bot-6xMI100 \
--num-dataloader-workers 2 \
--use-mixed-precision \
--batch-size 30 \
--batch-chunk-size 10 \
--num-choices 8 \
--sequence-length-outlier-threshold 0.05 \
--learning-rate 6.25e-5 \
--lr-warmup-schedule \
@JBlond
JBlond / bash-colors.md
Last active May 3, 2024 11:50 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@azadkuh
azadkuh / vim-cheatsheet.md
Last active May 3, 2024 11:50
vim / vimdiff cheatsheet - essential commands

Vim cheat sheet

Starting Vim

vim [file1] [file2] ...

@mfenniak
mfenniak / immich.nix
Last active May 3, 2024 11:47
NixOS configuration for Immich, based upon upstream docker-compose.yml
{ config, ... }:
let
immichHost = "immich.example.com"; # TODO: put your immich domain name here
immichRoot = "/tank/immich"; # TODO: Tweak these to your desired storage locations
immichPhotos = "${immichRoot}/photos";
immichAppdataRoot = "${immichRoot}/appdata";
immichVersion = "release";
immichExternalVolume1 = "/tank/BackupData/Google Photos/someone@example.com"; # TODO: if external volumes are desired
@Bluscream
Bluscream / obs_twitch_chat.css
Last active May 3, 2024 11:46
Twitch chat transparent popout for OBS
/*
Twitch chat browsersource CSS for OBS
Original by twitch.tv/starvingpoet modified by github.com/Bluscream
Just set the URL as either one of
- https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
- https://www.twitch.tv/popout/%%TWITCHCHANNEL%%/chat
- https://www.twitch.tv/embed/%%TWITCHCHANNEL%%/chat?parent=localhost
And paste this entire file into the CSS box or paste direct import css like
@martinsohn
martinsohn / ConvertFrom-BHJSON.ps1
Last active May 3, 2024 11:46
ConvertFrom-BHJSON
# See examples here: https://twitter.com/martinsohndk/status/1783470845119152340
# Add the below to your PowerShell profile
# 1. In PowerShell, run: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force
# 2. In PowerShell, run: if(!(Test-Path $PROFILE)){New-Item $PROFILE -ItemType File -Force}; notepad.exe $PROFILE
# 3. Add the function to your PowerShell profile
# 4. (Optional) Change the default behaviour from Clipboard to some other in 'DefaultParameterSetName'
# 5. Start a new PowerShell instance
# 6. Export JSON from BloodHound
# 7. Convert the JSON with 'ConvertFrom-BHJSON' or the alias 'cfb'
@Norserium
Norserium / agGrid-ru.js
Created March 27, 2019 10:48
Russian localization for agGrid / Русская локализация для agGrid
{
// for filter panel
page: 'Страница',
more: 'ещё',
to: 'к',
of: 'из',
next: 'Следующая',
last: 'Последняя',
first: 'Первая',
previous: 'Предыдущая',