Using devpi to build pypi private server in Intranet

Install devpi Summary devpi consists of three components: Devpi server: provides image and cache functions, deploys in the DMZ area of the enterprise, and improves the efficiency of downloading python package Devpi Web: provide web interface and query function Devpi client: command line tool, providing package upload and other functions d ...

Posted by d_barszczak on Thu, 30 Apr 2020 16:57:21 -0700

android development modify status bar background color and icon color

Change the status bar background and icon colors By default, it's white on black. Now it's black on white First, look at the renderings: Screenshot_2018-01-03-19-20-27-797_com.yiban1314..png 1. Status bar background is white: set in style <item name="colorPrimaryDark">@color/white</item> 2. Write to modify the color of the s ...

Posted by mcollyns on Thu, 30 Apr 2020 13:11:17 -0700

Gorang multithreaded crawler

This is a golang crawler demo. It goes to the homepage of a beauty picture website Adopt the way of gorang multithreading to crawl pictures and save the crawled pictures locally In the code, it is useful to use chan, the data analysis framework of goquery web page, to control goroutine to download http://www.umei.cc/ The header requested by ...

Posted by phu on Thu, 30 Apr 2020 11:05:50 -0700

. NET using DAO.NET entity class model to operate database

1, New project Open vs2017 and create a new project named orm1       2, New database Open SqlServer database, create new database orm1, and create new table student.   3, New ADO.NET entity data model     Click new connection here to create a new database connection. In fact, the server name input. Represents the local server, and the defa ...

Posted by blmg911 on Thu, 30 Apr 2020 09:35:34 -0700

Download a few pictures on Weibo

Today, when I was playing Weibo, I accidentally thought of using python to crawl and download a few pictures. However, it is found that Weibo is different from ordinary websites, To get a little content, you need to get a cookie from the browser first. Otherwise, it can't jump automatically. At present, I haven't found a good solution, so I fo ...

Posted by nekoanz on Thu, 30 Apr 2020 07:01:10 -0700

Ansible column: play ansible in one step

Play Ansible in one step I wrote a column about Ansible. It's very systematic from 0 to 1. It's about 39W words. There are more than 430 pages of pdf, only 39 yuan. Address: https://blog.51cto.com/cloumn/detail/83 Column contents: 1. Learning is not confused: how can Ansible master 2. Entering the Ansible world: usage overview and initial ...

Posted by huhn_m on Thu, 30 Apr 2020 00:37:41 -0700

Using Python as a hacker to brutally crack wifi password

The first few articles mainly introduced the knowledge of using delphi to develop back door and simple remote control. Some partners said delphi was out of date and nobody used it. But I think programming language is just a way to realize functions, just use the language you are familiar with or like. DELPHI hacker programming (1): implementati ...

Posted by QbertsBrother on Wed, 29 Apr 2020 20:49:33 -0700

Laya2.x game engine introduction series: pixel level restore text

Text in the game The first article in our series tells you how to render the text "Hello World" on the stage in the game. However, the elder brother who often plays the game must know that there are not only ordinary words in the game, but also all kinds of fancy fonts. How can we realize these words? We can see that in the screens ...

Posted by sicKo on Tue, 28 Apr 2020 23:54:35 -0700

Very simple string resident pool, do you really know about it

Yesterday, I saw the discussion of string resident pool in C ා in the group. It's so hot. After several rounds of discussion, there are lots of theories, but it's awkward to provide evidence. Although this is very basic, a better answer is not so easy. I will share this article with you in my ability 1: Ubiquitous pool After so many years of d ...

Posted by stride-r on Tue, 28 Apr 2020 17:46:35 -0700

powershell modifies the path of user profile, and outlook defaults to the path of OST file

In the actual operation and maintenance, the user configuration and outlook default OST file path are on Disk C, which often leads to insufficient space on Disk C, system crash or other problems that result in the inability to access the desktop, documents, favorites and other data under disk C. It's OK to manually cut configuration and config ...

Posted by wesley1189 on Sun, 26 Apr 2020 08:30:05 -0700