Skip to content

Instantly share code, notes, and snippets.

@kytu800
kytu800 / public_build_zsh.sh
Last active December 24, 2022 15:49
public_build_zsh.sh
sudo apt-get -y install zsh git curl
sudo chsh -s $(which zsh) $(whoami)
curl -L http://install.ohmyz.sh | zsh
cd ~/.oh-my-zsh/themes
sudo curl -O https://gist.githubusercontent.com/kytu800/0d38f0857821fe95ab72/raw/bfdc12eda9036c459fa990eed970dfbf28da9242/kytu.zsh-theme
perl -pi -e 's/robbyrussell/kytu/g' ~/.zshrc
@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
hostname := iris.ParseHost(ctx.HostString())
curl http://我是.大平台.tw/
ctx.hostname //koa
req.hostname //express
@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;
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
Sub Worksheet_Activate()
Dim wSheet As Worksheet
Dim l As Long
l = 1
With Me
.Columns(1).ClearContents
.Cells(1, 1) = "INDEX"
.Cells(1, 1).Name = "Index"