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 | |
use BotMan\Drivers\Slack\SlackDriver; | |
Route::get('/', function () { | |
$task_id = uniqid(); | |
// Send the message to the channel | |
$result = app('botman')->say('example', '#botman-tests', SlackDriver::class, [ | |
'attachments' => json_encode([ |
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
#!/usr/bin/env bash | |
vagrant box add laravel/homestead | |
cd ~ | |
git clone https://github.com/laravel/homestead.git Homestead | |
cd Homestead | |
git checkout v7.0.1 | |
bash init.sh |
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
tap "eddieantonio/eddieantonio" | |
tap "homebrew/dupes" | |
tap "homebrew/core" | |
tap "homebrew/bundle" | |
tap "homebrew/services" | |
tap "caskroom/fonts" | |
tap "caskroom/versions" | |
tap "caskroom/cask" | |
cask "java" | |
cask "xquartz" |
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
/** | |
* @param $amount | |
* @param $token | |
* @param $destinationAccountId | |
* @param $applicationFee | |
* @return mixed|void | |
*/ | |
public function charge($amount, $token, $destinationAccountId, $applicationFee) | |
{ | |
try { |
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
resource "digitalocean_droplet" "haproxy-www" { | |
image = "ubuntu-14-04-x64" | |
name = "haproxy-www" | |
region = "nyc2" | |
size = "512mb" | |
private_networking = true | |
ssh_keys = [ | |
"${var.ssh_fingerprint}" | |
] | |
connection { |
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 [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Searchable Attributes | |
|-------------------------------------------------------------------------- | |
| | |
| Limits the scope of a search to the attributes listed in this setting. Defining |
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
{ | |
"basics": { | |
"name": "Florian Wartner", | |
"label": "Backend-Engineer", | |
"picture": "https://avatars1.githubusercontent.com/u/6692500?s=460", | |
"email": "[email protected]", | |
"phone": "+49 (0) 17624200553", | |
"website": "https://wartner.io", | |
"summary": "A backend-developer from Lübeck, germany. Also a hobby-cook, blogger and hobbyist photograph.", | |
"location": { |
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
vscode-extensions |
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
{ | |
on_demand_tls { | |
ask https://caddy.codeteach.io/allowed-domain | |
} | |
} | |
http { | |
redir http:// https://{host}{uri} | |
} |