Tag:works

  • Solutions to slow golang go get

    Time:2021-7-24

    Solutions to slow golang go get go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct This work adoptsCC agreement, reprint must indicate the author and the link to this article

  • Creating temporary tables with MySQL

    Time:2021-7-22

    When the query is not complex, you can create a temporary table, which is simpler SELECT * FROM (SELECT * FROM roles s left join role_has_permissions r on s.id=r.role_id ) temp WHERE temp.name=”Founder” This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Second package Overtrue / easy SMS component, compatible with hyperf2.0, supporting co programming, easy to use

    Time:2021-7-22

    Project address:github.com/hyperf-libraries/sms 1. Installation composer require hyperf-libraries/sms:2.0.0 2. Publish configuration php bin/hyperf.php vendor:publish hyperf-libraries/sms 3. Basic call use HyperfLibraries\Sms\Contract\SmsInterface; This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Sharing cookies with multiple domain names

    Time:2021-7-18

    Adding hosts supports modifying vue.config.js devServer{ //Supports modifying hosts access disableHostCheck: true } JS cookies package for multi domain settings Cookies.get(Tokenkey, { domain: ‘.codeinfo.cn’ }) vue hosts This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Problems encountered in installing air on MAC 11.2

    Time:2021-7-16

    Zsh: command not found when installing air www.cnblogs.com/dadonggg/p/1109777…My main problem is. Bash_ After the profile file is configured, the same configuration is not configured in. Zshrc, causing air – D to execute not found 2: Then I executed air – D successfully, but there was another problem after modifying the file /Users/xxxx/xxxx/xxxx/xxxx/tmp/main]failed to kill PID […]

  • Mac modify gopath directory

    Time:2021-7-15

    Execute go env is always present. Bash_ The difference between profile configuration and env display is. Bash_ Profile file and. Zshrc should be configured vim ~/.bash_profile # Setting PATH for Python 3.5 # The orginal version is saved in .bash_profile.pysave #PATH=”/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}” #export PATH export GOPATH=$HOME/go GOROOT=/usr/local/go export GOROOT #GOROOT bin export PATH=$PATH:$GOROOT/bin #GOPATH bin export […]

  • Brush the second question of leetcode with rust

    Time:2021-7-9

    Problem You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.You may assume the two numbers do not contain any leading zero, except the number 0 itself. […]

  • Error code: 1064 when creating trigger in MySQL

    Time:2021-7-8

    original CREATE TRIGGER user_insert AFTER INSERT on users FOR EACH ROW BEGIN INSERT INTO num( ) VALUES (new.id ); After modification delimiter // CREATE TRIGGER user_insert AFTER INSERT on users FOR EACH ROW BEGIN INSERT INTO num( ) VALUES (new.id ); END// This work adoptsCC agreementReprint must indicate the author and the link of this […]

  • PhpMyAdmin setting external access of root account

    Time:2021-7-6

    Log in to phpMyAdmin first This work adoptsCC agreementReprint must indicate the author and the link of this article Due to my limited level, this article will inevitably have some mistakes or inaccuracies or poor expression, if there is anything wrong, please criticize and correct.

  • Java data structure summary (incomplete)

    Time:2021-7-3

    Array A data structure to store elements of same type in a contiguous locations. The size of an array must be provided before storing data. Operation time complexity: Accessing time: O(1). Because data are stored in contiguous locations. So accessing an element at i in memory, we can just go to start + i * […]

  • Vue — error report after deleting helloworld.vue

    Time:2021-7-2

    errors potentially fixable with the –fixSolution of option error report The solution is: ① Find the. Eslintrc. JS folder in the project code and comment out ‘@ Vue / standard’ in extensions Before revision “`html module.exports = { root: true, env: { node: true }, extends: [ ‘plugin:vue/essential’, ‘@vue/standard’ ], parserOptions: { parser: ‘babel-eslint’ }, […]

  • Android development challenge | the ultimate challenge: weather applications

    Time:2021-7-1

    Let your creativity shine in the last week of Android dev challenge! In last week’s topic, we challenged your speed, but in the last week, we hope to fully show your strength. The challenges are as follows: Week 4: weather applications Create a single screen weather forecast application. You must arrive at 23:59 PM PST […]