Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Nemo kingcc

💭
I may be slow to respond.
View GitHub Profile
@kingcc
kingcc / FillFormsByHotkey.js
Created Jun 7, 2020
Fill Out Forms Quickly With Hotkey
View FillFormsByHotkey.js
/**
* Fill Out Forms Quickly With Hotkey
*
* Usage:
* 1. Modify `contentsByKey`;
* 2. Paste these lines into website's console ( Ctrl/Cmd + Shift + I );
* 3. Focus target element which you what to fill in page,
* then press hot key, content will be fill in.
*
* Author:
@kingcc
kingcc / readMutiLines
Last active Mar 23, 2017
nodeJS read muti-lines datas from console.
View readMutiLines
/**
* nodeJS read muti-lines datas from console.
* @Author kingcc
* @DateTime 2017-03-23T13:29:22+0800
* @param {Function} cb callback
* @return {[type]} callback results
*/
function readMutiLines(cb) {
let datas = [];
process.stdin.setEncoding('utf8');
View gulpfile.js
var gulp = require('gulp');
var wiredep = require('wiredep');
var browserSync = require('browser-sync');
var reload = browserSync.reload;
var $ = require('gulp-load-plugins')();
var config = {
sassPath: './resources/sass',

bowerDir: './bower_components'
}
You can’t perform that action at this time.