This file contains hidden or 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
#!/usr/bin/python | |
# Filename : hello.py | |
# Author: Yu Zhang, zyu.1106@gmail.com, www.yu-zhang.net | |
import couchdb | |
import time | |
import json | |
import MySQLdb | |
_host='localhost' |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// FindTopFive.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: http://www.yu-zhang.net/blog/2014/08/02/interview-question-c-find-5-words-with-highest-frequency-in-a-text-file/// |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// FindCombinationMatching.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: // |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// RemoveNode.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: http://www.yu-zhang.net/blog/2014/08/01/interview-question-c-remove-nodes-in-linked-list/// |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// CopyString.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: http://www.yu-zhang.net/blog/2014/08/01/interview-question-copy-a-string/// |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// AVLTree.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: // |
This file contains hidden or 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
INC=/usr/local/ssl/include/ | |
LIB=/usr/local/ssl/lib/ | |
all: | |
gcc -I$(INC) -L$(LIB) -o vpn_client vpn_client.c -lssl -lcrypto -ldl -fpermissive |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// FindFirstDuplicate.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: http://www.yu-zhang.net/blog/2014/07/31/interview-question-c-find-first-duplicate-in-an-array/// |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// Constants.h // | |
// ver 1.0 // | |
// Type: header file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: Header file for class constant, define some useful const // |
This file contains hidden or 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
/////////////////////////////////////////////////////////////////////////// | |
// FindUniqueGasStationUsingMap.cpp // | |
// ver 1.0 // | |
// Type: source file // | |
// Language: C++ // | |
// Platform: Dell Alienware M14x, Win8 // | |
// Author: Yu Zhang, Syracuse University // | |
// zyu.1106@gmail.com // | |
// yzhan39@syr.edu // | |
// Description: // |
NewerOlder