This file contains 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
vcl 4.0; | |
import directors; | |
acl purge { | |
"localhost"; | |
} | |
backend server1 { |
This file contains 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
spicer@rager:~/Development/matomo$ docker pull matomo | |
Using default tag: latest | |
latest: Pulling from library/matomo | |
Digest: sha256:cd3c3975814ebe9bcb234d8f73f5aa8f7cce085d0b6f5e2596041b60f4a12122 | |
Status: Image is up to date for matomo:latest | |
spicer@rager:~/Development/matomo$ docker run -it --rm matomo /bin/bash | |
root@72536f106e76:/var/www/html# | |
root@72536f106e76:/var/www/html# |
This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
) | |
func rootHandler(w http.ResponseWriter, r *http.Request) { | |
w.Header().Set("Content-Type", "text/html") |
This file contains 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
// | |
// Load colorbox | |
// | |
app.directive('colorbox', function($compile, $rootScope, $location) { | |
return { | |
link: function(scope, element, attrs) { | |
window.onhashchange = function (event) { | |
if(window.location.hash != '#modal') | |
{ |
This file contains 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
// | |
// Load datepicker | |
// | |
app.directive('datepicker', function($compile, $rootScope) { | |
return { | |
scope: { | |
change: '&' | |
}, | |
require: 'ngModel', |
This file contains 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
// | |
// Load knob | |
// | |
app.directive('knob', function($compile, $rootScope) { | |
return { | |
link: function(scope, element, attrs) { | |
// Jquery Knob | |
setTimeout(function () { | |
$(element).knob({ |
This file contains 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
-----BEGIN PGP MESSAGE----- | |
Version: Keybase Go 1.0.11 (darwin) | |
Comment: https://keybase.io/download | |
xA0DAAoBZf+6BwapyusBy+F0AOIAAAAA6i0tLS0tQkVHSU4gUEdQIE1FU1NBR0Ut | |
LS0tLQpDb21tZW50OiBodHRwczovL2tleWJhc2UuaW8vZG93bmxvYWQKVmVyc2lv | |
bjogS2V5YmFzZSBHbyAxLjAuMTEgKGRhcndpbikKCndjRk1BOTl4WENTczZ2M2lB | |
UkFBUHJ4Uk5JblpsL1liMEpjemxmZUpLTmVTeVZiQWVaSncweEhaOE9taWptTWIK | |
MTdKMUh2NnJzeTlPVXpGVEJFY0FxWFFZK25Hd2d1NzU1Y0MxcXAwYjY4N0dlODg5 | |
VUxCVkhQdHJOdmU0MGR0MwpnZXVGWUJudDVhY2Noc1R3eXNNRGJUbXJFOEc5WHNq |
This file contains 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
g6Rib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgkydlZMvoL42RA8AYxl3Kwm4FjdAIi8xXqYoMTeP2lUkKp3BheWxvYWTFAux7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwOTMyNzY1NjRjYmU4MmY4ZDkxMDNjMDE4YzY1ZGNhYzI2ZTA1OGRkMDA4OGJjYzU3YTk4YTBjNGRlM2Y2OTU0OTBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwOTMyNzY1NjRjYmU4MmY4ZDkxMDNjMDE4YzY1ZGNhYzI2ZTA1OGRkMDA4OGJjYzU3YTk4YTBjNGRlM2Y2OTU0OTBhIiwidWlkIjoiNjAyNzkzNzc0MWMzOGI1Y2Q4MmVjZjgzZGU1OGQ0MTkiLCJ1c2VybmFtZSI6InNwaWNlciJ9LCJzZXJ2aWNlIjp7Im5hbWUiOiJnaXRodWIiLCJ1c2VybmFtZSI6ImNsb3VkbWFuaWMifSwidHlwZSI6IndlYl9zZXJ2aWNlX2JpbmRpbmciLCJ2ZXJzaW9uIjoxfSwiY2xpZW50Ijp7Im5hbWUiOiJrZXliYXNlLmlvIGdvIGNsaWVudCIsInZlcnNpb24iOiIxLjAuMTEifSwiY3RpbWUiOjE0NTU4NjMwNzMsImV4cGlyZV9pbiI6NTA0NTc2MDAwLCJtZXJrbGVfcm9vdCI6eyJjdGltZSI6MTQ1NTg2MjU4OCwiaGFzaCI6ImZiZjI2YzE0MDJmOTIzNjFhY2M1YTEwOWVmZWE0NWQ5MGVmZDk4ODUzODk3MTFmNDBkOTE5NmY4MjA5ZWFmOGEyYWRhMWNhODA4NjIzM2Y2OGE1N2I3N2JiZWU2NDRiMzJlZWVhNTQ0M2QwNTkzZTNjZTlmZTUyYTdjMTRlZWM1Iiwic2Vxbm8iOjM4OTQ5OH0sInByZXYiOiI2MzRlY2JhMTc3OTA5MTgxMDU0ODc1YTliYjEwY2M2MTcw |
This file contains 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
for i in `php artisan queue:failed | awk '{ print $2 }'`; do php artisan queue:retry $i; done |
This file contains 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
<?php | |
return array( | |
/* | |
|-------------------------------------------------------------------------- | |
| Mail Driver | |
|-------------------------------------------------------------------------- | |
| | |
| Laravel supports both SMTP and PHP's "mail" function as drivers for the |
NewerOlder