This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container | |
.left | |
.content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('app') | |
.provider('buy', [function () { | |
// 可以被初始化設定的 | |
var vm = this; | |
vm.defaults = {}; | |
vm.defaults.counter = 1; | |
this.$get = [function() { | |
// 要處理的 | |
// 還可以用遞包技巧 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
// var buffer = require('buffer'); | |
var url = "/ws/Data/AQX/?$orderby=SiteName&$skip=0&$top=1000&format=json" | |
var Options = { | |
R1: { | |
hostname: 'opendata.epa.gov.tw', | |
path: url, | |
method: 'GET', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables | |
// | |
// Copy settings from this file into the provided `_custom.scss` to override | |
// the Bootstrap defaults without modifying key, versioned files. | |
// Table of Contents | |
// | |
// Colors | |
// Options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data":[ | |
{ | |
"heading": "前端工程師簡介", | |
"list": [ | |
{ | |
"name": "如何自學前端開發", | |
"url": "https://www.facebook.com/groups/358503154261390/permalink/696992570412445/" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"基隆市": { | |
"仁愛區": "200", | |
"信義區": "201", | |
"中正區": "202", | |
"中山區": "203", | |
"安樂區": "204", | |
"暖暖區": "205", | |
"七堵區": "206" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /your/root/path; | |
index index.html; | |
server_name you.server.com; |