1.字背景颜色范围:40~49
40:黑, 41:深红, 42:绿, 43:黄色, 44:蓝色, 45:紫色, 46:深绿, 47:白色
字颜色:30~39
import CryptoJS from "crypto-js"; | |
const LaravelEncrypt = function (key) { | |
this.key = key; | |
} | |
LaravelEncrypt.prototype.decrypt = function (encryptStr) { | |
encryptStr = CryptoJS.enc.Base64.parse(encryptStr); | |
let encryptData = encryptStr.toString(CryptoJS.enc.Utf8); | |
encryptData = JSON.parse(encryptData); |
#!/usr/bin/env sh | |
# LINK: https://community.c9.io/t/updating-mongodb/3914 | |
# LINK: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ | |
sudo apt-get remove mongodb-org mongodb-org-server | |
sudo apt-get autoremove | |
sudo rm -rf /usr/bin/mongo* |
<?php | |
function ipInNetwork($ip, $network) { | |
if(!filter_var($ip, FILTER_VALIDATE_IP)) { | |
throw new \Exception($ip . '不是有效IP地址'); | |
} | |
if(!preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d+/', $network)) { | |
throw new \Exception($network . '不是有效网段设置,如:192.168.0.1/24'); | |
} |
192.30.253.112 github.com | |
192.30.253.119 gist.github.com | |
185.199.110.153 assets-cdn.github.com | |
185.199.109.154 github.githubassets.com | |
151.101.228.133 raw.githubusercontent.com | |
151.101.228.133 gist.githubusercontent.com | |
151.101.228.133 cloud.githubusercontent.com | |
151.101.228.133 camo.githubusercontent.com | |
151.101.108.133 avatars0.githubusercontent.com | |
151.101.228.133 avatars1.githubusercontent.com |
for 4.2.4 or higher,4.2.5,4.2.6 ,it's works , this is the way which makes Always in evaluation mode 。
/Applications/Beyond Compare.app/Contents/MacOS
BCompare
to BCompare.bak
BCompare
, and chmod a+u BCompare
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
使用 iview 3.3.0 [仅移除计算属性cache属性]出现问题。
使用计算属性作为表单的v-model
时, 进行表单验证时仅验证第一次有效,之后就一直保存第一次的结果。
应该是fieldValue
的值没有得到更新。改为 @ChuanfengZhang 的做法(使用方法)就可以正常进行表单验证。
sudo apt-get install python-software-properties -y | |
sudo add-apt-repository ppa:ondrej/php -y | |
sudo apt-get update -y | |
sudo apt-get install php7.2 php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml | |
sudo apt-get install libapache2-mod-php7.2 -y | |
sudo a2dismod php5 | |
sudo a2enmod php7.2 | |
sudo service apache2 restart |
sudo add-apt-repository ppa:ondrej/php -y | |
sudo apt-get update -y | |
sudo apt-get install php7.1-curl php7.1-cli php7.1-dev php7.1-gd php7.1-intl php7.1-mcrypt php7.1-json php7.1-mysql php7.1-opcache php7.1-bcmath php7.1-mbstring php7.1-soap php7.1-xml php7.1-zip -y | |
sudo mv /etc/apache2/envvars /etc/apache2/envvars.bak | |
sudo apt-get remove libapache2-mod-php5 -y | |
sudo apt-get install libapache2-mod-php7.1 -y | |
sudo cp /etc/apache2/envvars.bak /etc/apache2/envvars | |