Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
| public function delete($id = null) | |
| { | |
| use \Cake\Filesystem\File; | |
| $this->request->allowMethod(['post', 'delete']); | |
| $website = $this->Websites->get($id); | |
| debug($website->image); | |
| if ($this->Websites->delete($website)) { | |
| $image = new File($website)->delete(); | |
| $this->Flash->success(__('The website has been deleted.')); | |
Getting started:
Related tutorials:
| #!/bin/sh | |
| apt-get update | |
| apt-get install mysql-server | |
| wget --no-check-certificate https://ftp.gnu.org/gnu/bison/bison-1.28.tar.gz | |
| tar -xvf bison-1.28.tar.gz | |
| rm bison-1.28.tar.gz | |
| cd bison-1.28 | |
| ./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/ | |
| make |
| #!/bin/sh | |
| apt-get update | |
| apt-get install mysql-server | |
| wget --no-check-certificate https://ftp.gnu.org/gnu/bison/bison-1.28.tar.gz | |
| tar -xvf bison-1.28.tar.gz | |
| rm bison-1.28.tar.gz | |
| cd bison-1.28 | |
| ./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/ | |
| make |