Get-PSProvider
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 <iostream> | |
#include <cstring> | |
#include <cstdint> | |
#include <cmath> | |
#include <array> | |
#include <vector> | |
#include <cstdint> | |
#include <tuple> |
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/awk -f | |
/MemTotal/ { mem_total=$2 } | |
/MemFree:/ { mem_free=$2 } | |
/MemAvail/ { mem_avail=$2 } | |
/AnonPage/ { anon_pages=$2 } | |
/Mapped: / { mapped=$2 } | |
/Slab: / { mapped=$2 } | |
END { | |
print "TOTAL FREE AVAILABLE ANON MAP SLAB BUF CACHE DIRTY" |
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
FROM emscripten/emsdk:3.1.7 as emsdk | |
ENV LIBPCAP="libpcap-1.10.1" | |
RUN apt-get update | |
RUN apt-get install -y flex bison | |
RUN wget https://www.tcpdump.org/release/.tar.gz | |
COPY .sha . | |
#RUN sha256sum -c .sha |
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 --git a/src/Makefile b/src/Makefile | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -376,18 +376,22 @@ CClink = $(CC) | |
# Uncomment the next line to fail if one of the requested language interfaces | |
# cannot be configured. Without this Vim will be build anyway, without | |
# the failing interfaces. | |
#CONF_OPT_FAIL = --enable-fail-if-missing | |
# LUA |
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
reactor = game.gentity_t.find(nil, 'team_human_reactor') | |
reactor:set_rotation(0, 360, 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
-- This script moves the Reactor into the positon of an Acid tube. | |
reactor = game.gentity_t.find(nil, 'team_human_reactor') | |
ent = game.gentity_t.find(nil, 'team_alien_acid_tube') | |
ent.health = 0 | |
ent.die(ent, ent, ent, 100, 0) | |
reactor.origin = ent.origin |
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
pcapfifo | |
https://github.com/wtfbbqhax/pcapfifo | |
backtrace | |
https://github.com/wtfbbqhax/backtrace | |
libunified2 | |
https://github.com/wtfbbqhax/libunified2 | |
u2json |
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 --git a/Makefile b/Makefile | |
index fb5e233..a333a50 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -2588,7 +2588,7 @@ UIVMOBJ = $(UIOBJ_:%.o=%.asm) | |
$(B)/$(BASEGAME)/ui$(SHLIBNAME): $(UIOBJ) | |
$(echo_cmd) "LD $@" | |
- $(Q)$(CC) $(SHLIBLDFLAGS) $(LDFLAGS) -o $@ $(UIOBJ) | |
+ $(Q)$(CC) -I${ASSETS_DIR}/ui $(SHLIBLDFLAGS) $(LDFLAGS) -o $@ $(UIOBJ) |
NewerOlder