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
| sudo apt-get update | |
| sudo apt-get install ca-certificates curl gnupg -y | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
| sudo chmod a+r /etc/apt/keyrings/docker.gpg | |
| echo \ | |
| "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | |
| "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ |
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
| // break points | |
| $sm: 576px; | |
| $md: 768px; | |
| $lg: 992px; | |
| $xl: 1200px; | |
| $xxl: 1400px; | |
| @mixin respond-to($media) { | |
| @if $media == sm { | |
| @media (min-width: $sm) { |
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
| /** | |
| * myModule is a mini framework allows you to create your own dependency modules. | |
| */ | |
| const myModule = (function () { | |
| var modules = {}; | |
| function define(name, deps, impl) { | |
| for(var i = 0; i<deps.length; i++) { | |
| deps[i] = modules[deps[i]]; | |
| } | |
| modules[name] = impl.apply(impl, deps); |
NewerOlder