- 博客(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 363
原创 OpenSSL
openssl If you need to have [email protected] first in your PATH run: echo ‘export PATH="/usr/local/homebrew/opt/[email protected]/bin:$PATH"’ >> ~/.bash_profile 这个意思是指 如果要优先使用 openssl 1.1 那么需要把它append (&...
2020-03-04 10:08:09 364
原创 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 158
原创 brew install 2020
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
2020-03-03 20:01:54 490
转载 time.localtime
import time def main(): print(time.localtime()) year = time.localtime().tm_year month = time.localtime().tm_mon day = time.localtime().tm_mday hour = time.localtime().tm_hour minute = time.localtime(...
2019-10-15 21:32:37 564
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人