- Pastebot
- GIF Brewery
- Slack
- Keynote/Pages/Numbers
- 1Password
- OmniFocus 3
- Airmail 3
- iA Writer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Create directory structure | |
| mkdir -p results | |
| # Create the stress test script | |
| cat > stress-test.js << 'EOL' | |
| const puppeteer = require('puppeteer'); | |
| const fs = require('fs'); | |
| const path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| echo "Starting installation for Ubuntu 24.04 x86_64..." | |
| # Update package lists | |
| sudo apt-get update | |
| # Install essential build tools | |
| sudo apt-get install -y \ | |
| build-essential \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum update | |
| sudo yum install httpd24 php70 php70-cli php70-intl php70-gd php70-zip php70-xml php70-mysqlnd php70-mbstring php70-dom php70-soap php70-memcached memcached php70-fpm php70-opcache php70-mcrypt git | |
| sudo service httpd start | |
| sudo chkconfig httpd on | |
| sudo groupadd www | |
| sudo usermod -a -G www ec2-user | |
| exit | |
| sudo chown -R root:www /var/www | |
| sudo chmod 2775 /var/www |
- Have PHP (preferably a supported version which is 8+) installed on your machine (or in a container if you prefer).
To check which version is installed, open a terminal or command line and enter
php -v
- For installation instructions, visit
- Have PHP Dependency Manager Composer installed:
Installing Brew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installing MSSQL Tools
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/php | |
| <?php | |
| declare(strict_types = 1); | |
| // require_once ('hhb_.inc.php'); | |
| hhb_init (); | |
| if ($argc !== 3) { | |
| fprintf ( STDERR, "usage: %s timestamp url\n", $argv [0] ); | |
| fprintf ( STDERR, "example: %s 20091012061648 http://www.p4w.se\n", $argv [0] ); | |
| die ( 1 ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $provinces = array(0 => 'Alberta', | |
| 1 => 'British Columbia', | |
| 2 => 'Manitoba', | |
| 3 => 'New Brunswick', | |
| 4 => 'Newfoundland and Labrador', | |
| 5 => 'Northwest Territories', | |
| 6 => 'Nova Scotia', | |
| 7 => 'Nunavut', | |
| 8 => 'Ontario', | |
| 9 => 'Prince Edward Island', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| Options -MultiViews | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.*)$ index.php [QSA,L] | |
| </IfModule> | |
| <IfModule !mod_rewrite.c> | |
| <IfModule mod_alias.c> | |
| RedirectMatch 302 ^/$ /index.php/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - | |
| sudo yum -y install nodejs |
NewerOlder