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
#!/usr/bin/env bash | |
# docker run \ | |
# --name ${container_name} \ | |
# ${image} \ | |
# ${cmd} | |
# docker cp ${container_name}:${path_to_copy} ${output_dir} | |
MIT License
Copyright (c) 2023 Benjamin Jesuiter (CodeMonument)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
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
# Credits for this script to ALYB at https://forum.keyboardmaestro.com/t/applescript-save-microsoft-word-doc-x-document-to-pdf/20614 | |
tell application "Finder" | |
set input to selection | |
end tell | |
tell application id "com.microsoft.Word" | |
activate | |
set view type of view of active window to draft view | |
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
Angular (Maximilian Schwarzmüller ): https://www.udemy.com/course/the-complete-guide-to-angular-2/ | |
CSS (Josh W. Comeau): https://css-for-js.dev/ | |
React (Josh W. Comeau): https://www.joyofreact.com/ | |
Algortihms (ThePrimeagen): https://frontendmasters.com/courses/algorithms/ | |
HTML (SelfHTML): https://wiki.selfhtml.org/wiki/Wie_fange_ich_an%3F | |
Go Basics (GoByExample): https://gobyexample.com/ |
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
[credential "helperselector"] | |
selected = wincred | |
[credential] | |
helper = wincred | |
autoDetectTimeout = -1 | |
[user] | |
email = myemail@gmail.com | |
name = My Name | |
[pull] | |
ff = only |
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)
NewerOlder