Skip to content

Instantly share code, notes, and snippets.

View LennyPenny's full-sized avatar
🎉

Lenny. LennyPenny

🎉
View GitHub Profile
{
description = "A Nix flake for the Continue server";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
poetry2nix = {
url = "github:nix-community/poetry2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
@LennyPenny
LennyPenny / bye.t.co.user.js
Last active December 8, 2021 19:54
bye t.co
// ==UserScript==
// @name bye t.co
// @namespace https://lenny.ninja
// @version 0.1
// @description hope u never return
// @author @ohitsLenny
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?domain=twitter.com
// ==/UserScript==
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2020-10-06T12:45:15.742Z",
"redirects": [
{
"description": "De-mobilizer",
"exampleUrl": "https://en.m.wikipedia.org/",
"exampleResult": "https://en.wikipedia.org/",
"error": null,
"includePattern": "^(https?://)(.*\\.)m(?:obile)?\\.(.*)",
import aubio
import numpy as num
import pyaudio
from aubio import float_type, source, tempo
p = pyaudio.PyAudio()
stream = p.open(format=pyaudio.paFloat32,
channels=1,
rate=44100,
// ==UserScript==
// @name GitLab - auto check 'delete source branch'
// @namespace https://gist.github.com/LennyPenny
// @version 0.5
// @description Auto checks the "delete source branch" option when creating merge requests
// @author Lennart Bernhardt
// @updateURL https://gist.github.com/LennyPenny/a0419284b7bea8f35620e238fefb3553/raw/gitLabAutoDelete.user.js
// @downloadURL https://gist.github.com/LennyPenny/a0419284b7bea8f35620e238fefb3553/raw/gitLabAutoDelete.user.js
// @match https://*/*/merge_requests/new*
// @require http://code.jquery.com/jquery-3.4.1.min.js
[B]No this thread isn't primarily for your shitty "ragehacks" with which you ruin other peoples fun or your dumb hvh fights[/B]
[center][t]https://vgy.me/voXjuB.png[/t][/center]
This thread is for sharing cool things you made and spreading knowledge and helping others in creating cool shit for our favorite engine or steam in general.
In this spirit hacking does not necessarily mean fucking people over, but can be seen as a much more creative skill getting the most out of games/software - just take stallmans word for it [url]https://stallman.org/articles/on-hacking.html[/url]
The source engine lends itself wonderfully to this as there are lots of resources available and VAC being incredibly lenient with stuff that isn't really that harmful.
If you have no idea where to get started it's probably a good idea to learn programming first and google around a lot. This really isn't meant to be a thread for "give updated offsets please", there's enough forums for that. (Basically read [URL="https://wiki.alliedmo
@LennyPenny
LennyPenny / SoundCloudHideReposts.user.js
Last active April 13, 2017 16:59 — forked from noscript/SoundCloudHideReposts.user.js
SoundCloudHideReposts - for GreaseMonkey / TamperMonkey
// ==UserScript==
// @name Soundcloud hide reposts
// @namespace https://gist.github.com/noscript
// @version 1.2
// @description hides reposts and playlists in stream
// @match http://soundcloud.com/stream
// @match https://soundcloud.com/stream
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @copyright 2013, Upated 2015, Forked 2016, Forked again 2017
// ==/UserScript==
--------------
_autosave : cmd : : Autosave
_autosavedangerous : cmd : : AutoSaveDangerous
_bugreporter_restart : cmd : : Restarts bug reporter .dll
_resetgamestats : cmd : : Erases current game stats and writes out a blank stats file
_restart : cmd : : Shutdown and restart the engine.
achievement_debug : 0 : , "sv", "cheat", "rep" : Turn on achievement debug msgs.
act : cmd : :
addip : cmd : : Add an IP address to the ban list.
adsp_alley_min : 122 : :
@LennyPenny
LennyPenny / index.html
Created May 13, 2015 19:40
fcpn.ch 2.0
<!doctype html>
<html>
<head>
<title>fcpn.ch redirecting...</title>
<script type="text/javascript">
var hash = window.location.hash.slice(1);
if (hash == "") {
window.location = "shortn"
} else {
var lookUp = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

Keybase proof

I hereby claim:

  • I am LennyPenny on github.
  • I am iamlenny (https://keybase.io/iamlenny) on keybase.
  • I have a public key whose fingerprint is E7A3 7F37 EC4D 1B7A 6D85 1606 0474 B706 98C8 769A

To claim this, I am signing this object: