Changes with .dev domains in
mind.
Create /etc/pf.anchors/dev, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
| Node[] myNode = new Node[20]; | |
| void setup(){ | |
| size(1024, 600); | |
| for (int i = 0; i<20; i++){ | |
| myNode[i] = new Node(random(10, 20)); | |
| } | |
| // myNode = new Node(20); | |
| } |
| (function() { | |
| window.App = { | |
| Models: {}, | |
| Collections: {}, | |
| Views: {} | |
| }; | |
| window.template = function(id) { | |
| return _.template( $('#' + id).html() ); |
| /*------------------------------------------------------------------ | |
| [Table of contents] | |
| 1. Body & General Tags | |
| 2. Header / #header | |
| 3. Navigation / #navbar | |
| 4. Content / #content | |
| 5. Left column / #leftcolumn | |
| 6. Right column / #rightcolumn | |
| 7. Sidebar / #sidebar |
| /** | |
| * Awesome website | |
| * @author YOUR_NAME_HERE | |
| * @version 0.1 | |
| */ | |
| /* ============================ RESET ============================ */ | |
| /* ===== Eric Meyer Reset ===== */ |
Changes with .dev domains in
mind.
Create /etc/pf.anchors/dev, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
| char IP[] = "xxx.xxx.xxx.xxx"; // Buffer | |
| IPAddress ip = WiFi.localIP(); | |
| ip.toString().toCharArray(IP, 16); | |
| //IP now contains IPAddress |
| // Nice Debugging Solution by GrooveFlotilla | |
| //#define DEBUG | |
| #ifdef DEBUG | |
| #define DEBUG_PRINT(x) Serial.print (x) | |
| #define DEBUG_PRINTDEC(x) Serial.print (x, DEC) | |
| #define DEBUG_PRINTLN(x) Serial.println (x) | |
| #else | |
| #define DEBUG_PRINT(x) | |
| #define DEBUG_PRINTDEC(x) | |
| #define DEBUG_PRINTLN(x) |