:host {
display: block;
border: 1px solid black;
}
// thanks to https://angular.io/guide/component-styles#host
This file contains hidden or 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
Building component - determine what is permanent markup and dynamic markup (if dynamic - could be extensible via component argument?) | |
Or is it content? | |
When to know if its for content: Is it possible other people will write other of html markup. | |
For example, in a form, there are input controls. If people can possibly put a dropdown (`<select>`), make your component style be able to handle that. |
This file contains hidden or 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
<script> | |
let todos = []; | |
function addTodo() { | |
todos = [...todos, '']; | |
} | |
function removeSelf(index) { | |
todos = [...todos.slice(0, index), ...todos.slice(index + 1)] | |
} | |
</script> | |
{#each todos as todo, index} |
May topics kayo regarding
- service providers?
- Best practices or actual usages?
Other topics.
- Form validator
- Queues
- Frontend w/ React
- JWT Tokens per user.
This file contains hidden or 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
function homestack { | |
( cd ~/codes/homestack && docker-compose $* ) | |
} |
Please note that everything here is just a suggestion. If it makes sense to setup a little differently on your own, you can also create that and let the team know.
Install gitflow https://github.com/nvie/gitflow/wiki/Installation and read the basic git git-flow - https://nvie.com/posts/a-successful-git-branching-model/
Brew asks me to do this: sudo chown -R $(whoami) /usr/local/Homebrew
I unfortunately have other users for development on my mac that need access to Homebrew dir to run stuff.
I find an aritcle https://medium.com/@energee/install-brew-for-multiple-users-65af2444df5c
So I create the group 'brew' in the user and groups preferences pane, MThen
sudo chgrp -R brew $(brew --prefix)/Homebrew
This file contains hidden or 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
<style> | |
.base64 { | |
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAQAAABpN6lAAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfjBh4GBQL0dv9bAAAMEUlEQVR42u2deZAU1R3HP9PHsBEEIawugpKSYHkVIEEjHlhoMAmxTCw1qFiKGiJWiOVZFY9QamGJGrEoLzAmYgSVSEyM8Uhw0YAHeESMIogxZbSUYxF0BdmZ6e6XP7q3ed3TPcdOv9mecn5dRdXOTHe/3+/9ju/v9977AU1qUpOa1KQmNalJTfp6UqZBRqmhkQEcNEDg4CCSeLSRctZNCoBgJKNoY0/24gu+ZDP/5l3veysZQaSPdABO4yF2IBAIbHLkyGF5f+/gYaZUPY2mp1GpJgMYx58QCPLYHsPhyyaPQPAsR3mMVcL82TzF/eyRXt3XgImsR3jslb/yCLZwsq818UI9iQ4EBboQmPH+z+hFB2mwB68jfDWv9LIRrGNojGqbwAQ2eL8TCLqYE6cDBofyAYLl6CUlqoYujZx5i1zok1yEiAoIrg9NnMvB+WwLCTXHvdETnKEPAguHXeTqqgU6sCpSvQWvMoezGMsB7M0BHM4U5vCy9L2sCR8BJhlvfo9kka8hwWtSnAY84Us7x4Y6hjvYSVcR808y0dNLEx0NDQ0d0xv8sfy5SAg5HAYAP/FYz+MUMR+LITS+GVKqv9aJ/b4hRvII5pUNce53t4butf1nOLFu8/a4QPiHIqWaXxfldy149/Ui30CvyAAz6MCzVTrNWOOO+vFs5SLYIYndRnC2Fw6rAfQnFAlRdqLB+b8vThHPjXnALKXsL5d8fAHBwIpATZiytLCzKFpYOAjai+bf9D1PgNp9GYa95h3KrP/CgM/JoZOtAT92eo60O3CuYgawOqADM4BJLOMlpsUZgINgZkgEDynKRYPOy+jR7MveZCU |