Picture Upload Preview, Compression and base64 Details (dShowImg64.js)
hello, everyone, the game has started. Welcome to this issue. This is a preview of the image upload. Finally, send source links.Don't talk too much nonsense. First picture. To upload images
Click on the blue box, the pc can select the file, the mobile terminal can choose to take photos or select pictures to upload.
Part HTML
<div class="i ...
Posted by Garethp on Mon, 28 Jan 2019 21:45:14 -0800
Common commands for basic processes
1. Configure global accounts
git config --global user.name
git config —global user.email
git config -l View all configurations
2. Get the remote code (xxx is the remote branch)
git remote add origin xxx
git clone xxx
tips: a.Create a version library if you create your own new project git init
b.If some hidden files are not visible in ...
Posted by taylormorgan on Sat, 26 Jan 2019 08:36:13 -0800
[git learning] An error occurred while restoring GitLab on the CenterOS system: tar: due to a previous error, unpacking backup failed
I. Problem Description
Today, after testing encrypted GitLab backup files, decrypting them, and then restoring GitLab, the recovery failed. The following error was reported:
tar: db: Unable mkdir: insufficient privilege
tar: db: Unable mkdir: insufficient privilege
tar: db/database.sql.gz: Unable open: No file or directory
ta ...
Posted by Panz3r on Sat, 26 Jan 2019 04:06:14 -0800
A gitlab can not use ssh login to solve the problem
Fault phenomena:
[root@web-m data]# git clone ssh://git@gitlab.lixinkuan.com:22022/lxk/core.git
Cloning into 'core'...
git@gitlab.lixinkuan.com's password:
Permission denied, please try again.
git@gitlab.lixinkuan.com's password:
Permission denied, please try again.
git@gitlab.lixinkuan.com's password:
Permission denied (publickey,gssapi-ke ...
Posted by Hikari on Sat, 26 Jan 2019 00:33:14 -0800
One-click modification of color in xib/Storyboard project
git address: https://github.com/winterwd/OneKeyChangeXIBColor
It can be downloaded directly (note that there is no Chinese in the path). If you are interested, read the article.
2018.9.2
This color-changing gadget was originally a problem that I met in my own work, so I made a gadget like this. At that time, it was limit ...
Posted by blinks on Fri, 25 Jan 2019 11:03:14 -0800
Use hexo+coding to build a free personal blog
1. Detection of node and npm
Check for node.js and npm first
$ node -v
//If so, the installation of node.js is successful!
$ node -v
v8.4.0
//If yes, the installation of npm is successful!
$npm -v
$ npm -v
5.3.0
2. install hexo
Run the following command in git-bash to install hexo
Install hexo Global
$ npm install -g hexo-cli
Create folders
he ...
Posted by gabeanderson on Fri, 25 Jan 2019 00:57:15 -0800
Create efficient ubuntu
virtualbox
Installation of virtual machine under windows brings infinite convenience for learning ubuntu, and saves computer money at the same time uuuuuuuuuuu
ubuntu
Ubununtu is installed in the virtual machine. There are many teaching materials on the internet.
Note: Storage space can not be the default 10G, it is easy to ...
Posted by Floetic on Thu, 24 Jan 2019 01:21:15 -0800
Analysis of Spark in Action on Kubernetes-Playground Construction and Architecture
Preface
Spark is a very popular big data processing engine. Data scientists use Spark and the related ecological big data suite to complete a large number of rich scene data analysis and mining. Spark has gradually become the industry standard in the field of data processing. However, Spark itself is designed to use static resource management. ...
Posted by stallingjohn on Tue, 22 Jan 2019 08:18:13 -0800
Navicat Premium v12 Activation
1 Introduction:
Navicat for MySQL is familiar to all. For developers, table building, view building, development model, database synchronization (very commendable), batch tasks, direct generation of ER diagrams, etc.Navicat Premium is similar to a family bucket, which contains a variety of database connections, azure sql, aws, etc. It can be s ...
Posted by evilgenius on Sun, 20 Jan 2019 19:33:13 -0800
RPC Framework Based on DotNet Core (I) Quick Start of DotBPE.RPC
0x00 introduction
DotBPE. RPC is an RPC framework based on dotnet core. Its father, DotBPE, aims to achieve an out-of-the-box micro-service framework, but it is almost meaningful, only in the stage of conception and attempt. But anyway, RPC is the foundation of micro-service, let's talk about the implementation of RPC first. The default impleme ...
Posted by gofeddy on Fri, 11 Jan 2019 13:15:11 -0800