I hereby claim:
- I am impactmass on github.
- I am impactmass (https://keybase.io/impactmass) on keybase.
- I have a public key ASBqgz36Iy3-ppxP0aPRQJbtEk0fpRlGkOpYtDXDHYq20Ao
To claim this, I am signing this object:
version: "3" | |
services: | |
postgresql: | |
image: postgres | |
container_name: container_name | |
ports: | |
- "5432:5432" | |
environment: | |
- POSTGRES_USER=postgres_user |
/* Learning from https://rachelandrew.co.uk/ */ | |
/* config stuff */ | |
/* Coolors Exported Palette - coolors.co/694486-2b193d-dbdbdb-b0b5b3-040303 */ | |
/* RGB */ | |
footer { | |
padding: 10px; | |
background-color: #2b193d; | |
color: #fcf9f9; | |
font-size: 90%; |
// Prints a tower based on the height passed into the main function | |
// e.g height of 8 prints this: | |
// # # | |
// ## ## | |
// ### ### | |
// #### #### | |
// ##### ##### | |
// ###### ###### | |
// ####### ####### | |
// ######## ######## |
title Inventory Data Flow | |
Kafka Topic -> Shippable-Inventory-Plugin: | |
note over Shippable-Inventory-Plugin: | |
Consumer calls bulk-write mutation. | |
This function is not defined in "Inventory" plugin | |
end note | |
Shippable-Inventory-Plugin -> Simple-Inventory-Plugin: updateSimpleInventoryBulk() |
I hereby claim:
To claim this, I am signing this object:
I've always used this to load an image from a tar
docker load < image.tar
is same as:
docker load --input image.tar
Useful when I had to run something like:
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true, | |
"mocha": true | |
}, | |
"extends": "airbnb", | |
"rules": { | |
"comma-dangle" : [2, "never"], |
const UserController = { | |
create(req, res) { | |
const userData = req.body; | |
const query = { | |
where: { email: userData.email } | |
}; | |
const defaultRole = { | |
where: { title: 'Writer' } | |
}; |
angular.module('app', []) | |
.directive('loader', function() { | |
return { | |
restrict: 'A', | |
link: function link(scope, element, attrs) { | |
var loaderHTML = angular.element('<div class="loading-spinner-context"><div class="loading-spinner-wrapper"' + 'id="app-loader"><span class="loading-spinner white"><i class="one"></i><i class="two"></i><i class="three"></i></span></div></div>'); | |
scope.$watch(attrs.loader, function(newVal) { | |
if (!newVal) { | |
if ($(element).children('.loading-spinner-context').length) { | |
$('.loading-spinner-context').css('display', 'block'); |
{% capture content_words %} | |
{{ post.content | number_of_words }} | |
{% endcapture %} | |
{% capture excerpt_words %} | |
{{ post.content | truncatewords: 250 | number_of_words }} | |
{% endcapture %} | |
{% if content_words != excerpt_words %} | |
<p class="right"><a href="{{site.baseurl}}{{ post.url }}">Read more</a></p> |