Skip to content

Instantly share code, notes, and snippets.

View david30907d's full-sized avatar
🎯
Focusing

張泰瑋(Chang Tai Wei) david30907d

🎯
Focusing
View GitHub Profile

Installation

通用步驟

  • 下載github專案

    • 複製github專案右上角的網址,選擇http(G5和儆勳選擇ssh的網址)
    • git clone 剛剛複製的網址
  • Linux :

    • 在clone下來的資料夾打開cmd 或 terminal
  • 安裝虛擬環境:virtualenv venv (需要先安裝pyhton 且 3.4 version is recommended)

@david30907d
david30907d / README-Template.md
Created July 4, 2016 01:42 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

Sublime3 我愛的熱建設定

點開 sublime -> preference -> Key bindings 把下面這串貼近去右邊即可

[
	//「Home or「End」 移動至行首 or 行尾
	{"keys":["ctrl+left"], "command":"move_to", "args":{"to":"bol"} },
	{"keys":["ctrl+right"], "command":"move_to", "args":{"to":"eol"} },
	// press F5 to refresh folder list!!

要中給我的虛擬機 舊的:ssh david@vm.stufinite.faith -p 17622

@david30907d
david30907d / 词性标记.md
Created January 2, 2017 10:04 — forked from luw2007/词性标记.md
词性标记: 包含 ICTPOS3.0词性标记集、ICTCLAS 汉语词性标注集、jieba 字典中出现的词性、simhash 中可以忽略的部分词性

词的分类

  • 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
  • 虚词:副词、介词、连词、助词、拟声词、叹词。

ICTPOS3.0词性标记集

n 名词

nr 人名

現去這邊把docker載下來 docker

用這個連結的教學 創建superuser superuser

把帳號密碼丟進去 就可以登入mongo了 pymongo

pymongo程式碼

from pymongo import MongoClient
import urllib

靜態網站

server {
    listen 8001;
    location / {
        root /home/david/htdocs/SentiMap;
	index index.html index.php;
    }

 location /images/ {

tensorflow GPU docker

nvidia docker照著nvidia的github裝好像會噴錯誤訊息

可以嘗試用這個看看 某部落格

  1. First, you need to install Docker:
    • curl -fsSL get.docker.com -o get-docker.sh
    • sh get-docker.sh
    • Use docker without sudo:sudo usermod -aG docker $USER

2000 cal per day

7 piece of protein (per day). should eat low oil at night. Soya beans or milk.

a piece of meat take 1/3 of space if your hand. dont eat meat with oil at night!!!

oil:

  • sauce:only powder format.
  • soup:清湯 不要油的
  • meat:吃白肉 去皮和肥肉
  • wine:dont drink wine. cal is a lot.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.