- Update the apt package index:
sudo apt-get update| { | |
| "editor.accessibilitySupport": "off", | |
| "editor.tabSize": 2, | |
| "editor.fontSize": 15, | |
| "terminal.integrated.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace", | |
| "editor.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace", | |
| "editor.lineHeight": 26, | |
| "editor.fontLigatures": true, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", |
| { | |
| "editor.accessibilitySupport": "off", | |
| "editor.tabSize": 2, | |
| "editor.fontSize": 15, | |
| "terminal.integrated.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace", | |
| "editor.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace", | |
| "editor.lineHeight": 26, | |
| "editor.fontLigatures": true, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", |
| <template lang="pug"> | |
| .vm-gallery | |
| div( | |
| :style="{ transitionDuration: transitionDuration, transform: translate3DPosition }" | |
| ref="galleryItems" | |
| ).vm-gallery-items | |
| div(v-for="imageItem in imageNodes").vm-gallery-item | |
| img( | |
| :src="imageItem.src" | |
| :key="imageItem.src" |
| import { csvParse } from 'd3-dsv'; | |
| import { Feature, FeatureCollection, Point } from 'geojson'; | |
| function snooze(ms: number): Promise<void> { | |
| return new Promise((resolve) => setTimeout(resolve, ms)); | |
| } | |
| addEventListener('message', async (event: MessageEvent) => { | |
| const { payload, sleep } = event.data.message; | |
| await snooze(sleep); |
| <script lang="ts"> | |
| import { useProfile } from '@/hooks/profile'; | |
| import { useContext } from '@nuxtjs/composition-api'; | |
| export default defineComponent({ | |
| setup() { | |
| const { $axios } = useContext(); | |
| const { getUser, profile } = useProfile($axios); | |
| return { profile }; | |
| } | |
| }) |
These are the steps I went through to set up an SSL cert. Purchase the cert
Prior to purchasing a cert, you need to generate a private key, and a CSR file (Certificate Signing Request). You’ll be asked for the content of the CSR file when ordering the certificate:
openssl req -new -newkey rsa:2048 -nodes -keyout example_com.key -out example_com.csr
| <!-- Make sure you have Semantic-UI libs include | |
| Also, Ensure you import jQuery for smooth transition | |
| Once you have all the imports add this to your html: | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $('.dropdown').dropdown(); | |
| $('.ui.checkbox').checkbox(); | |
| }); | |
| </script> |