Skip to content

Instantly share code, notes, and snippets.

View McGo's full-sized avatar

Mirko Haaser McGo

View GitHub Profile
@McGo
McGo / composer.json
Created March 24, 2019 11:01
Part of composer.json for private gitlab repo
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"repositories": [
{
Jun 29 15:16:00 112-038-163 112-048: - scene controller service: Showing HDMI or HDMI 1 will time out on 15:17:14
[...]
Jun 29 15:17:12 112-038-163 112-048: - scene controller service: Showing HDMI or HDMI 1 will time out on 15:17:14
Jun 29 15:17:34 112-038-163 112-048: - scene controller service: Showing HDMI or HDMI 1 will time out on 15:20:33
[...]
Jun 29 15:20:31 112-038-163 112-048: - scene controller service: Showing HDMI or HDMI 1 will time out on 15:20:33
Jun 29 15:20:37 112-038-163 112-048: - scene controller service: Showing HDMI or HDMI 1 and timed out, switch to SCALA
Jun 29 15:20:37 112-038-163 112-048: - scene controller service: Change to scala playout.
Jun 29 15:20:38 112-038-163 112-048: - scene controller service: >> current input channel is HDMI or HDMI 1
@McGo
McGo / deploy.sh
Created June 14, 2018 09:06 — forked from BenSampo/deploy.sh
Laravel deploy script
# Change to the project directory
cd /home/forge/domain.com
# Turn on maintenance mode
php artisan down
# Pull the latest changes from the git repository
git pull origin master
# Install/update composer dependecies
<?php
use PHPUnit\Framework\TestCase;
use McGo\Training\Pace;
use McGo\Training\Distance;
use McGo\Training\Workout;
class CharlieRunningAcceptanceTest extends TestCase {
public function testFastRunWithCharlie() {
$workout = new Workout()
{
"stored": "2017-06-26T14:31:19.385Z",
"active": true,
"client": "5571ac6f66562f47368b45bd",
"lrs_id": "54dcc68e66562ff81fcc5df7",
"lrs": {
"_id": "54dcc68e66562ff81fcc5df7"
},
"completedQueues": [
"STATEMENT_QUERYBUILDERCACHE_QUEUE",
@McGo
McGo / gist:c5b71f3b32def4bba5170c8020b7ecee
Created June 12, 2017 08:41
SL3 test with custom xAPI Activity ID
{
"stored": "2017-06-12T08:40:33.744Z",
"active": true,
"client": "5571ac6f66562f47368b45bd",
"lrs_id": "54dcc68e66562ff81fcc5df7",
"lrs": {
"_id": "54dcc68e66562ff81fcc5df7"
},
"completedQueues": [
"STATEMENT_PERSON_QUEUE",
{
"stored": "2017-06-06T10:03:35.329Z",
"active": true,
"client": "5571ac6f66562f47368b45bd",
"lrs_id": "54dcc68e66562ff81fcc5df7",
"lrs": {
"_id": "54dcc68e66562ff81fcc5df7"
},
"completedQueues": [
"STATEMENT_QUERYBUILDERCACHE_QUEUE",