Inspired by Medium's website.
A Pen by ComeOnCreative on CodePen.
| #!/bin/bash | |
| docker ps --format "{{.Names}} {{ .Ports }}" | sed -e 's/_/-/g' | perl -n -e'/^([\w-]+).+:(\d+)->(\d+)/ && print "{\"name\":\"$1\",\"host\":\"$2\",\"container\":\"$3\"}\n"' | jq -r -s 'map(select(.container == "80")) | map(.name + ".test:443 {\n tls self_signed\n proxy / 127.0.0.1:" + .host + "\n}\n") | .[]' > Caddyfile | |
| caddy |
| <template> | |
| <section> | |
| <span class="circle" :class="{current: current, completed: complete}"> | |
| <span v-if="complete" class="fa fa-check u-icon__inner text-white"></span> | |
| </span> | |
| <small class="description"><slot></slot></small> | |
| </section> | |
| </template> | |
| <script> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.17254902422428131</real> |
| let cssImport = require('postcss-import') | |
| let cssNext = require('postcss-cssnext') | |
| let glob = require('glob-all') | |
| let mix = require('laravel-mix') | |
| let purgeCss = require('purgecss-webpack-plugin') | |
| let tailwind = require('tailwindcss') | |
| mix.js('resources/assets/js/app.js', 'public/js') | |
| .postCss('resources/assets/css/app.css', 'public/css/app.css', [ | |
| cssImport(), |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Twitter</title> | |
| <link rel="stylesheet" type="text/css" href="./css/tailwind.css"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
| </head> |
| <?php | |
| class Sublime | |
| { | |
| /** | |
| * Sublime shell command | |
| */ | |
| const COMMAND = 'subl'; |
| <?php declare(strict_types=1); | |
| require_once "✨.🐘"; | |
| ✨($_)->strlen("foo")->var_dump($_); |
Inspired by Medium's website.
A Pen by ComeOnCreative on CodePen.
If you want the ability to charge a team owner based on how many members their team has, like $10/user/month, then you utilize the Laravel Cashier functionality of incrementing the quantity.
You listen for when a new team member is added and you increase the quantity of the subscription by the amount of users and also listen for when a team member is removed to downsize charges. - Not Braintree Compatible
'Laravel\Spark\Events\Teams\TeamMemberAdded' => [| ## IPv6 Tests | |
| http://[::ffff:169.254.169.254] | |
| http://[0:0:0:0:0:ffff:169.254.169.254] | |
| ## AWS | |
| # Amazon Web Services (No Header Required) | |
| # from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
| http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy | |
| http://169.254.169.254/latest/user-data | |
| http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] |