Skip to content

Instantly share code, notes, and snippets.

View nsuan's full-sized avatar

Nick Suan nsuan

  • Sourcefire
  • Maryland
View GitHub Profile
[
{
"created_at": "Wed Feb 03 00:09:28 +0000 2021",
"id": 1356756654516297700,
"id_str": "1356756654516297731",
"text": "@malfabone1 @TheHIVE_Social What about android users??",
"truncated": false,
"entities": {
"hashtags": [],
"symbols": [],
@nsuan
nsuan / gist:8b989cf29d91507e8098e193a6110e05
Created July 5, 2022 23:47
Using mean emojis is terrorism
Ok everyone since you don't listen when I'm nice, I'm going to get mean.
Reacting to messages with a clown (🤡) a skull (💀), or a nerd face (🤓)
isn't funny. It's not cool, it's not interesting, it's annoying.
These 3 emojis in particular aren't funny, they're RUDE. We as staff work hard to keep this place safe, and to have you all constantly react to our messages with mean emojis makes me FURIOUS.
STOP reacting to our messages with rude emojis. They do NOTHING but make you look really, really stupid.
It shows you have no rebuttals to our arguments, so you have to use juvenile tactics paramount to terrorism in order to stop us from being able to speak our truth.
version: '3'
services:
kibana:
image: docker.elastic.co/kibana/kibana:7.13.1
restart: unless-stopped
hostname: NODE_NAME
network_mode: bridge
ports:
# HTTP/REST
- 5601:5601/tcp
@nsuan
nsuan / CharacterPackets.h.diff
Created April 3, 2021 01:10
Add Allied Races and AR Death Knights to Trinity Core Master
diff --git a/src/server/game/Server/Packets/CharacterPackets.h b/src/server/game/Server/Packets/CharacterPackets.h
index 0847720436..d7c7e36614 100644
--- a/src/server/game/Server/Packets/CharacterPackets.h
+++ b/src/server/game/Server/Packets/CharacterPackets.h
@@ -1,3 +1,4 @@
+
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
@@ -167,9 +168,9 @@ namespace WorldPackets
tevruden@v6-core-01:~$ show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
> - selected route, * - FIB route, p - stale info
IP Route Table for VRF "default"
S *> 0.0.0.0/0 [1/0] via 206.83.8.224, tun1
B 0.0.0.0/0 [200/0] via 172.16.18.1 (recursive via 172.16.40.1 ), 09:34:11
@nsuan
nsuan / gist:2505f513cc178ab3d7a23e103a756dfd
Created November 24, 2019 17:12
Tell twitter you're not interested in anything
inputs = document.getElementsByName('interest_checkbox');
for (var i = 0; i < inputs.length; i++) {
inputs[i].checked = false;
}
tevruden$ traceroute 198.148.79.60
traceroute to 198.148.79.60 (198.148.79.60), 64 hops max, 52 byte packets
1 ge-eth1.desktops.int.nonexiste.net (172.16.22.254) 0.719 ms 0.320 ms 0.291 ms
2 ge-eth1.core-02.int.nonexiste.net (172.16.18.103) 0.930 ms 1.024 ms 0.910 ms
3 edge-vz-01 (172.16.18.1) 0.990 ms 0.965 ms 0.956 ms
4 108-218-244-1.lightspeed.austtx.sbcglobal.net (108.218.244.1) 7.358 ms 1.754 ms 6.469 ms
5 71.149.77.70 (71.149.77.70) 2.009 ms * 2.137 ms
6 12.123.240.130 (12.123.240.130) 10.741 ms 11.113 ms 7.794 ms
7 gar27.dlstx.ip.att.net (12.123.16.77) 9.477 ms 8.755 ms 10.572 ms
8 192.205.36.14 (192.205.36.14) 7.681 ms 7.428 ms 7.625 ms
scan: scrub repaired 0 in 306h47m with 0 errors on Mon Dec 17 18:11:08 2018
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
da1 ONLINE 0 0 0
da3 ONLINE 0 0 0
da0 ONLINE 0 0 0
da11 ONLINE 0 0 0
sudo apt-get install freeradius-ldap
cd /
sudo tar -zxvf ~/freeradius.tar.gz
sudo apt-get install winbind
sudo service freeradius stop
usermod -a -G winbindd_priv freerad
sudo usermod -a -G winbindd_priv freerad
sudo chown root:winbindd_priv /var/lib/samba/winbindd_privileged/
sudo service freeradius start
[tevruden@dropbox ~]$ echo | openssl s_client -connect dropbox.nonexiste.net:443 | openssl x509 -noout -dates
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = roliath.nonexiste.net
verify return:1
DONE
notBefore=May 31 23:00:17 2018 GMT
notAfter=Aug 29 23:00:17 2018 GMT