-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
| <?php | |
| /** | |
| * Parses a template argument to the specified value | |
| * Template variables are defined using double curly brackets: {{ [a-zA-Z] }} | |
| * Returns the query back once the instances has been replaced | |
| * @param string $string | |
| * @param string $find | |
| * @param string $replace | |
| * @return string |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitHub |
| <?php | |
| $endPoint = 'https://api.github.com/graphql'; | |
| $query = <<<'GRAPHQL' | |
| query getUsers { | |
| user { | |
| id | |
| name | |
| } |
| <?php | |
| function exportCSV() | |
| { | |
| header('Content-type: text/csv'); | |
| header('Content-Disposition: attachment; filename=products.csv'); | |
| header('Pragma: no-cache'); | |
| header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); | |
| header('Expires: 0'); |
This guide explains how to set up the required environment variables (GitHub Secrets) for the Laravel deployment GitHub Actions workflow.
The deployment script uses GitHub Secrets to securely store sensitive information like SSH keys and server details. These secrets are referenced in the workflow using the ${{ secrets.SECRET_NAME }} syntax.