Conversion from 10 to 33
1, start
I saw this question post on CSDN yesterday:< Writing a stored procedure from 10 to 33 in SQL The question of the original post is as follows:
Urgently seek 10-to-33-digit code.
I want to create a stored procedure "T10TO33" in SQL to convert 10-digit data into 33-digit data.
The 33-ary rule is: 1,2,3,4,5,6,7,8,9,A,B, ...
Posted by koolswans on Sun, 24 Mar 2019 23:09:29 -0700
NGUI WYSIWYG UIFont, UIFontMaker
NGUI WYSIWYG UIFont, UIFontMaker
In the last blog, I introduced the structure of UIAtlas and the principle of UIAtlasMaker generating Atlas.( NGUI WYSIWYG UIAtlasMaker, UIAtlas According to the behavioral context of UIAtlas, we should first introduce UIFont, but find that UIFont script is very long and a little scared. This is mainly ...
Posted by timolein on Sun, 24 Mar 2019 16:21:28 -0700
Drawing with tkinter module in Python (continued)
8. Display Text
Write on the canvas with create_text. This function only needs two coordinates (the position of the text x and y) and a named parameter to accept the text to be displayed. For example:
>>> from tkinter import*
>>> tk = Tk()
>>> canvas = Canvas(tk,width=400,height=400)
>>> canvas.pack()
>&g ...
Posted by sandthipe on Sat, 23 Mar 2019 05:33:53 -0700
Making PATHINFO Mode Function Similar to ThinkPHP Framework (2)
From the last release< Making PATHINFO Mode Function Similar to ThinkPHP Framework (Article address: http://www.cnblogs.com/phpstudy2015-6/p/6242700.html ) It's been many days, so let's finish the rest tonight.
The previous article has implemented the PATHINFO mode URL, that is, when we visit the site built by MVC mode, we only need to add ( ...
Posted by scarhand on Thu, 21 Mar 2019 01:36:52 -0700
Data Structure Skills Examination System
Through one month's efforts, the data structure skills examination system was finally implemented in C++ language (including C language interpolation). The greatest advantage of the system is that it can detect whether students have inserted U disk when answering questions, and open auxiliary tools such as word and notebook. This system is divi ...
Posted by briant on Wed, 20 Mar 2019 17:15:27 -0700
[ES6] These are the common ways to manipulate arrays.
(1) Array creation
How to use Array arrays
new Array(); // // Create an array
new Array([size]); // Create an array and specify the length. Note that it's not the upper limit, it's the length.
new Array(element0, element1, ..., elementn); // Create an array and assign values
const array = new Array();
array[0] = '1';
The me ...
Posted by wildwobby on Wed, 20 Mar 2019 16:54:28 -0700
Python crawler introductory tutorial 51-100 Python 3 crawler downloads ts video through m3u8 file - Python crawler 6 operation
What is m3u8 file
M3U8 file refers to M3U file in UTF-8 encoding format.M3U file is an index plain text file.
When it is opened, the playback software does not play it, but finds the corresponding network address of audio and video files according to its index for online playback.
The original video data is divided into many TS streams, and the ...
Posted by psunshine on Mon, 18 Mar 2019 00:45:27 -0700
Cf997C. Sky Full of Stars
meaning of the title
Title Link
\ (ntimesn) grid, dyed with three colors, and asked the number of schemes with one row/column all of the same color at the end.
Sol
Orz fjzzq
The final answer is this.
\[3^{n^2} - (3^n - 3)^n - \sum_{i = 1}^n (-1)^i C_n^i 3(3^{n-i} - 1)^n + (3^i - 3)(3^{(n-i)n}) \]
Let me force a wave of explanations.
First, you ...
Posted by Jtech inc. on Sun, 03 Mar 2019 19:15:22 -0800
laravel5.5 - Middleware
As a request and response filter, Middleware in laravel has two main functions.
1. Intercept and filter requests before they reach the controller layer. Only validated requests can reach the controller layer.
2. Or filter the data or page response that has been computed in the controller before it returns, and the response that has been v ...
Posted by ForgotMyPass on Tue, 26 Feb 2019 02:27:22 -0800
22-An Overview of Compoile Process-Event Flow Composition of Web Pack Source Code
Uh, here we are at last...
newCompilation(params) {
// ...
this.applyPlugins("this-compilation", compilation, params);
// 31
console.log(this._plugins['compilation'].length);
this.applyPlugins("compilation", compilation, params);
return compilation;
}
MMP, with 31 functions, is expected to be written next year.
This ar ...
Posted by Flying Sagittarius on Thu, 14 Feb 2019 23:15:18 -0800