Skip to content

Instantly share code, notes, and snippets.

@kytu800
kytu800 / kytu.zsh-theme
Last active August 29, 2015 14:07
zsh promt hostname
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT='%{$fg_bold[white]%}%M %{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
## Docker for Front-End Developer
# 解決問題
- "Works on my machine!"
- 新人 on-board 可快速布署開發環境
- 小巧敏捷,較 vm 節省資源
@kytu800
kytu800 / untitled.js
Created May 22, 2014 07:04
Untitled.js 計畫
# Untitled.js 計畫
根據 [IT world 投票][1],身為一個軟體工程師,最困難的事情就是命名。
由於名字太難想了,於是就叫 Untitled 吧! (事實上這裡希望徵求好名字阿 xD)
想法起源於 Dcard 跟 一些接案子的經驗,發現透過執行真實專案能學到的往往更多。
而與別人團隊合作開發又是另外一個層次的問題!
@kytu800
kytu800 / 第六題.txt
Created April 8, 2014 12:34
第六題
Handel : http://en.wikipedia.org/wiki/George_Frideric_Handel
Augustan_literature : http://en.wikipedia.org/wiki/Augustan_literature
George-Frederick-Handel Facts : http://biography.yourdictionary.com/george-frederick-handel
Tobians 跟 Handel 的關係 : http://en.wikipedia.org/wiki/Alceste_(Handel)

MacOS

Download from here:

http://d.pr/f/QE3d

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to:

@kytu800
kytu800 / test
Created January 28, 2014 15:52
Talent Seeker
#A. Use smart hiring strategies
### Use Smart Hiring Strategies
Recruitments provide opportunities for your business to align employee skill sets to your mission and goals and planning for departmental and individual growth. Proper planning of the hiring process and careful evaluation of the needs of your business are key to hiring the right person for the job.
**Newly Created Position**
When a new position is to be opened, it is important to:
* Understand and take into consideration strategic goals that your business have in plan for this position and determine if there are any upcoming changes that may have an impact on this position;
@kytu800
kytu800 / ML_final_report
Created January 11, 2014 12:07
ML final report
#Machine Learning Final Project
#最開始
Raw data 測試
> 一開始喪失隊員Q_Q
#預處理
crop
scale
median filter
var async = require('async'),
path = require('path'),
fs = require('fs'),
$ = require('jquery').create();
function main(){
var request = require('request');
var requestURL = "http://tw.news.yahoo.com/sentiment/";
var mood = new Array();
@kytu800
kytu800 / gist:7447716
Created November 13, 2013 11:40
gist
http://ppcdn.500px.org/51964356/2620adbb8a71859e710bf808894c03824f7c3b6e/2048.jpg
http://ppcdn.500px.org/51970388/a911fdd2cf6adc38d7dbfaf821323272847dc00a/2048.jpg
http://ppcdn.500px.org/51961984/a867c4c451b938e25faa2609878851871ab37935/5.jpg
http://ppcdn.500px.org/51970460/32451e4c30c5c5954c53efd4c712e725387e681a/5.jpg
http://ppcdn.500px.org/51963698/dd9c5243fe2ac543c44e78446a5c2ba410eff37b/5.jpg
Sub Email_Sheet()
Dim oApp As Object
Dim oMail As Object
Dim LWorkbook As Workbook
Dim LFileName As String
'Turn off screen updating
Application.ScreenUpdating = False