Problem How to move mediawiki from ubuntu to wsl? Solution Notation : where your wiki locate : database wiki uses : user of database Assuming we have ...
分类:
其他好文 时间:
2019-07-07 09:40:45
阅读次数:
143
https://www.youtube.com/watch?v=hCF2_0G337Y what are you guys laughing at? oh, i wouldn't worry about it You said something funny, didn't you? The guy ...
分类:
其他好文 时间:
2019-07-04 00:17:50
阅读次数:
121
一、概念准备 在理解桥接模式之前,先要理解面向对象程序设计中的两个概念: 类的功能层次结构:假设现在有一个类Something,这个类有一些成员属性和成员方法,但是现有的功能不能满足要求,因此我们想扩展这个类,给这个类创建一个子类SomethingBetter来继承它,并在子类中添加更多属性和方法。 ...
分类:
其他好文 时间:
2019-06-29 14:54:16
阅读次数:
114
https://www.cnblogs.com/joey0210/p/3408349.html (function($){ //do something; })(jQuery); ...
分类:
Web程序 时间:
2019-06-28 18:05:08
阅读次数:
108
1. 前言 在前面博文关于ESP8266WiFiWebServer的例程中,大家可以发现,博主基本上都是手动拼装html内容返回,html的内容被固定写在我们的Arduino ESP代码中。 那么这样就有 ...
分类:
其他好文 时间:
2019-06-18 23:02:36
阅读次数:
2560
//程序演进1 //thread loop,忙等Busy wait //不断的检查是不是该做什么事情了;为了减少CPU占用,sleep睡眠一会 //while (1) //{ // do_something(); // sleep(time); //} //程序演进2 //while (1) //{... ...
分类:
编程语言 时间:
2019-06-16 17:29:51
阅读次数:
116
import 'package:sensors/sensors.dart'; accelerometerEvents.listen((AccelerometerEvent event) { // Do something with the event. }); gyroscopeEvents.lis ...
分类:
其他好文 时间:
2019-06-07 20:46:08
阅读次数:
97
变量的解构赋值 数组的解构赋值 基本用法 ES6 允许按照一定模式,从数组和对象中提取值,对变量进行赋值,这被称为解构(Destructuring)。 以前,为变量赋值,只能直接指定值。 ES6 允许写成下面这样。 上面代码表示,可以从数组中提取值,按照对应位置,对变量赋值。 本质上,这种写法属于“ ...
分类:
其他好文 时间:
2019-06-06 18:45:03
阅读次数:
123
# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See fo... ...
分类:
Web程序 时间:
2019-05-28 11:11:08
阅读次数:
118
假设当前页面的js文件中有如下函数: 函数A是一个按钮上绑定的onclick函数处理; 那么每次点击按钮触发A函数之后,都会导致B函数的执行,进而 $("#元素id") 这个元素就会绑定一次点击事件。 如果多次触发A函数之后,导致 $("#元素id") 上面绑定多次的点击事件, 然后再点击 $("# ...
分类:
其他好文 时间:
2019-05-26 19:46:05
阅读次数:
320