[0x03, 0x05, 0x0A, 0xD2]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 8level-wrt150a-default.conf | |
# Firmware version: 1.2.19122 | |
# Username: admin | |
# Password: admin | |
NETWORK_TOOL 1 | |
IP_URL "" | |
COUNT 4 | |
PKT_SIZE 64 | |
TIME_OUT 1000 | |
TTL 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --unified a/musicroom/extract.cpp b/musicroom/extract.cpp | |
--- a/musicroom/extract.cpp | |
+++ b/musicroom/extract.cpp | |
@@ -8,6 +8,14 @@ | |
#include <math.h> | |
+#if __cplusplus > 201703L | |
+# include <numbers> | |
+ static constexpr double PI = std::numbers::pi_v<double>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# To the extent possible under law, mataha has waived all | |
# copyright and related or neighboring rights to this file, | |
# as it is written in the following disclaimers: | |
# - https://unlicense.org/ | |
# - https://creativecommons.org/publicdomain/zero/1.0/ | |
import argparse | |
import pathlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example locator request and response (International GunZ). | |
Note that some servers would send slightly different responses, e.g. Freestyle | |
GunZ (response from FGunZ would include some additional fields, e.g. server | |
description - I don't know if it's 1.5 source specific). | |
Everything is in little-endian order unless specified. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <windows.h> | |
#define print_metric(metric) \ | |
do \ | |
{ \ | |
printf("%s: %d\n", #metric, GetSystemMetrics(metric)); \ | |
} while (0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~*~ Mataha's Diablo II: Resurrected wantlist ~*~ | |
~*~ All of the items here are nonladder only ~*~ | |
Expansion | |
========= | |
Runes | |
----- | |
HRs. Lots of them. But mostly Bers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* conredir, a hack to get working console IO with Windows GUI applications | |
* | |
* Copyright (c) 2013, Martin Herkt | |
* | |
* Permission to use, copy, modify, and/or distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function () { | |
function getRandomWaifu() { | |
return "Ai Hayasaka"; | |
} | |
const name = window.prompt("Type your character's name:", getRandomWaifu()); | |
if (!name) { | |
alert("Invalid character name."); | |
return false; |
OlderNewer