Skip to content

Instantly share code, notes, and snippets.

View nwaelkens's full-sized avatar

Nathan Waelkens nwaelkens

View GitHub Profile
@olimortimer
olimortimer / ral_colours.php
Last active August 30, 2024 17:23
PHP: RAL Colours as RGB
<?php
// Includes text RGB to show text as white or black. This value was calculated using;
// $brightness = sqrt( (R * R * .299) + (G * G * .587) + (B * B * .114) )
// If $brightness was greater than 130, then the text was set to white
$ral_colours => array(
'RAL 1000' => array(
'rgb' => '190,189,127',
'name' => 'Green Beige',
/**
* A bookmarklet for viewing the largest contentful paint in a page.
* Will show each LCP after the bookmarklet is clicked.
*
* To install:
* 1. Copy the code starting from the line beginning `javascript:`
* 2. Add a new bookmark in Chrome, and paste the code in as the URL.
**/
javascript:(function(){
try {
@gboddin
gboddin / 00-README.md
Last active November 18, 2024 11:00
cyberpanel 0day leaked attack script

CyberPanel ransomware attack/defense

WARNING: Please use good judgement and extra caution before downloading and running something provided in the comment section of this gist.

This repo contains 3 things:

  • A decryption script for .psaux ransoms
  • A link to a decryptor for .encrypt ransoms
  • A list of files found on the PSAUX attack server