Skip to content

Instantly share code, notes, and snippets.

@HeroicEric
Last active June 15, 2020 19:46
Show Gist options
  • Save HeroicEric/159dd39b2fee2c331568ee4db6bd8b81 to your computer and use it in GitHub Desktop.
Save HeroicEric/159dd39b2fee2c331568ee4db6bd8b81 to your computer and use it in GitHub Desktop.
Thread injection chart
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<div class="relative">
<dl class="flex justify-between">
<div class="space-y-10">
<dt>Source</dt>
<dd>bad-rabbit.exe</dd>
</div>
<div class="space-y-10">
<dt class="text-right">Target</dt>
<dd class="text-right">POWERSHELL.EXE</dd>
</div>
</dl>
<div class="absolute inset-0 flex items-center">
{{! graph}}
<div class="relative flex justify-between items-center w-full">
{{! line !}}
<div class="absolute inset-0 flex items-center">
<div class="h-px w-full bg-yellow-800"></div>
</div>
{{! dots !}}
<div class="h-6 w-6 rounded-full bg-red-700 relative"></div>
<div class="h-6 w-6 rounded-full bg-yellow-700 relative"></div>
<div class="h-6 w-6 rounded-full bg-yellow-700 relative"></div>
<div class="h-6 w-6 rounded-full bg-yellow-700 relative"></div>
<div class="h-6 w-6 rounded-full bg-red-700 relative"></div>
</div>
</div>
</div>
{
"version": "0.17.1",
"EmberENV": {
"FEATURES": {},
"_TEMPLATE_ONLY_GLIMMER_COMPONENTS": false,
"_APPLICATION_TEMPLATE_WRAPPER": true,
"_JQUERY_INTEGRATION": true
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.js",
"ember": "3.18.1",
"ember-template-compiler": "3.18.1",
"ember-testing": "3.18.1"
},
"addons": {
"@glimmer/component": "1.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment