This file contains hidden or 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
| .inventory-grid { | |
| display: grid; | |
| gap: 16px; | |
| margin-bottom: 32px; | |
| } | |
| .inventory-header { | |
| font-size: 14px; | |
| font-weight: 600; | |
| color: #9ca3af; |
This file contains hidden or 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
| body { | |
| background: #0f0f14; | |
| color: #e5e7eb; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| } | |
| .user-information-container { | |
| background: linear-gradient(180deg, #1a1a24 0%, #16161f 100%); |
This file contains hidden or 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
| let playerPosition, player, hookPosition, deltaX = 0, deltaY = 0, deltaZ = 0, timer = 0; | |
| function onPlayerUsedThrowable(playerId, itemId, hookId) { | |
| playerPosition = api.getPosition(playerId); | |
| } | |
| function onPlayerJoin(playerId) { | |
| api.sendMessage(playerId, 'Welcome, this grappling hook code is made by x_Drxth'); | |
| } |
Thought I should post my guide on how to do this, as I've struggled with this for quite some time now. I wanted something to bypass the NAT/router as I did not have the option of port-forwarding. I will also be moving quite some in the upcoming year, so dynamic IP was almost a given. And obviously I wanted it to be cheap. This does it all.
This is free, no port-forwarding required and no static IP required. Wildcard domain and SSL certificate supported. It works with Cloudflare tunnels, Cloudflare DNS, Nginx Proxy Manager and obviously TrueNAS SCALE.
I am not a professional, if you see a flaw in this design, please let me know!
- Domain name at Cloudflare
- Adopted from: https://stubby4j.com/docs/admin_portal.html
- Inspired by Swagger API docs style & structure: https://petstore.swagger.io/#/pet
This file contains hidden or 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
| co = checkout | |
| cob = checkout -b | |
| coo = !git fetch && git checkout | |
| br = branch | |
| brd = branch -d | |
| brd = branch -D | |
| merged = branch --merged | |
| st = status | |
| aa = add -A . | |
| cm = commit -m |
This file contains hidden or 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 | |
| # Constants | |
| GREEN='\033[0;32m' | |
| RED='\033[0;31m' | |
| YELLOW='\033[0;33m' | |
| NC='\033[0m' # No Color | |
| # --- | |
| CODE_DIRECTORY='code_dataset' | |
| # Get GitHub repo information |
This file contains hidden or 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
| [ | |
| {"title":"golang-for-python","url":"https://golang-for-python-programmers.readthedocs.io/en/latest/","tags":["learning"]}, | |
| {"title":"Titanic Dataset Analysis","url":"https://www.linkedin.com/pulse/what-i-learned-analyzing-famous-titanic-dateset-murilo-gustineli/","tags":["learning"]}, | |
| {"title":"The Transformer Model","url":"https://machinelearningmastery.com/the-transformer-model/","tags":["learning"]}, | |
| {"title":"2205.13504.pdf","url":"https://arxiv.org/pdf/2205.13504.pdf","tags":["learning"]}, | |
| {"title":"Stacks","url":"https://stackoverflow.design/product/guidelines/using-stacks/#how-to-best-use-stacks","tags":["learning","useful"]}, | |
| {"title":"What is git stash?","url":"https://www.theserverside.com/definition/git-stash","tags":["learning","useful","Git"]}, | |
| {"title":"[ide] Git Bash","url":"https://medium.com/danielpadua/git-bash-with-vscode-593d5998f6be","tags":["learning","useful","Git"]}, | |
| {"title":"speciific git ignore","url":"https://stackoverflow.com/questions/987142/make-gitignore-ignor |
This file contains hidden or 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: '3.8' | |
| services: | |
| app: | |
| build: . | |
| ports: | |
| - 8000:8000 | |
| - 5678:5678 | |
| volumes: | |
| - .:/code | |
| command: uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload |
NewerOlder