Skip to content

Instantly share code, notes, and snippets.

:octocat:
learning

wzc0x0

:octocat:
learning
Block or report user

Report or block wzc0x0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wzc0x0
wzc0x0 / requestOrder.js
Created Jul 15, 2019
ajax order by request time
View requestOrder.js
const url = "https://randomuser.me/api/?results="
let count = 0
let results = []
let cbCount = 0
while (count < 5) {
count++
asyncF(count)
}
@wzc0x0
wzc0x0 / style.css
Created Mar 18, 2019
滚动条css样式
View style.css
/* 滚动条 */
::-webkit-scrollbar-thumb:horizontal { /*水平滚动条的样式*/
width: 5px;
background-color: #CCCCCC;
-webkit-border-radius: 6px;
}
::-webkit-scrollbar-track-piece {
background-color: #fff; /*滚动条的背景颜色*/
-webkit-border-radius: 0; /*滚动条的圆角宽度*/
}
View get-admin-win10.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
[HKEY_CLASSES_ROOT\*\shell\runas]
@="获取超级管理员的所有权限"
"Icon"="C:\\Windows\\System32\\imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
View update_gfwlis.sh
#!/bin/bash
# update_gfwlist.sh
# Author : VincentSit
# Copyright (c) http://xuexuefeng.com
#
# Example usage
#
# ./whatever-you-name-this.sh
#
# Task Scheduling (Optional)
@wzc0x0
wzc0x0 / dialog.vue
Last active Oct 14, 2018
dialog.html
View dialog.vue
<template>
<div>
<div class="page">
<button @click="isShow = true">点击</button>
</div>
<transition name="fade">
<div class="dialog" v-if="isShow" @click="isShow = false">
<div class="dialog-overlay"></div>
<div class="dialog-content">
<div class="box"></div>
View luci-framework.md

0. 资源

1. 总述

上一篇总结了uhttpd的工作方式, openwrt中利用他作为web服务器, 实现客户端web页面配置功能. 对于request处理方式, 采用的是cgi, 而所使用的cgi程序就是luci, 工作框架如下图所示:

You can’t perform that action at this time.