This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from queue import Queue | |
from threading import Thread | |
def do_job(q): | |
while True: | |
print (q.get()) | |
q.task_done() | |
q = Queue() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.apple.desktopservices DSDontWriteNetworkStores true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NODE_OPTIONS=--max_old_space_size=4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
comm -2 -3 <(sort file1.txt) <(sort file2.txt) > file3.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:test] | |
command=/usr/bin/python /home/ubuntu/test.py | |
directory=/home/ubuntu | |
autostart=true | |
autorestart=true | |
startretries=3 | |
stderr_logfile=/home/ubuntu/test.err.log | |
stdout_logfile=/home/ubuntu/test.out.log | |
user=ubuntu |
NewerOlder