Skip to content

Instantly share code, notes, and snippets.

View pzxbc's full-sized avatar
🎯
Focusing

pzxbc

🎯
Focusing
View GitHub Profile
@pzxbc
pzxbc / 0_reuse_code.js
Created August 25, 2014 04:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pzxbc
pzxbc / Netfilter-IPTables-Diagrams.md
Created January 21, 2019 01:56 — forked from nerdalert/Netfilter-IPTables-Diagrams.md
Linux NetFilter, IP Tables and Conntrack Diagrams

Linux NetFilter, IP Tables and Conntrack Diagrams

IPTABLES TABLES and CHAINS

IPTables has the following 4 built-in tables.

1) Filter Table

Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.

@pzxbc
pzxbc / gist:bf0b9ffb66e5774b09fd7ff39d6a3b1e
Created September 10, 2019 03:06 — forked from adamgit/gist:3705459
Automatically create cross-platform (simulator + device) static libraries for Objective C / iPhone / iPad
##########################################
#
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4
#
# Version 2.82
#
# Latest Change:
# - MORE tweaks to get the iOS 10+ and 9- working
# - Support iOS 10+
# - Corrected typo for iOS 1-10+ (thanks @stuikomma)