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
#!/bin/bash | |
# | |
# cloudinit-kong.sh | |
# | |
# cloudinit script to spin up and configure a kong instance | |
# | |
SERVICE=kong | |
ENV=production |
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
<template lang="pug"> | |
time.tooltip( | |
:datetime="value", | |
:data-tooltip="value.format('dddd, MMM Do, `YY @ hh:mm:ss a')", | |
) {{ formatted(format) }} | |
</template> | |
<script> | |
export default { |
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 | |
namespace App\Services; | |
use GuzzleHttp\Client; | |
/** | |
* Geographical Coordinate Services | |
* | |
* @package LocationService |
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 | |
namespace App\Http\Controllers; | |
use App\Models\User; | |
use App\Models\Provider; | |
use App\Models\Activity; | |
use acidjazz\Humble\Models\Session; | |
use Illuminate\Http\Request; |
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
}, | |
"devDependencies": { | |
"autoprefixer": "^9.4.3", | |
"babel-eslint": "^10.0.1", | |
"eslint": "^5.10.0", | |
"eslint-loader": "^2.1.1", | |
"eslint-plugin-vue": "^5.0.0", | |
"pug": "^2.0.3", | |
"pug-plain-loader": "^1.0.0" | |
}, |
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
▲ ~/pub/web yarn why lodash staging :: 1m :: ⬢ | |
yarn why v1.13.0 | |
[1/4] 🤔 Why do we have the module "lodash"...? | |
[2/4] 🚚 Initialising dependency graph... | |
[3/4] 🔍 Finding dependency... | |
[4/4] 🚡 Calculating file sizes... | |
=> Found "lodash@4.17.11" | |
info Has been hoisted to "lodash" | |
info Reasons this module exists | |
- Hoisted from "eslint#lodash" |
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 | |
*/ | |
function generate_random_point( $centre, $radius ){ | |
$radius_earth = 3959; //miles | |
// pick random distance within $distance; | |
$distance = lcg_value()*$radius; | |
// convert degrees to radians. |
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
{ | |
"@version": "2.0", | |
"channel": { | |
"title": "Stories by Boris Müller on Medium", | |
"description": "Stories by Boris Müller on Medium", | |
"link": [ | |
"https://medium.com/@borism?source=rss-b53295fb4eb2------2", | |
{ | |
"@href": "https://medium.com/feed/@borism", | |
"@rel": "self" |