许多严密周全的哲学系统经不起历史的推排销蚀,在整体上都垮塌了,但是它们的一些个别见解还为后世所采取而未失去时效。好比庞大的建筑物已遭破坏,住不得人,也唬不得人了,而构成它的一些木石砖瓦仍然不失为可资利用的好材料。
Features:
-
find all the posts of someone in a specific group / All groups he joins
-
find all the people in a sepcific region in a group
-
send mail automatically
execute
./DoubanAgent.py -h
for the usage
this script is used to send mail to lots of people in bcc, if you don't have the permission to send mail to that group of people.
First of all, you need to set up an SMTP server. It is an easy step in Mac, in which the Postfix has been pre-installed. Check this page for the settings
Then you need to expand that mail group to get the email list, and save it to a file (emailListFile). the format of the file should be:
Then call the script:
./sendmail.py [email protected] emailListFile contentFile
use Node.js to received an uploaded .tex file, and return the corresponding .pdf file as response
Script to create batch files.
./createFileBatch.sh "10M" 20 # create 20 files each size is 10M
JavaScript version douban agent.
API:
function doubanGroup: Get group members group by region
function exportDoubanItems: export the books/movies the user collected to CSV format
class DoubanItemsExportor: Get the books/movies the user collected.
function convertDoubanCsvToGoodReadsCsv: convert Douban books CSV file to GoodReads importable CSV format
function importDoubanRating2Imdb: import Douban movies to imdb.com
Retrieve all problems of leetcode
Retrieve daily stock price and send mail based on certain strategies
A toy Neural Network code from scratch, using MNIST to train the network with naive numerical gradient or backpropagation
Solver of the game unblock-me-free