Skip to content

Instantly share code, notes, and snippets.

@Lordmau5
Lordmau5 / userscript.js
Last active May 2, 2024 18:07
Keygenmusic.tk Improvements
// ==UserScript==
// @name Keygenmusic.tk Improvements
// @namespace http://tampermonkey.net/
// @version 1.3.1
// @description Various extra functionality and fixes for the amazing site Keygenmusic.tk (Volume slider, Seekbar, Loop toggle, List fixes)
// @author Lordmau5
// @match https://keygenmusic.tk/
// @icon https://www.google.com/s2/favicons?sz=64&domain=keygenmusic.tk
// @grant none
// @require https://unpkg.com/hyperlist@1.0.0/dist/hyperlist.js
@0x199
0x199 / notify.cpp
Last active May 2, 2024 18:04
sceKernelSendNotificationRequest - PS4 OpenOrbis Toolchain Implementation
#include <orbis/libkernel.h>
void SystemNotification(const char* text, const char* iconName = "icon_system");
void SystemNotification(const char* text, const char* iconName) {
OrbisNotificationRequest NotificationBuffer;
NotificationBuffer.type = OrbisNotificationRequestType::NotificationRequest;
NotificationBuffer.unk3 = 0;
NotificationBuffer.useIconImageUri = true;
@conradfuhrman
conradfuhrman / herd-reverb-ssl.md
Last active May 2, 2024 18:04
Laravel Herd, SSL, and Reverb with Herd

The biggest issue with Herd Pro is that you cannot use Reverb out of the box with a site that has SSL enabled. Here is the workaround for it all to play nicely together.

First you will need to create two sites. The two I have here are as follows:

  • reverb-ssl - This is a new Laravel 11 project using Breeze for the ease of Inertia. This also follows the setup for Reverb line by line.
  • wss-reverb-ssl - This is an empty directory, we are going to use this only for editing a Nginx config and setting up a proxy to the reverb service.

Screenshot 2024-04-03 at 2 33 08 PM

Of note is that I'm using Herd Pro as well, so all additional services are being used directly though Herd Pro itself.

Indexer Membership Status API URL Software API Hits/Day NZB Grabs/Day Retention Account Duration Counter Reset Counter Reset
NZB.cat Free https://nzb.cat nZEDb 500 50 60 Days
NZB.cat VIP https://nzb.cat nZEDb 5,000 1,000 Lifetime
Oznzb.com Freeloader https://api.oznzb.com Newsnab+ 5 5 Rolling Counter Rolling Co
@OdinMovec
OdinMovec / digitalocean-promo-code-february-march-april-2018.md
Created May 2, 2024 06:47 — forked from fredroo/digitalocean-promo-code-february-march-april-2018.md
Digital Ocean Promo Code for January / February / March / April / May / June / July / August / September / October / November / December 2024

Digital Ocean Promo Code for January, February, March, April, May, June, July, August, September, October, November, and December of 2024

Save $200 for your Cloud Computing Solution with Digital Ocean.

How to get the Discount?

1.) Use this link to Sign Up and save your first $200.

2.) Enter the Promocode LOWENDBOX when you choose your payment method and get another $15 discount.

@prwhite
prwhite / Makefile
Last active May 2, 2024 18:02
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@Julli4n
Julli4n / ok.js
Last active May 2, 2024 18:02
ROBLOX
/*
!! The feature that uses this endpoint has recently started rolling out to users.
!! See `App > Avatar > Profile Picture Editor`
!!
!! You may continue using this script, the only advantage is being able to
!! customize FullBody and Closeup independently.
*/
@aspose-com-gists
aspose-com-gists / DWGtoSVG.cs
Last active May 2, 2024 18:01
Convert DWG to SVG in C# .NET
// Load the input DWG file
Image image = Image.Load("sample.dwg");
// Initialize SvgOptions class object
ImageOptions.SvgOptions options = new ImageOptions.SvgOptions();
// Set SVG color mode
options.ColorType = SvgColorMode.Grayscale;
options.TextAsShapes = true;
@gcsuid
gcsuid / yt101
Last active May 2, 2024 17:59
comment on video
import os
import random
import pickle
import requests
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
from googleapiclient.discovery import build
SCOPES = ['https://www.googleapis.com/auth/youtube.force-ssl']