Skip to content

Instantly share code, notes, and snippets.

View cameronp98's full-sized avatar

Cameron Phillips cameronp98

  • Nottingham / Leeds
View GitHub Profile
@fnky
fnky / ANSI.md
Last active November 17, 2024 17:38
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

Dark Souls II and Scholar of the First Sin Cheat Engine Guide

Updates

04/05/2020

  • Added HP Min Offset
  • Added “Replenishment [Phantom Color]” from previous tables versions (not made by me)
  • Mapped some offsets for easier reading
  • Added offset +74 (Parry Multiplier) under [Equipped Weapon]
  • Added WeaponTypeParam Helper
@davidglezz
davidglezz / TurnOffMonitor.c
Created November 5, 2013 11:56
Turn off monitor
#include <windows.h>
#define MONITOR_ON -1
#define MONITOR_OFF 2
#define MONITOR_STANBY 1
int main()
{
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF);
}
@tylerl
tylerl / rsa.py
Created September 24, 2011 08:27
RSA Explained in Python
#!/usr/bin/env python
# This example demonstrates RSA public-key cryptography in an
# easy-to-follow manner. It works on integers alone, and uses much smaller numbers
# for the sake of clarity.
#####################################################################
# First we pick our primes. These will determine our keys.
#####################################################################