Created by
Last updated Aug 02, 2019
docker scout cache prune | |
https://github.com/docker/scout-cli/issues/42 | |
wsl --shutdown | |
diskpart | |
select vdisk file="C:\Users\USER\AppData\Local\Docker\wsl\data\ext4.vhdx" | |
attach vdisk readonly | |
compact vdisk | |
detach vdisk | |
https://github.com/docker/for-win/issues/244 |
background: radial-gradient(circle at 0% 0, #2d3c7a, transparent 20.71%), | |
radial-gradient( | |
circle at 0.7% 95%, | |
#5e2b4c, | |
${(props) => props.theme.colors.background.main} 20.71% | |
); |
Created by
Last updated Aug 02, 2019
invoices/123
?
in a URL like /assignments?showGrades=1
.#
portion of the URL. This is not available to servers in request.url
so its client only. By default it means which part of the page the user should be scrolled to, but developers use it for various things.async function foo () { | |
const dep1 = await asyncProcess1(); | |
const dep2 = await asyncProcess2(); | |
console.log(dep1, dep2); | |
} | |
async function bar () { | |
Promise | |
.all([asyncProcess1(), asyncProcess2()]) |
type .\.nvmrc | %{$_ -replace "v",""} | %{nvm install $_} | |
type .\.nvmrc | %{$_ -replace "v",""} | %{nvm use $_} |
import { useEffect, useState } from 'react' | |
import queryString from 'query-string' | |
const getSearchParams = () => { | |
const [searchParams, setSearch] = useState({}) | |
useEffect(() => { | |
setSearch(document.location.search ? queryString.parse(document.location.search) : {}) | |
}, [document.location.search]) | |
Declare @Table Varchar(50) | |
Declare @TABLES Table | |
( | |
TABLE_NAME VARCHAR(50) | |
) | |
INSERT INTO @TABLES |
https://codesandbox.io/s/github/sebastianwd/ghostfm-react-native |
Imports iTextSharp.text.pdf.parser | |
Imports iTextSharp.text.pdf.security | |
Imports Org.BouncyCastle.Pkcs | |
Imports System.Security.Cryptography.X509Certificates | |
Imports System.Security.Cryptography | |
Imports Org.BouncyCastle.Crypto | |
Public Sub Firmar_PDF(sourcePath As String, destPath As String, certificatePath As String, _ | |
keyPassword As String, reason As String, location As String) | |
If (File.Exists(destPath)) Then |