Skip to content

Instantly share code, notes, and snippets.

View kevin-shu's full-sized avatar

Kevin Shu kevin-shu

  • Apple Buds, Inc.
  • Taiwan
View GitHub Profile
  1. Run django-admin startproject <project name>, you'll get a root folder and a project folder in it, they both called ""
  2. Create "apps", "static", "templates" folders in root folder.
  3. Edit setting.py in project folder, add dir path in it, like below:
# 设置模板目录
TEMPLATES = [
    {
        'DIRS': [os.path.join(BASE_DIR, 'templates')],
        ...
    },
@kevin-shu
kevin-shu / Front-end-Developer-Interview-Questions-TC.md
Created November 18, 2015 13:10 — forked from hanksudo/Front-end-Developer-Interview-Questions-TC.md
Front-end-Developer-Interview-Questions - 前端工程師面試問題集(繁體中文版)

前端工程師面試問題集

@版本 2.0.0

譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.

此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。

Rebecca MurpheyBaseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。

var http = require('http'),
fs = require('fs');
var count = 0;
http.createServer(function (req, res) {
// 計數器加一
count++;
// 將計數器中的數字寫入"count.txt"
7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777100233333332004777777777777777777777777777777777777777777777700300002333207703320777777777777777777777777777777777777777776033307777703277777423330577777777777777777777777777777777777770333307777777207777771333330777777777777777777777777777777777742333327777777707777777723333307777777777777777777777777777777743333330777777774777777771333333077777777777777777777777777777772333333077777777577777777133333330777777777777777777777777777770333333307777776107077777733333333337777777777777777777777777770333333067377777771047777707303333330777777777777777777777777777133330777733777770032777707777503333337777777777777777777777777433324735777705610372100007777765033330777777777777777777777777703335777776006777377207777102777770333277777777777777777777777771330777777777777772220777777777777703337777777777
12345
abc123
password
computer
123456
tigger
1234
a1b2c3
qwerty
123

I sometimes work on static sites and this is how I do it.

Pow is the best way to work on a static site locally. showoff.io is the best way to view it on any device anywhere. And once you're ready to ship, heroku can host it for free with fairly good performance.

Also, I assume you are willing to use the Terminal or command line.

Terminal commands will look like

$ ls
@-webkit-keyframes bgcolor { 0% { background-color: #ffccf2; }
50% { background-color: #ccffcc; }
100% { background-color: #ccffff; } }
@-moz-keyframes bgcolor { 0% { background-color: #ffccf2; }
50% { background-color: #ccffcc; }
100% { background-color: #ccffff; } }
@-ms-keyframes bgcolor { 0% { background-color: #ffccf2; }
50% { background-color: #ccffcc; }

The talented individual will be in charge of building out the features of techlist.asia which was launched recently. This is an exciting opportunity for the individual as our websites are visited by over a million users monthly from around the world. Our goal is to make techlist.asia the bridge for investors and startups in Asia.

Responsibilities for Full Stacked Engineer

  • Work with Product Manager on new features of Techlist (Specs will be handled by Product Manager and CTO)
  • Ensure features are rolled out according to schedule
  • Kill any bugs on the website
  • Iterate fast and quick
  • Current stack is Heroku + ROR + jquery
def set_access_control_headers
response.headers['Access-Control-Allow-Origin'] = 'http://traderail.com'
response.headers['Access-Control-Request-Method'] = '*'
end
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##