Install SleepWatcher using Homebrew:
sudo chown -R $(whoami) /usr/local
brew update
brew install sleepwatcher
Start the SleepWatcher service:
| { | |
| "repositories": [ | |
| { | |
| "type": "path", | |
| "url": "../relative/project/path" | |
| } | |
| ], | |
| "require": { | |
| "${project}": "dev-${branch}" | |
| } |
| -- PLANNR-7016: Duplicate EDI Statement Numbers | |
| -- https://github.com/PlannrCrm/plannr/pull/4593 | |
| -- | |
| -- Both queries below apply to provider_statements and bank_statements. | |
| -- Substitute the table name as needed. | |
| -- ============================================================ | |
| -- 1. Check whether any duplicate (firm_id, number) pairs exist | |
| -- Used in shouldRun() on the unique constraint migrations. |
| Community Bonus Pack | |
| -------------------- | |
| Homepage Download Links: https://web.archive.org/web/20150707182232/http://cbp.beyondunreal.com/download | |
| CBP 1 - 4 Installer, Zip, PS3 : http://www.mapraider.com/profiles/CommunityBonusPack/maps | |
| CBP 1 Installer, Zip, PS3: http://www.mapraider.com/maps/unreal-tournament-3/capture-the-flag/4322/Community-Bonus-Pack-3-Volume-1 | |
| CBP 1 Installer: http://www.fileplanet.com/188272/180000/fileinfo/Unreal-Tournament-3---Community-Bonus-Pack-3:-Volume-1 | |
| CBP 2 Installer, Zip, PS3: http://www.mapraider.com/maps/unreal-tournament-3/capture-the-flag/4343/Community-Bonus-Pack-3-Volume-2 |
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
| # Check for suspicious directories | |
| Test-Path "$env:APPDATA\Bluetooth" | |
| Test-Path "C:\ProgramData\USOShared" | |
| # Check for suspicious services | |
| Get-Service | Where-Object {$_.Name -like "*Bluetooth*"} | |
| # Check registry run keys | |
| Get-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" | |
| Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run" |
| <?php | |
| use App\Models\Movie; | |
| use App\Models\User; | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\Schema; | |
| return new class extends Migration | |
| { |
| <?php | |
| namespace App\Models; | |
| // use Illuminate\Contracts\Auth\MustVerifyEmail; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Illuminate\Foundation\Auth\User as Authenticatable; | |
| use Illuminate\Notifications\Notifiable; | |
| use Spatie\Image\Enums\Fit; | |
| use Spatie\MediaLibrary\HasMedia; |
| <?php | |
| function feature(string $feature, callable $callable): void | |
| { | |
| group('Feature: ' . $feature, $callable); // Call Pest's group() method with the feature part of the Gherkin string. | |
| } | |
| function given(string $given) | |
| { | |
| return new class($given) implements Stringable { |
| <form action="." method="post"> | |
| <noscript>You must <a href="http://www.enable-javascript.com" target="_blank">enable JavaScript</a> in your web browser in order to pay via Stripe.</noscript> | |
| <input | |
| type="submit" | |
| value="Pay with Card" | |
| data-key="PUBLISHABLE STRIPE KEY" | |
| data-amount="500" | |
| data-currency="cad" | |
| data-name="Example Company Inc" |
Install SleepWatcher using Homebrew:
sudo chown -R $(whoami) /usr/local
brew update
brew install sleepwatcher
Start the SleepWatcher service: