Skip to content

Instantly share code, notes, and snippets.

View CameronHall's full-sized avatar
🙉

Cameron Hall CameronHall

🙉
View GitHub Profile
@sergeyklay
sergeyklay / hpd.md
Last active July 15, 2021 08:36
Happy PHP Debugging

Happy PHP Debugging

Usage

gdb --args /usr/bin/php script.php
(gdb) source ~/src/php/7.2.1/.gdbinit

Let's solve the following physics problem using Symbolism, a computer algebra library for C#.

One strategy in a snowball fight is to throw a first snowball at a high angle over level ground. While your opponent is watching the first one, you throw a second one at a low angle and timed to arrive at your opponent before or at the same time as the first one.

Assume both snowballs are thrown with a speed of 25.0 m/s.

The first one is thrown at an angle of 70.0° with respect to the horizontal.

@Fank
Fank / beguidcalc.md
Last active December 23, 2023 12:26
ArmA 3 / DayZ-Standalone - BattlEye GUID calculation

md5("BE" (2 bytes) + 64-bit SteamID (8 bytes))