signExit = False
pCount = 0
while not signExit:
for p in processes:
if p.successful:
print p.get()
pCount += 1
if pCount == numTasks:
break
print pCount
import os, re
def purge(dir, pattern):
for f in os.listdir(dir):
if re.search(pattern, f):
os.remove(os.path.join(dir, f))
sudo
easy_install neo4j-embedded
| ||
133 |
| |
134 |
| |
132 | 135 |
|
133 |
| |
136 |
|
SELECT CCSA.character_set_name FROM information_schema.`TABLES` T,
information_schema.`COLLATION _CHARACTER_SET_APPLICABILITY` CCSA
WHERE CCSA.collation_name = T.table_collation
AND T.table_schema = "schemaname"
AND T.table_name = "tablename";
sudo easy_install supervisor
echo_supervisord_conf | sudo tee /etc/supervisord.conf
[inet_http_server] port=127.0.0.1:9001
sudo apt-get install dconf-tools
2) list of available options:dconf list /com/canonical/unity -2d/launcher/
hide-mode
super-key-enable
use-strut
3) always show panel (set
use-strut=true):
dconf write /com/canonical/unity-2d/launcher/use-strut true
dconf write /com/canonical/unity-2d/launcher/use-strut 0
Run mysql in the other bash, writing: "
set max_allowed_packet=100M"
May be, this parameter also can help:
net_buffer_length=1000000