- app
- page1
- 1.0
js
css
test
+ 2.0
This file contains hidden or 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
| // Author baixin.zhao@rokid | |
| exports.rgb2hsv = function (rgb) { | |
| let R, G, B, H, S, V; | |
| R = (rgb >> 16) & 0xFF; | |
| G = (rgb >> 8) & 0xFF; | |
| B = rgb & 0xFF; |
This file contains hidden or 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 path = require('path'); | |
| var fs = require('fs'); | |
| module.exports = function(grunt) { | |
| var fromEncoding = 'utf8'; | |
| if (fs.existsSync('fb.json')) { | |
| fromEncoding = JSON.parse(fs.readFileSync('fb.json', 'utf8')).charset; | |
| } |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
| <script> | |
| (function () { | |
| function getPoints(data) { | |
| var points = []; |
This file contains hidden or 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
| /* | |
| * Proxy Auto-Config file generated by autoproxy2pac | |
| * Rule source: http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt | |
| * Last update: Sun, 08 Jan 2012 08:58:04 GMT | |
| */ | |
| function FindProxyForURL(url, host) { | |
| var PROXY = "SOCKS5 127.0.0.1:1080; SOCKS 127.0.0.1:1080"; | |
| var DEFAULT = "DIRECT"; | |
| //-- AUTO-GENERATED RULES, DO NOT MODIFY! |
This file contains hidden or 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
| <project name="shop rate build" default="build" basedir="."> | |
| <target name='convert'> | |
| <copy file="source.js" todir="target.js" encoding='utf-8' outputencoding='gbk' /> | |
| </target> | |
| </project> |