###DailyUi001 -Sign Up I started today my dailyUi challenge i hope you like this flat sign up form
A Pen by Tommaso Poletti on CodePen.
| Sub SplitData() | |
| 'Updateby20140617 | |
| Dim WorkRng As Range | |
| Dim xRow As Range | |
| Dim SplitRow As Integer | |
| Dim xWs As Worksheet | |
| On Error Resume Next | |
| xTitleId = "KutoolsforExcel" | |
| Set WorkRng = Application.Selection | |
| Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) |
| //除法函数,用来得到精确的除法结果 | |
| //说明:javascript的除法结果会有误差,在两个浮点数相除的时候会比较明显。这个函数返回较为精确的除法结果。 | |
| //调用:accDiv(arg1,arg2) | |
| //返回值:arg1除以arg2的精确结果 | |
| function accDiv(arg1, arg2) { | |
| var t1 = 0, | |
| t2 = 0, | |
| r1, r2; | |
| try { | |
| t1 = arg1.toString().split(".")[1].length |
| function gcd(a,b){ | |
| return a%b === 0 ? b: gcd(b, a % b); | |
| } | |
| function lcm(a,b) { | |
| return a * b / gcd(a, b); | |
| } | |
| function lcms(...nums) { | |
| let result = 1; |
| Heroku | |
| install | |
| https://toolbelt.heroku.com/ | |
| heroku login | |
| #cd project folder | |
| heroku create |
| var http = require('http'); | |
| module.exports = http.createServer(function(req, res){ | |
| console.log('%s %s', req.method, req.url); | |
| var body = 'Hello World'; | |
| res.writeHead(200, { 'Content-Length': body.length }); | |
| res.end(body); | |
| }); |
| const webpack = require('webpack'); | |
| const path = require('path'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| module.exports = { | |
| // Path to project entry points. | |
| entry: { | |
| // replace it with your project related path. |
| node_modules | |
| *.swp |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
###DailyUi001 -Sign Up I started today my dailyUi challenge i hope you like this flat sign up form
A Pen by Tommaso Poletti on CodePen.