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
import sig from "amazon-s3-url-signer"; | |
import fse from 'fs-extra'; | |
import request from 'request'; | |
import {exec} from 'child_process'; | |
import path from 'path'; | |
let home = process.cwd(); | |
module.exports = { | |
getS3Url: (path,time) => { |
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
{ | |
"version": "0.0.0", | |
"name": "react-chrome-extension-example", | |
"manifest_version": 2, | |
"description": "Example for react-chrome-extension-boilerplate", | |
"browser_action": { | |
"default_title": "React Chrome Extension Example", | |
"default_popup": "popup.html" | |
}, | |
"icons": { |
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
#!/bin/sh | |
# | |
# Run Check Only before commit. | |
RED='\033[0;31m' | |
if [ "$(git diff --cached | grep "+" | grep ".only")" != "" ]; then | |
echo "" | |
echo "${RED}COMMIT FAILED:" | |
echo "${RED}Some spec files have .only. Please remove only and try committing again." |
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
```shell | |
spotify play list https://open.spotify.com/user/spotifytaiwan/playlist/47baPUxFPZOL3WtwD5iFJz | |
``` |
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
(function($) { | |
$.kptalks = function(options) { | |
var settings = $.extend({ | |
api: 'http://api.kptaipei.tw/v1/category/40?accessToken=kp53f568e77303e9.28212837', | |
image: [ | |
'http://github.com/FuYaoDe/kp/blob/gh-pages/img/khhungry.png' | |
], | |
height: 450, // image height |