These learning resources primarily focus on Test Driven Development (TDD).
- There is an emphasis on learning using PHP, Laravel and PHPUnit.
- All these resources are free (at the time of writing)
| # Git aliases | |
| alias gs="git status" | |
| alias ga="git add" | |
| alias gaa="git add ." | |
| alias gc="git commit" | |
| alias gp="git push" | |
| alias gpl="git pull" | |
| alias gcm="git commit -m" | |
| alias gl="git log" |
| cd k8s-specs | |
| # Only if minishift | |
| oc apply -f sa/jenkins-no-sa-oc.yml --record | |
| # Only if NOT minishift | |
| kubectl apply \ | |
| -f sa/jenkins-no-sa.yml \ | |
| --record |
| ###################### | |
| # Create The Cluster # | |
| ###################### | |
| # Make sure that your minishift version is v1.15 or higher | |
| minishift start \ | |
| --vm-driver virtualbox \ | |
| --cpus 2 \ | |
| --memory 2048 \ |
| <?php | |
| /** | |
| * API Request Caching | |
| * | |
| * Use server-side caching to store API request's as JSON at a set | |
| * interval, rather than each pageload. | |
| * | |
| * @arg Argument description and usage info | |
| */ |
| /* This code has been generated from your interaction model | |
| /* eslint-disable func-names */ | |
| /* eslint quote-props: ["error", "consistent"]*/ | |
| // There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
| // You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
| // This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. | |
| name: Unit tests | |
| on: [push] | |
| jobs: | |
| phpunit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Copy .env |
| <?php | |
| namespace App\Console; | |
| use Illuminate\Console\Scheduling\Schedule; | |
| use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | |
| class Kernel extends ConsoleKernel | |
| { | |
| /** |
| <?php | |
| namespace App\Http\Livewire; | |
| use App\Customer; | |
| use Livewire\Component; | |
| class Multiform extends Component | |
| { | |
| public $name; |
Let's Encrypt generates SSL certificates for free.
Follow these steps to create and use an SSL certificate with ArangoDB.
sudo apt-get update
sudo apt-get install software-properties-common