Smart 🧠 Fullstack
45 subscribers
170 photos
11 videos
13 files
155 links
About channel: everyday developer hints.

for (💲Coders as 💲Student):
echo("Hello 💲Student->name");
endfor;

Author: @BakirovRoman
Download Telegram
🔥1
Download file with unstable connection.
sudo apt install lftp
lftp -c 'set net:idle 10
set net:max-retries 10
set net:reconnect-interval-base 3
set net:reconnect-interval-max 3
pget -n 10 -c "https://example.com/file.tar.gz"'
Find usages of file in *Storm by click on file in tree view and press button.
In search: Find Usages
Keymap -> Main Menu -> Edit -> Find Usages -> Find Usages
Change Alt+F7 to F7
#IntelliJIDEA #PhpStorm #WebStorm
How switch between files from comments plugin in #IntelliJIDEA #PhpStorm #WebStorm
"Better Highlights"
Bind "Enter" to mouse in #IntelliJIDEA #PhpStorm #WebStorm
Ctrl + Alt + S -> Keymap -> Editor Actions -> Enter -> Add Mouse Shortcut 🤪
Mobile view in Chrome without dev tools
Extension
Download #YouTube playlist songs mp3: yt-dlp
sudo snap install yt-dlp
yt-dlp -x --audio-format mp3 <YouTube video URL>
alias mp3="yt-dlp -x --audio-format mp3"

#youtube #mp3 #ytdlp
www.* to non www redirect:
1️⃣ Add C-NAME www.* -> IP
2️⃣ Add to nginx config:
server {
server_name www.example.com;
return 301 $scheme://example.com$request_uri;
}

#nginx #code301
Fix #printer cups-pki-invalid error.
Launchpad bug 1973441
sudo rm -rf /etc/cups/ssl/*
# alias printer="sudo rm -rf /etc/cups/ssl/*"
Try cinnamon environment.
sudo apt install cinnamon-desktop-environment
reboot
# Change when login
# drop # sudo apt autoremove --purge cinnamon-desktop-environment
Forwarded from Laravel World
Media is too big
VIEW IN TELEGRAM
Страница, посвященная новому интерфейсу в PhpStorm

https://www.jetbrains.com/phpstorm/new-ui/
9ways.pdf
681.5 KB
9 Ways to Prevent a Supply Chain Attack on Your #CI / #CD Server
by #JetBrains
#OS #CodeNames

Debian:
1️⃣.1 Buzz
1️⃣.2 Rex
1️⃣.3 Bo
2️⃣.0 Hamm
2️⃣.1 Slink
2️⃣.2 Potato
3️⃣.0 Woody
3️⃣.1 Sarge
4️⃣.0 Etch
5️⃣.0 Lenny
6️⃣.0 Squeeze
7️⃣ Wheezy
8️⃣ Jessie
9️⃣ Stretch
1️⃣0️⃣ Buster
1️⃣1️⃣ Bullseye
1️⃣2️⃣ Bookworm
1️⃣3️⃣ Trixie
1️⃣4️⃣ Forky

Ubuntu
:
4️⃣.10 Warty Warthog
5️⃣.04 Hoary Hedgehog
5️⃣.10 Breezy Badger
6️⃣.06 Dapper Drake [LTS]
6️⃣.10 Edgy Eft
7️⃣.04 Feisty Fawn
7️⃣.10 Gutsy Gibbon
8️⃣.04 Hardy Heron [LTS]
8️⃣.10 Intrepid Ibex
9️⃣.04 Jaunty Jackalope
9️⃣.10 Karmic Koala
1️⃣0️⃣.04 Lucid Lynx [LTS]
1️⃣0️⃣.10 Maverick Meerkat
1️⃣1️⃣.04 Natty Narwhal
1️⃣1️⃣.10 Oneiric Ocelot
1️⃣2️⃣.04 Precise Pangolin [LTS]
1️⃣2️⃣.10 Quantal Quetzal
1️⃣3️⃣.04 Raring Ringtail
1️⃣3️⃣.10 Saucy Salamander
1️⃣4️⃣.04 Trusty Tahr [LTS]
1️⃣4️⃣.10 Utopic Unicorn
1️⃣5️⃣.04 Vivid Vervet
1️⃣5️⃣.10 Wily Werewolf
1️⃣6️⃣.04 Xenial Xerus [LTS]
1️⃣6️⃣.10 Yakkety Yak
1️⃣7️⃣.04 Zesty Zapus
1️⃣7️⃣.10 Artful Aardvark
1️⃣8️⃣.04 Bionic Beaver [LTS]
1️⃣8️⃣.10 Cosmic Cuttlefish
1️⃣9️⃣.04 Disco Dingo
1️⃣9️⃣.10 Eoan Ermine
2️⃣0️⃣.04 Focal Fossa [LTS]
2️⃣0️⃣.10 Groovy Gorilla
2️⃣1️⃣.04 Hirsute Hippo
2️⃣1️⃣.10 Impish Indri
2️⃣2️⃣.04 Jammy Jellyfish [LTS]
2️⃣2️⃣.10 Kinetic Kudu
2️⃣3️⃣.04 Lunar Lobster
2️⃣3️⃣.10 Mantic Minotaur
#bash detect dir size:
du -hs ./img/
#docker
Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  Temporary failure resolving 'deb.debian.org'

Fix:
sudo su
echo '{"dns": ["8.8.8.8", "8.8.4.4"]}' > /etc/docker/daemon.json
service docker restart
Forwarded from Laravel World
This media is not supported in your browser
VIEW IN TELEGRAM
Voices — новый плагин от JetBrains

На GitHub опубликовали код плагина Voices для интегрированных сред разработки от компании JetBrains. С его помощью можно оставлять в коде голосовые комментарии.

Проект открыт и опубликован на GitHub, а весь код написан на Kotlin. Для установки необходимо скачать jar-файл из раздела Releases. После следует перейти в настройки IDE и открыть раздел управления расширениями. В окне требуется выбрать установку из памяти. Скорее всего потребуется перезапустить IDE.

https://habr.com/ru/news/762758/