<!DOCTYPE html>
<html lang="en">
<head>
...
! <tab>
In [1]: def hi():
...: yield 'jack'
...: yield 'bob'
...:
In [2]: hi()
Out[2]: <generator object hi at 0x7ff64a27c0b0>
In [11]: h = hi()
open in firewall | |
On client: | |
# nc -vz 192.168.1.29 80 | |
Connection to 192.168.1.29 80 port [tcp/http] succeeded! | |
On server: | |
# nc -vl 192.168.1.29 80 | |
Connection from 192.168.1.28 port 80 [tcp/http] accepted |
create table temp(t int); | |
insert into temp(t) select random()*100 select from generate_series(0, 1000000); |
sync | |
- client waits until primary data replicated to at least one secondary | |
aysnc | |
- client is done once data is in primary |
In this chapter we will be designing a simple pastebin. Our pastebin will be able to
Some ‘views’ that the user will see are