Skip to content

Instantly share code, notes, and snippets.


Samuel simpzan

View GitHub Profile
simpzan / vmmap.c
Created Sep 7, 2020 — forked from bazad/vmmap.c
A simple vmmap implementation for macOS.
View vmmap.c
// Brandon Azad (@_bazad)
#include <assert.h>
#include <errno.h>
#include <mach/mach.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
simpzan / Linux_DRM_OpenGLES.c
Created Jan 18, 2020 — forked from Miouyouyou/Linux_DRM_OpenGLES.c
An example, inspired by Rob Clark "kmscube.c" that uses Linux Direct Rendering Manager ( DRM ) and EGL to create an OpenGL ES 2 context. This is a standalone example, that just clears the screen with a blueish color. Usable with Rockchip DRM drivers and Mali Wayland/DRM userspace drivers.
View Linux_DRM_OpenGLES.c
// gcc -o drmgl Linux_DRM_OpenGLES.c `pkg-config --cflags --libs libdrm` -lgbm -lEGL -lGLESv2
* Copyright (c) 2012 Arvin Schnell <>
* Copyright (c) 2012 Rob Clark <>
* Copyright (c) 2017 Miouyouyou <Myy> <>
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
simpzan /
Created Jun 11, 2018 — forked from madeye/
Bandwidth test for shadowsocks
ss-tunnel -k test -m $method -l 8387 -L -s -p 8389 &
ss-server -k test -m $method -s -p 8389 &
iperf -s -p 8388 &


0 互联网现状

目前整个互联网环境,被破坏最严重地部分,是 Web 服务体验。当直接破坏难以实现时,就会从流程链的上下游着手,如:DNS 污染。

其它地互联网服务类型,例如:邮件,可能小部分会受到 Web 服务上下游破坏地余震,但整体上基本不受影响。

simpzan / BNRTimeBlock.h
Created Mar 20, 2012 — forked from bignerdranch/BNRTimeBlock.h
Timing Utility Post 20120308
View BNRTimeBlock.h
CGFloat BNRTimeBlock (void (^block)(void));
You can’t perform that action at this time.