last update: Dec 4, 2020
- macOS >= 10.14 (Mojave); tested with 10.15 (Catalina)
- homebrew properly installed
last update: Dec 4, 2020
| <template> | |
| <a :href="link"> | |
| <img :src="image" :style="{ [this.orientation]: 0 }" alt="Fork me on GitHub"> | |
| </a> | |
| </template> | |
| <script lang="ts"> | |
| import { Component, Prop, Vue } from 'vue-property-decorator'; | |
| const palete = { |
| <div id="main" role="main"> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="span12" id="top-div"> <!--! added "top-div" id to help with ajax --> | |
| <%= render 'layouts/messages' %> | |
| <%= yield %> | |
| </div> | |
| </div> | |
| <footer> | |
| </footer> |
| require 'sidekiq/api' | |
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear |
| require 'rest-client' | |
| RestClient.get(url, headers={}) | |
| RestClient.post(url, payload, headers={}) |
| To use in react-native, choose from font below, and then add to style element: | |
| <Text style={{ fontFamily: 'Arial' }}>Arial Font</Text> | |
| Alternatively, add your own custom font face | |
| Android: | |
| ======== | |
| normal |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Aaa struct { | |
| a string | |
| } |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm