5月 7, 2020 - php开发    记一次数组的排序已关闭评论

记一次数组的排序

1:数组$a,和$b,$c如下,想要最终得到的结果是$a的键的排序按照$b的值去排$c

$a = [

            23=>'b',

            13=>'a',

            33=>'c',

 ];  &nbsp[……]

Read more

4月 17, 2020 - Linux    centos6.9安装gitlab-runner已关闭评论

centos6.9安装gitlab-runner

1:下载gitlab-runner

sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64

2:添加可执行权限

sudo chmod +x /usr/local/bin/gitlab-runner

3.创建gitlab Ci 用户

sudo useradd --comment 'GitLab[......]

Read more

页面:«1...19202122232425...42»