Skip to content

Instantly share code, notes, and snippets.

@kizzx2
kizzx2 / docker-compose.yml
Last active May 2, 2024 18:10
Restart a docker container periodically with docker-compose
version: '3'
services:
app:
image: nginx:alpine
ports: ["80:80"]
restart: unless-stopped
restarter:
image: docker:cli
volumes: ["/var/run/docker.sock:/var/run/docker.sock"]
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created May 2, 2024 16:53
thumbsremover v1.6.1.280 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3166082273-3713568515-573898151-1000</user>
<keys>
<key installerType="InnoSetup" displayName="Thumbs Remover" displayVersion="1.6.1.280">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CD3423F8-F651-41DE-AA3C-0BF2A2EF505A}_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Thumbs Remover\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\Thumbs Remover\unins000.exe" /SILENT]]></UninstallString>
@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.
*/