Skip to content

Instantly share code, notes, and snippets.

View supernovaplus's full-sized avatar

SuperNova+ supernovaplus

View GitHub Profile
@supernovaplus
supernovaplus / force-ctrl-c-v.md
Created May 13, 2023 16:27 — forked from Gustavo-Kuze/force-ctrl-c-v.md
Enable copy and paste in a webpage from the browser console
javascript:(function(){
  allowCopyAndPaste = function(e){
  e.stopImmediatePropagation();
  return true;
  };
  document.addEventListener('copy', allowCopyAndPaste, true);
  document.addEventListener('paste', allowCopyAndPaste, true);
  document.addEventListener('onpaste', allowCopyAndPaste, true);
})(); 
@supernovaplus
supernovaplus / discord.msg.send.php
Created May 31, 2022 21:20 — forked from Mo45/discord.msg.send.php
PHP - Send message to Discord via Webhook
<?php
//=======================================================================================================
// Create new webhook in your Discord channel settings and copy&paste URL
//=======================================================================================================
$webhookurl = "YOUR_WEBHOOK_URL";
//=======================================================================================================
// Compose message. You can use Markdown
// Message Formatting -- https://discordapp.com/developers/docs/reference#message-formatting
// ==UserScript==
// @name TTMAP WAYPOINT
// @namespace TTMAP WAYPOINT
// @match https://ttmap.eu/*
// @version 1.0
// @author logan + nova
// @downloadURL https://gist.github.com/sadboilogan/83c0effe25741607ccfc73ca83335c59/raw/ttools.user.js
// @description Extends TTools site
// ==/UserScript==
@supernovaplus
supernovaplus / gist:3484e3e428486f4dd3da21af47558c5b
Created July 8, 2021 09:28 — forked from girvydas/gist:f2d727716a3e27773329
Lietuviškų vardų (ir pavardžių?) linksniai
<?php
/**
* Lietuviškų vardų linksniai.
*
* @author Dainius Kaupaitis <dainius at kaupaitis dot lt>
* @copyright Copyleft (ↄ) 2011, Dainius Kaupaitis
* @version 1.0
* @package Vardai
*/