How to configure Apache
In /etc/apache2/mods-enabled/alias
Alias /vod/ "/home/tangkai/www/vod/"
<Directory "/home/tangkai/www/vod/">
Options Indexes FollowSymLinks MultiViews
#UPDATE:2013-05-25 11:50 | |
127.0.0.1 localhost | |
#SmartHosts START | |
#Google Services START | |
203.208.46.200 0.docs.google.com | |
203.208.46.200 0.drive.google.com | |
203.208.46.200 1.docs.google.com |
public class Solution { | |
public static void main(String args[]){ | |
System.out.println("Hello world"); | |
new java.util.Scanner(System.in).nextLine(); | |
} | |
public boolean exist(char[][] board, String word) { | |
// Start typing your Java solution below | |
// DO NOT write main() function |
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/10/8 20:20:15 | |
File Name: FlipGame.cpp | |
Description: 引用参数 | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <queue> |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/10/8 20:20:15 | |
File Name: FlipGame.cpp | |
Description: 搜索时,注意保护现场,传数组指针进来先copy一份 | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <vector> |
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/11/1 11:24:29 | |
File Name: PaidRoads.cpp | |
Description: | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <vector> |
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/10/17 13:16:31 | |
File Name: RedAndBlack.cpp | |
Description: | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <vector> |
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/10/8 20:20:15 | |
File Name: EXTENDED_LIGHTS_OUT.cpp | |
Description: 搜索时,注意保护现场,传数组指针进来先copy一份 | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <vector> |