TIL: Generate new ssh key
```bash
ssh-keygen -t ed25519 -C "[email protected]"
```
`-t ed25519`: Specifies the modern "Ed25519" type of key to create.
For legacy compatibility, you use RSA instead:
```bash
ssh-keygen -t rsa -b 4096 -C "[email protected]"
```
TIL: Inside a Docker container, `localhost` points to the container itself — not your host machine.
Use `host.docker.internal` Docker special DNS name instead when you need to reach services running on the host.
#Docker#DevTips
🚀 Need emojis for your projects?
Visit Google Fonts Noto Emoji repository (https://t.co/hVgRPWv6GW).
Search for the Unicode value of the emoji you want, with GitHub's "Go to file" feature, and download that `svg` or `png` file.
#opensource#design#emoji#GoogleFonts
TIL: How to print & change the default MIME association on Linux
Print current handler:
`xdg-mime query default text/html`
Change it:
`xdg-mime default firefox.desktop text/html`
Swap `firefox.desktop` for any `.desktop` file in `/usr/share/applications/`
#Linux#LinuxTips
TIL: you can update all your `npm` dependencies with one command:
`npm update`
This respects your `package.json` version ranges and is super safe.
For the latest versions (including major bumps):
`npx npm-check-updates -u && npm install`
Keep your projects fresh & secure! 🚀
TIL: Shut down a GCP project via the Google Cloud Console:
1. Select the correct project from the top dropdown.
2. Navigate to IAM & Admin > Settings. https://t.co/BLuCwfI1rt
3. Click "Shut Down" and confirm with the Project ID.
#GCP#CloudComputing#DevOps
TIL: You can drop straight into a shell of any local Docker image with:
`docker run --rm -it --entrypoint sh <image_name>`
No registry, no pulling, just your local image by name. Perfect for quick debugging/exploration! 🐳
#Docker#DevTips
🚀 Want to update your global Rector install ?
If you installed it with `composer global require 'rector/rector'`
Enter the following command in your terminal :
`composer global update rector/rector`
That's all it takes to keep it fresh !
#PHP#Rector#DevTips
Have you ever find yourself unable to browse and select files from your device after installing MuntashirAkon's AppManager ?
Get the full breakdown and see the GitHub issue:
👉 https://t.co/eF0mnPVgbi
🐞 https://t.co/HlY1kXwwEm
#AndroidDev#Android#AppManager#bug#FileAccess
💩 Ever shipped a "caca" to production without realizing? You're not alone.
My Summer open-source project "Caca Detector" is here to save face (and maybe your job).
https://t.co/0FZTfJh6TW
#WebDev#ChromeExtension#DevHumor
🚀 Boost your VS Code workflow with the **TangoMan vscode-command-cycle** extension! Loop through commands with a single keybinding. 🌟 Say goodbye to repetitive tasks and hello to seamless automation.
Install now: https://t.co/L9r1y22jtD
#DevCommunity#VSCode#Productivity
@doekenorg @grmpyprogrammer I agree, in that case this test is more reliable. You did not improved your test though, you literally replaced unit testing with functional testing...
🚀 Je viens de publier la version 0.1.1 du AirtableClient Bundle 🔥
❤️ Merci @TangoManParis pour cette PR qui rend le bundle plus lisible !
➡️ N'hésitez pas à venir contribuer sur le projet, grâce à vos contributions on apprend tous de ouf 😘
👀 https://t.co/UnbKbH8VGD
@JeromeColombain On peut à peu près sécuriser un serveur... Mais on ne peux pas sécuriser les ordis/smartphones de chaque votant. Imaginez les dégâts que pourrait causer un virus/botnet qui falsifie les bulletins électroniques en masse..
Wanna have fun with grub bootloader themes ? One of my favorite tech YouTuber @christitustech just merged my PR ; Check GitHub repository here : https://t.co/Z8TNrQ9Yvm