Android drag and drop startDragAndDrop drag and drop Glide to flexibly load stacked rounded corners, Kotlin (6) Android drag and drop startDragAndDrop drag and drop Glide to load stacked rounded corners, Kotlin (5) – CSDN blog article has been read 1.3k times. Android DynamicGrid: Drag to swap positions. Android DynamicGrid is a third-party open source […]
Tag: sta
C++ const members and static members
const members and static members Cont members of class const data members Const data members can only be initialized through a constructor initializer list. class Box {<!– –> private: const int length; //Length const int width; //width const int height; //height public: Box(); Box(int H, int W, int L); }; Box::Box(int H, int W, int […]
Android JNI static and dynamic injection methods
Author: MiniCode One of the more popular ways for Android to call C/C++ code is through JNI. There are two ways to implement local methods: static and dynamic Create a C project or C Module: After successful creation, the following files (CMakeLists.txt, nativelib.cpp) will be generated: Among them: CMakeLists file is used to package cpp […]
[python] Django–templates, static files, django template syntax, requests and responses
The notes are study notes compiled by myself. If there are any mistakes, please point them out~ [Django column] Django–Introduction to Django, installation of Django, creating projects, and getting started quickly Django – templates, static files, django template syntax, requests and responses Django – connect to mysql database Django–templates, static files, django template syntax, requests […]
[Memo] Install SSL certificate on Nginx server
You can install an SSL certificate on the Nginx or Tengine server to securely access the web server through HTTPS. This article describes how to install an SSL certificate for Nginx or Tengine server. Important This article takes CentOS 8.0 64-bit operating system and Nginx 1.14.2 as examples. Deployment operations may be different for different […]
How to install ansible in rhel 8.7Red Hat 8.7 install ansible
sudo subscription-manager register username:xxxx password:xxxxx sudo subscription-manager repos -enable ansible-2.9-for-rhel-8-x86_64-rpms subscription-manager release-list subscription-manager release – unset & amp; & amp; subscription-manager release – set=8.7 sudo yum install ansible Note: When encountering the following installation failure problems $ sudo yum -y install ansible Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 – AppStream […]
Hadoop3.3.4 distributed installation
Installation prerequisites: The Java environment has been configured and password-free SSH login between all machines. Note: flinkv1, flinkv2, and flinkv3 below are aliases of the three servers. 1. Cluster deployment planning Note: NameNode and SecondaryNameNode should not be installed on the same server Note: ResourceManager also consumes a lot of memory. Do not configure it […]
HackTheBox-Starting Point–Tier 2—Vaccine
Article directory 1 Vaccine testing process 1.1 Management 1.1.1 FTP anonymous login 1.1.2 SQL injection 1.2 Privilege Elevation 2 Topics One Vaccine testing process 1.1 Management 1. Port scan nmap -sV -sC 10.129.191.63 1.1.1 FTP anonymous login 2.FTP allows anonymous login and found backup.zip ftp 10.129.191.63 Unzip backup.zip, but a password is required: 3. Use […]
Vue CLI scaffolding installation, construction, configuration and CLI project analysis
Table of Contents 1. Quick Start with CLI 1. Official introduction: 2. Install Vue CLI: 3. Build Vue CLI: 4.IDEA configures Vue CLI: 2. Vue CLI project analysis 1. Structural analysis: 1.1 config 1.2 node_modules 1.3 src 1.4 static 2. Process analysis: 2.1 main.js 2.2 router/index.js 2.3 components/HelloWorld.vue 2.4 App.vue 2.5 index.html 1. Quick Start […]
Ubuntu20 installs opencv4 and opencv_contrib and multi-version coexistence
openCV uninstall The source code of openCV after installation should be retained as much as possible, because the installed openCV can be uninstalled directly from the build folder. Reference link: Visual Learning Notes 10 – Uninstallation, installation and multi-version management of opencv If you have installed openCV and want to reinstall it later, you need […]