(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| % Nondeterministic finite automaton implementation | |
| % | |
| % Author: Cesar L. B. Silveira <cesarbs@gmail.com> | |
| % | |
| % This is public domain code. | |
| % | |
| % Usage: | |
| % | |
| % nfa(INPUT_STRING, DESCRIPTION, INITIAL_STATE, FINAL_STATES). | |
| % |
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<sys/socket.h> | |
| #include<features.h> | |
| #include<linux/if_packet.h> | |
| #include<linux/if_ether.h> | |
| #include<errno.h> | |
| #include<sys/ioctl.h> | |
| #include<net/if.h> | |
| #include<net/ethernet.h> |
| all:consumer producer | |
| CPPFLAGS+=-std=c++03 -Wall -pedantic | |
| CPPFLAGS+=-g -O0 | |
| CPPFLAGS+=-isystem ~/custom/boost/ | |
| LDFLAGS+=-L ~/custom/boost/stage/lib/ -Wl,-rpath,/home/sehe/custom/boost/stage/lib | |
| LDFLAGS+=-lboost_system -lrt -lpthread | |
| %:%.cpp |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "os" |
| def profile(func): | |
| from functools import wraps | |
| @wraps(func) | |
| def wrapper(*args, **kwargs): | |
| from line_profiler import LineProfiler | |
| prof = LineProfiler() | |
| try: | |
| return prof(func)(*args, **kwargs) | |
| finally: |
In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.
| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| // http://callmenick.com/post/slide-and-push-menus-with-css3-transitions | |
| (function(window) { | |
| 'use strict'; | |
| /** | |
| * Extend Object helper function. | |
| */ | |
| function extend(a, b) { |
Your blockchain must have all of the following properties:
If your blockchain is missing any of the above properties, it is not a blockchain, it is just a ledger.
| 0-mail.com | |
| 007addict.com | |
| 020.co.uk | |
| 027168.com | |
| 0815.ru | |
| 0815.su | |
| 0clickemail.com | |
| 0sg.net | |
| 0wnd.net | |
| 0wnd.org |