Tag:Newly build

  • Hello IDEA

    Time:2021-5-9

    Scala-SBT First, install the scala plug-in. SBT plug-in is available by default in version 13 + Create a new project and select the scala project mode based on SBT Next, choose JDK and SBT, Scala version Click Finish to generate the following code structure diagram: whereThe build. SBT file is similar to Maven’s POM. XMLIn […]

  • Delete ghost menu (MS) in win10 menu- resource:AppName/Text )

    Time:2021-5-8

    Create a new. Bat file and enter the following @echo off taskkill /f /im explorer.exe taskkill /f /im shellexperiencehost.exe timeout /t 3 /NOBREAK > nul del %localappdata%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\TempState\* /q timeout /t 1 /NOBREAK > nul start explorer @echo on

  • Laravel tutorial: wechat payment access in 3 minutes

    Time:2021-5-8

    Wechat payment access, if not using mature development package, will be a huge workload. Rely on easywechat Rely on in the laravel project firsteasywechatThis bag composer require “overtrue/laravel-wechat”:”^4.0″ to configureAdd the key configuration of wechat payment in. Env WECHAT_PAYMENT_SANDBOX=false WECHAT_PAYMENT_APPID=wx64c*** WECHAT_PAYMENT_MCH_ID=150*** WECHAT_PAYMENT_KEY=ZZDDD*** WECHAT_PAYMENT_CERT_PATH=/home/secret/apiclient_cert.pem WECHAT_PAYMENT_KEY_PATH=/home/secret/apiclient_key.pem WECHAT_PAYMENT_NOTIFY_URL=https://www.mysite.com/gateway/wxpay/callback If you need additional configuration, you can run itphp artisan […]

  • Building personal website with pagoda panel

    Time:2021-5-7

    Original address:https://www.wjcms.net/archives/ Building personal website with pagoda panel Today we release a tutorial about how to build a personal website with a pagoda panel. Server installation configuration pagoda panel Reference article:https://www.wjcms.net/archives/centos Pagoda panel installation and common error handling New website Log in pagoda Panel > website > new site Input domain name, please parse first […]

  • JWT principle implementation code

    Time:2021-5-4

    JWT learning article: Chapter 1: JWT principle Chapter 2: JWT principle implementation code The last one learned the basic theory of JWT, this one will implement the code according to the principle. If you want to realize the encryption and decryption of JWT, you need to create a SecurityKey. You can generate a random key […]

  • Implementation of pop-up component with Vue. Extend()

    Time:2021-5-3

    Vue / cli is understood by default. The article is written in version 4. X Implementation of pop-up components Create a new CD notice folder in the components fileCreate a new notice.vue <template> <div class=”notice” v-if=”isShow”> <h4>{{title}}</h4> <p>{{content}}</p> </div> </template> <script> export default { name: ‘Notice’, props: { title: { type: String, default: ” }, […]

  • Add Windows terminal to right click menu

    Time:2021-4-28

    install Install in Windows store. quick start Win + R, enter “wt” to start quickly. Add to right click menu Win + R, enter “regedit” and create a new registry key “computer / HKEY”_ CURRENT_ Open “Windows terminal command” here, and edit the input in the right default itemwt -d “%V” test

  • Python + Flash + MySQL connect to database

    Time:2021-4-27

    1、 Preparation To install MySQL:MySQL installation Install the required Python libraries pip install flask pip install flask-sqlalchemy pip install pymysql 2、 Writing Python code from flask import Flask from flask_sqlalchemy import SQLAlchemy app=Flask(__name__) app.config[‘SECRET_ Key ‘] =’2333’ ා password app.config[‘SQLALCHEMY_DATABASE_URI’]=’mysql+pymysql://root:[email protected]:3306/runoob’ #Protocol: MySQL + pymysql #User name: root #Password: 2333 #IP address: localhost #Port: 3306 #Database […]

  • Spring boot configuration

    Time:2021-4-26

    1、 Set upSpringBootengineering/establishMavenengineering          Question: if the following page doesn’t come out       solve1: click back, next; Or clickCustom, set manually, removehttpsOfs,http://       IfPackageThe content of theGroupClose the page and rebuild the project. 2、 ASCII text, springboot custom start banner online generation tool Change the running Icon:https://www.bootschool.net/ascii     […]

  • Raspberry pie self starting

    Time:2021-4-25

    New service file sudo nano /usr/lib/systemd/system/xx_net.service [Unit] Description=xx_net [Service] Type=oneshot ExecStart=/home/pi/Desktop/XX-Net/start [Install] WantedBy=multi-user.target Specifies that the service starts automatically sudo systemctl enable xx_net.service

  • Installation tutorial – dragon service – software installation after system re installation

    Time:2021-4-24

    Background:Because of the computer, I often re install the system, and then need to install a lot of things, often forget how to install, in short, it is very boring, and then I need to search how to install and configure something. After all, I have a poor memory, so I can only search one […]

  • Examples of using actionfilter with special behavior in Yii

    Time:2021-4-23

    newly buildapp\filters\LoggingFilterinherityii\base\ActionFilter Loggingfilter function: record a log before and after the action of the specified request <?php namespace app\filters; use yii\base\ActionFilter; class LoggingFilter extends ActionFilter { public function beforeAction($action) { parent::beforeAction($action); // To do something printf(‘This is a logging for %s\beforeAction.%s’, $this->getActionId($action), PHP_EOL); return true; } public function afterAction($action, $result) { parent::afterAction($action, $result); // To […]