반응형 IT창고310 jquery 타이머 5개 배열로 선언 var timers = []; for (var i = 0; i < 5; i++) { timers[i] = setInterval(function() { console.log("Timer " + (i + 1) + " running"); }, 1000); } 2023. 2. 8. php slack 비공개 채널에 post message curl 1. 비공개 채널에, 글을 게시할 Bot 을 추가 한다. 2023. 2. 8. CodeIgniter 상품 저장 코드 // controller function public function save_product() { $this->load->model('product_model'); $product_data = array( 'name' => $this->input->post('name'), 'description' => $this->input->post('description'), 'price' => $this->input->post('price') ); $product_id = $this->product_model->save_product($product_data); if ($product_id) { redirect('products'); } } // model public function save_product($p.. 2023. 2. 8. VSCode remote-ssh 오류 해결 macOS Monterey 업데이트 후, vscode 에서 remote-ssh 아래 오류를 내고 접속이 안됨..;;; could not establish connection to "". The VS Code Server failed to start ~~~~ bin/code-server: line 10: python: command not found > usage: dirname string [...] > usage: dirname string [...] *해결방법 파이선 최신 버전 설치 (https://www.python.org/downloads/macos/) 이후, ~~~~ bin/code-server 파일을 vscode 에서 열어서, python 을 python3 으로 수정 후 저장.. 그리고 다시 .. 2022. 3. 18. 이전 1 ··· 31 32 33 34 35 36 37 ··· 78 다음 반응형