- 博客(7)
- 资源 (24)
- 收藏
- 关注
原创 php foreach($arr as &$val)
<?php$data1 = ["11","12","13"];$data2 = ["14","15","16"];$all = 0;foreach($data1 as &$x){ echo $x, ' ', $x; echo "";}//$x = 0;echo "\$x is ",$x;echo "-------------";$all2 = 0;//把$x这个索引2当作值2来使用了,因为在上面的循环它就是个值,在下面的循环里它又是个索引foreach(
2020-09-25 22:59:49 388
原创 OpenSSL
opensslIf you need to have openssl@1.1 first in your PATH run:echo ‘export PATH="/usr/local/homebrew/opt/openssl@1.1/bin:$PATH"’ >> ~/.bash_profile这个意思是指 如果要优先使用 openssl 1.1 那么需要把它append (&...
2020-03-04 10:08:09 403
原创 nginx
==> Installing nginx==> Downloading https://homebrew.bintray.com/bottles/nginx-1.17.8.high_sierra.bo==> Downloading from https://akamai.bintray.com/a8/a827db017de049e9bd303a4799070########...
2020-03-04 09:44:25 183
原创 brew install 2020
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
2020-03-03 20:01:54 521
转载 time.localtime
import timedef main():print(time.localtime())year = time.localtime().tm_yearmonth = time.localtime().tm_monday = time.localtime().tm_mdayhour = time.localtime().tm_hourminute = time.localtime(...
2019-10-15 21:32:37 607
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人