You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download this git and run docker-compose up --build -d
When opening http://localhost:8080/pgadmin4/browser/ you can see, that not all requests from the javascript are going to /pgadmin
Gradle: Read repository secret from gpg encrypted .netrc file
This is how to read credentials from a .netrc formatted file, which is encrypted using gpg
and use these credentials as login data for gradle remote repositories.
First you need to have gpg keys created.
Then create a ~/.netrc as shown below and encrypt it with gpg -r <your email> -e ~/.netrc, which will create a .netrc.gpg. Remove the unencypted .netrc afterwards.
Now create a ~/.gradle/init.gradle as shown below.
nginx: Serve a file from Artifactory without login
nginx: serve a file from Artifactory without authentication
With the following nginx config you can expose a single file from Artifactory without need to authenticate. Be sure that you only expose the files that are allowed to be public
I dont't recommend to run this nginx in the public internet. Run it only inside your company's firewall!
No warranty, that is totally safe.
Run a command in every directory of a VSCode workspace
Deno must be installed.
On Windows GitBash is required.
Setup an alias and then run a command in every project of a VSCode workspace
# Store alias in $HOME/.bashrcalias vsforeach="deno run --allow-run --allow-read https://gist.githubusercontent.com/kekru/256d73c7819efc35e55cd88c5903ab46/raw/25072c432cbadee38ca2d725fbe7f03f5f6eafcc/vsforeach.js"
This is how to create a simple static file server with deno and abc.
It serves the current dir and you can run it directly from the hosted script:
deno run --allow-net="0.0.0.0:80" --allow-read https://kekru.de/serve.ts
or deno run --allow-net="0.0.0.0:80" --allow-read https://gist.githubusercontent.com/kekru/751e32b5d97661f3649ce8ad8f8517ba/raw/2982a65c1205f72c56daf8827a8fc2f6b012600d/serve.ts
This is how to disable the default Windows error sound, which occurs, for example, when you search something in a browser and there is no result, or when you type something wrong in a terminal.
I tested this on a german Windows installation, so I'm not sure if my english translations are the correct ones.
Search in Windows for "Sound settings" (German: "Soundeinstellungen")
Click on "Sound-Control-Panel" (German "Sound-Systemsteuerung")
Choose "Sounds" tab
Look for "Default Sound - Warning Signal" (or something related, in german it is "Standardton Warnsignal")