Analysis of the php program configuration of Kodex Explorer open source network disk
config/setting_user.php append content (all of the following, be careful not to use Chinese quotation marks, double quotation marks and semicolons)
//[specify multiple languages and keep Chinese only]
$GLOBALS['config']['settings']['language'] = 'zh-CN';
//[automatically create a new directory when creating a user-defined group]
$GLOBALS['conf ...
Posted by kingconnections on Sun, 01 Dec 2019 17:48:22 -0800
JS daily question: how to understand Proxy in es6?
20190124 question:
How to understand Proxy in es6?
Test question analysis: the understanding of proxy may extend to the two-way binding of vue
Proxy definition
It can be understood that a layer of interception is set up for the target object, through which external access to the object must be intercepted
Simple example:
const obj = new Proxy( ...
Posted by sonnieboy on Sat, 30 Nov 2019 08:15:14 -0800
shader fuzzy processing
1 mean fuzzy scheme (primary mean)
Shader "Custom/Edu/SimpleBlur" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_BlurRadius("Blur Radius",Range(0,30)) = 5
}
CGINCLUDE
#include "UnityCG.cginc"
fixed4 _Color;
sampler2D _MainTex;
...
Posted by ben_johnson1991 on Sat, 30 Nov 2019 06:11:02 -0800
Android fragment for static loading
The interface after static loading is as follows. The two fragments are located on the left and right of an activity respectively:
There is a Fragment on the left and a Fragment on the right, which just fills the whole activity. There can be multiple fragments in an activity. The meaning of fragments is that the interface can be divided int ...
Posted by iyia12co on Thu, 28 Nov 2019 04:01:54 -0800
jQuery source parsing style operation modules scrollLeft and scrollTop
scrollLeft and scrollTop are used to get / set scroll bars, as follows:
scrollLeft(val); read or set the horizontal scroll bar distance of the entire page
scrollTop(val); read or set the vertical scroll bar distance of the entire page
If no value of val is passed in, the scroll bar distance will be obtained. If val is set, the scroll bar dist ...
Posted by mark123 on Mon, 25 Nov 2019 07:07:24 -0800
c. common methods and processing of pictures
Summarize some common operations related to pictures
1. I have some picture files on hand. I want to convert them into Image objects in c, and then use them.
public static System.Drawing.Image FromFile (string filename);
For example, create a winform project and set the background image of the form.
public partial class Form1 : Form
{
...
Posted by e33basketball on Sun, 17 Nov 2019 06:09:34 -0800
Using LiveData to implement EventBus
Introduction
This article is a study note written after learning the article of the big guy and doing it yourself. The article of the big guy is well written. I can't describe it clearly by myself, so many parts of this article directly quote the article of the big guy.
Source code: https://github.com/LinYaoTian...
Design sketch:
Tip: it's best ...
Posted by wgh on Fri, 15 Nov 2019 02:14:53 -0800
jQuery source parsing DOM operation module package element details
This section describes the package element sub module in the DOM operation module, which can replace the currently matched element with the specified DOM element, as follows:
wrap(html) adds a layer of DOM elements to the outer layer of each matching element. This method traverses the matching element collection and calls the. wrapAll() method ...
Posted by travelbuff on Thu, 14 Nov 2019 20:43:43 -0800
Python 3.7 - basic list
1. Basic declaration and assignment of list
1 #Declare an empty list variable = [] Or variable = list()
2 var = [1]
3 var2 = list()
4 # Declare a list with data
5 var = [1,2,3,'One','Two','Three']
6 print(var)
7 #Output results:[1, 2, 3, 'One', 'Two', 'Three']
8
9 var2 = list(var)
10 print(var2)
11 #Output results:[1, ...
Posted by RunningUtes on Thu, 14 Nov 2019 11:23:50 -0800
Under the shader of OpenGL learning
Previous section On the shaders of OpenGL learning In this section, we will create a shader class and use the C + + file stream to read the contents of the shader.
I. create shader class
We can directly right-click the solution and select new class. This will automatically generate a. h and a. cpp file. We can also create a. h a ...
Posted by vinnier on Tue, 12 Nov 2019 07:23:00 -0800