有没有办法使用after.sh来运行public function plaintext() {
//load the download helper
$this->load->helper('download');
//set the textfile's content
$data = 'Hello world! Codeigniter rocks!';
//set the textfile's name
$name = 'filedownload.txt';
//use this function to force the session/browser to download the created file
force_download($name, $data);
}
?
我试过了:
php artisan migrate
我意识到了一些事情
#!/bin/bash
cd exercise-8
vagrant ssh
php artisan migrate
vagrant ssh
/home/vagrant
返回vagrant ssh
/tmp/vagrant-shell: line 3: vagrant: command not found
返回
==>默认:
==>默认值:[PDOException]
==>默认值:SQLSTATE [HY000] [1045]拒绝用户访问'伪造' @' localhost' (使用密码:否)
==>默认值:
答案 0 :(得分:0)
试试这个:
select
说明:
dplyr
输入您library(tidyverse)
mydat %>% separate_rows(v1,v2,sep=", ") %>%
select(v1, v2, v3)
# v1 v2 v3
#1 name 1 1
#2 name2 2 1
#3 name3 3 2
#4 name4 4 3
#5 name5 5 3
上唯一的文件夹
由于这些命令在Homestead上执行,因此您不需要cd *
php artisan migrate
。