Skip to content

Instantly share code, notes, and snippets.

View nicholatian's full-sized avatar
📀
please do not swear on my profile. thanks

Alexander Nicholi‮ nicholatian

📀
please do not swear on my profile. thanks
View GitHub Profile
/Td6WFoAAATm1rRGBMC2ggv8rRshARYAAAAAADp4+2ricQrv/10AKBBGzYyAuJdydLtistAdS6y6
hBm7fcR59ckrkwt1m+4Sudcb/Q7hWyBRMWyA0I8hX8wI7kDx4VEH7ZD4fGXLv8xY6kjXldrZH9aa
y05/PyiJubOAK4RQivmje4+MI54jgLfRuDSCQqG7ugk/MJ6gjnzZ7InjEG2j4EFQ08vBm/CyWrU6
Ma15oNYy8IQXumTH5TB4B9Cv7wy8r/5xQ/5TaUlPjnCGOAwMTkcveRuMn1zlB+sr8Rbo2k7ZGY/q
uFo0VTq72Z1L6xawCsEIwGpmP+SAXiE6xH+eH5E0B6R/FRyv7+ai69HjKt8Oy5QQOf/AyrXsMkSR
vxVfoZ29OFIIdQ+JUHBTYFft6k5XAvNOiJzBe2ALgnN5Myqqpf1G9mJMcQuL8azifBEWh4bxPTzN
Pjrdz6/Uebx/C6tdTxVLgmLWATWdYljsWaxkoCtm1haM4hCjbhUi3tgFVZxEPfnF+qvu9CUbFm8p
Rfh3FVulN686gkWYnkTM3N42m+GGenWMF+emZrEwbLjrQYCNNApxuRuGdn1DpPwuztMVelYlE6V1
7GkytPRk/mQAf4FOkTFuGLmFfckgwzI6fmCMfIzMzowqLSsQ3ZV/rAoc3Nl0C1ikWxgz3zwAg0U0
jcR06ODLnhTAE+cWKYqAmsVArFnk3A0uSzDx+7y6GHo5/II2jAkQJaZme0w9dfgXdx55pqGvKPhb
diff --git a/include/constants/heal_locations.h b/include/constants/heal_locations.h
index 64c8956a9..dfd639519 100644
--- a/include/constants/heal_locations.h
+++ b/include/constants/heal_locations.h
@@ -1,27 +1,5 @@
#ifndef GUARD_CONSTANTS_HEAL_LOCATIONS_H
#define GUARD_CONSTANTS_HEAL_LOCATIONS_H
-#define HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F 1
-#define HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F 2
Proposals:
1. Hoist moderators
2. Add role for maintainers
3. Add a bot providing self-assignable roles for disassemblies
a. Allow mods to do time-based revocations of this ability and the roles
b. Roles only provide write-access, no moderation removes read
4. #welcome/#get-started channel
5. Disasm-specific channels for modding
#!/usr/bin/perl
#
use strict;
my @mains = <private/*.html>;
my @parts = <private/part/*>;
foreach my $part (@parts) {
$part =~ s/^.*\///;
@nicholatian
nicholatian / linux-1.csv
Created July 13, 2018 11:28
Compression algorithm benchmark results from Bahariya.
algo level ctime cmem size dtime dmem
bzip2 1 36.00 1660 114950916 12.16 872
bzip2 2 35.33 2456 107215645 12.34 1396
bzip2 3 36.48 3244 103596908 12.40 1660
bzip2 4 36.81 4040 101358269 12.48 2192
bzip2 5 37.27 4828 99818490 12.53 2452
bzip2 6 37.54 5620 98657016 12.51 2984
bzip2 7 37.89 6416 97741068 12.57 3244
bzip2 8 38.23 7208 97071031 12.61 3772
bzip2 9 38.51 7736 96478394 12.58 4040
@nicholatian
nicholatian / compressbench.sh
Last active July 12, 2018 18:28
Benchmark compression tools and output to CSV.
#!/bin/sh
#
command -v /usr/bin/time >/dev/null 2>&1 || { echo >&2 'Install time!'; \
exit -1; }
declare -a FILES=('linux-3.16.57.tar' 'satoshi-tajiri.webm')
declare -a PROGRAMS=('bzip2' 'gzip' 'lz4' 'lzop' 'xz')
for FILE in "${FILES[@]}"; do
@nicholatian
nicholatian / GetShapeArea.jsx
Last active July 10, 2018 05:13
Get area of polygon in Adobe Illustrator
/* Save this file with a jsx extension and place in your
Illustrator/Presets/en_US/Scripts folder. You can then
access it from the File > Scripts menu */
if (app.documents.length > 0) {
if (app.activeDocument.selection.length < 1) {
alert('Select a path first');
} else if (app.activeDocument.selection[0].area) {
// Individual Items
var objects = app.activeDocument.selection;
/++ =============================== C L A S S =============================== +
+ TITLE: Version number
+ DESCRIPTION: This object keeps a three-point version number efficiently
+ packed into a 32-bit integer a la Vulkan. 10 bits for major,
+ another 10 for minor, and 12 bits for patch, with an easy to
+ use interface of getters and setters.
+/
public class Version
{
@nicholatian
nicholatian / routing.js
Created March 17, 2018 11:51
Super-generic Express routing in JavaScript
const router = Express.Router({
caseSensitive: true,
strict: true
})
exports.route = (uri, method, cb) => {
router[method.toLowerCase()](uri, cb)
}
hey kids, shake your blues together
far to see a something in to liking changing weather
a cali fighter caused the nights'a stick around
your gonna hear electric music solid balls the sound
say, can you know i havent semen yet
oh, but the soul's face down
b-b-b-benny and the jets
oh, the wind is wonderful,