Skip to content

Instantly share code, notes, and snippets.

#Node - File Paths

##File Paths Node has a path module which can be used to manipulate paths.

###Normalizing Paths Paths can be stored in different ways and it is neccessary to ensure that the path is standardized.

var path = require('path');
path.normalize('/foo/bar//baz/asdf/quux/..');
@wowdyaln
wowdyaln / bopomofo_hsu.custom.yaml
Last active January 9, 2018 08:21 — forked from lotem/squirrel.custom.yaml
【鼠鬚管】定製檔
patch:
switches:
- name: ascii_mode
reset: 1
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]

開源之道

Original transcript: http://allisonrandal.com/2012/04/15/open-source-enlightenment/

這幾年來,我慢慢覺得,我們參與開源社群,就像是在一條道路上並肩而行:這不僅讓我們成為更好的程式設計者,也讓我們通過與人合作,而成為更好的人。

您可以將它想成一條修行之道,讓身而為人的我們能夠不斷成長。接下來,我想談談我對開源世界的個人觀點,希望能與您分享。

首先,人是一切開源專案的核心。程式碼是很重要,但最核心的永遠是人。

@wowdyaln
wowdyaln / .gitignore
Last active June 3, 2017 06:35 — forked from octocat/.gitignore
Some common .gitignore configurations
# normal file #
###################
*.jpg
*.mp3
*.png
*.gif
*.wav
# Compiled source #