Skip to content

Instantly share code, notes, and snippets.

View stevenlafl's full-sized avatar
🏠
Working from home

Steven Linn stevenlafl

🏠
Working from home
View GitHub Profile
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active November 12, 2024 13:33
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@izikeros
izikeros / convert_ssh2_key_to_openssh.sh
Last active July 17, 2024 22:38
[convert ssh2 public key to openssh] Convert ssh2 public key to openssh format and add to authorized_keys #ssh #key
# if received key in format:
#—- BEGIN SSH2 PUBLIC KEY —-
#
#Comment: "rsa-key-20160402"
#AAAAB3NzaC1yc2EAAAABJQAAAgEAiL0jjDdFqK/kYThqKt7THrjABTPWvXmB3URI
#
# and you want to add it to authorized keys
# from: https://tutorialinux.com/convert-ssh2-openssh/
ssh-keygen -i -f coworker.pub >> ~/.ssh/authorized_keys
@xiCO2k
xiCO2k / nginx-rtmp-stream-multi-debian-18.md
Last active May 30, 2024 01:53
RTMP Server to Stream to Facebook, Youtube, Instagram
apt install nginx
apt install libnginx-mod-rtmp
apt install ffmpeg
apt install stunnel4

vim /etc/nginx/nginx.conf

  • Remove http {} and mail {}
@markasoftware
markasoftware / enterprise_token.rb
Last active November 14, 2024 21:26
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2023 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@aleksasiriski
aleksasiriski / EldenRingSeamlessUnlockOnSteamFlatpak.md
Last active August 6, 2024 05:41
Elden Ring running on Steam Flatpak with Seamless COOP and other mods like FPS Unlock

Linux Guide - How to run Elden Ring on Steam Flatpak with Seamless COOP and other mods like FPS Unlock

Steam Flatpak and Proton-GE

Download the latest Proton-GE using ProtonUp-Qt

Elden Ring Mod Loader

Download and extract this to your game folder:

cd ~/.var/app/com.valvesoftware.Steam/.steam/steam/steamapps/common/ELDEN\ RING/Game
@CC1119
CC1119 / enterprise_token.rb
Last active November 2, 2024 16:32 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@ijwfly
ijwfly / config.json
Created September 22, 2024 22:59
Qwen2.5-Coder 7B continue.dev configuration example
{
"models": [
{
"title": "Qwen2.5-Coder-7B",
"provider": "ollama",
"model": "Qwen2.5-Coder-7B-Instruct-Q6_K:latest",
"apiBase": "https://your_ollama_server"
}
],
"tabAutocompleteModel": {