see: https://myrepos.branchable.com/install/
sudo apt-get install myrepos
brew install myrepos
| services: | |
| nginx-proxy: | |
| image: jwilder/nginx-proxy | |
| container_name: nginx-proxy | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - /var/run/docker.sock:/tmp/docker.sock:ro | |
| - .:/etc/docker-gen/templates | |
| - ./certs:/etc/nginx/certs |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: mysql | |
| spec: | |
| ports: | |
| - port: 3306 | |
| nodePort: 30306 | |
| selector: |
| execute 'apt-get-update' do | |
| command 'apt-get update' | |
| ignore_failure true | |
| end | |
| # on host install | |
| package 'iptables-persistent' do | |
| action :install | |
| end |
| data:text/html,<body%20oninput="i.srcdoc=h.value+'<style>'+c.value+'</style><script>'+j.value+'</script>'"><style>textarea,iframe{width:100%;height:50%}body{margin:0}textarea{width:33.33%;font-size:18}</style><textarea%20placeholder=HTML%20id=h></textarea><textarea%20placeholder=CSS%20id=c></textarea><textarea%20placeholder=JS%20id=j></textarea><iframe%20id=i> |
| # add this to your .profile | |
| export DOCKERHOST=$(ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1) |
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "name": "jest run current file", | |
| "request": "launch", |
see: https://myrepos.branchable.com/install/
sudo apt-get install myrepos
brew install myrepos
| @media (prefers-color-scheme: dark) { | |
| body { | |
| background-color: #444; | |
| color: #e4e4e4; | |
| } | |
| a { | |
| color: #e39777; | |
| } | |
| img { | |
| filter: grayscale(30%); |
| locals { | |
| file_path = "${var.path}/${var.file_name}" | |
| commit_hash = data.external.commit_hash.result.commit | |
| } | |
| data "external" "commit_hash" { | |
| program = ["echo", "{ \"commit\" : \"$(git rev-parse HEAD)\"}"] | |
| } | |
| resource "null_resource" "upload_zip_to_s3" { | |
| triggers = { | |
| zip_file_changed = filebase64sha256(local.file_path) // handle update latest version case |
| import { AsyncLocalStorage } from 'async_hooks'; | |
| const context = new AsyncLocalStorage; | |
| export function getStore() { | |
| return context; | |
| } | |
| export function run(cb) { |