HEADS UP! This list may be out of date. New Lists started at: https://gist.github.com/bjesuiter/7ad486562d75aa068c23a096670c28b3
This file contains 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
// Use this official regex: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ | |
// See here: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string | |
const regex = | |
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/; | |
const SemVer = z.string().regex(regex); |
This file contains 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
//Name: Toggle Lenovo Monitor Streaming Mode | |
import "@johnlindquist/kit" | |
// activeScene can also be 'streaming' => simply makes everything bigger on my 4K Display | |
const scriptDB = await db({activeScene: 'normal'}); | |
await scriptDB.read(); | |
if (scriptDB.data.activeScene === 'normal') { |
- Instructions: https://dev.to/jacobgc/deno-and-the-corporate-proxy-2p32
- Add HTTP_PROXY and HTTPS_PROXY Variables
- Get your corporate certificate:
- Instructions: https://smarie.github.io/develop-behind-proxy/know_your_proxy/#advanced-proxies-that-modify-the-ssl-certification-chain
- Run deno wth cert:
deno run --cert C:/corporateCerts.pem https://deno.land/std/examples/welcome.ts
Use Proxy in HTTP_PROXY and HTTPS_PROXY with basic auth (Proxy Address: http://username:password@proxy.internal-url.de:port)
Use SwitchResX Tool! https://www.madrau.com/
For Intel: Lunar & MonitorControl - Caschys Blog
git remote add origin <https-url>
git config --global github.com.provider github
git config --global credential.autoDetectTimeout -1
git config --global http.proxy http://user:passwd@proxy.url:port
git config --global https.proxy http://user:passwd@proxy.url:port
git push --set-upstream origin main
(if new repo) or
git fetch
=> should both trigger git credential manager for logging into github!
This file contains 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": ["s3:GetBucketLocation", "s3:ListAllMyBuckets"], | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Sid": "VisualEditor0", |
This file contains 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
.document-tile-control-box.desktop-mode { | |
// The reason for minmax(0, value) here is: | |
// - forces grid columns to have a defined min-width | |
// - which forces the grid to assume defined sizes and to not grow columns indefinitely | |
// - more details: https://css-tricks.com/preventing-a-grid-blowout/ | |
grid-template-columns: minmax(0, max-content) minmax(0, max-content); | |
grid-template-rows: 1fr min-content min-content; |
- Requests from Localhost to REST Services on Testing & Staging Environments may be forbidden by CORS.