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
Forwarded from Laravel World
This media is not supported in your browser
VIEW IN TELEGRAM
TLDR — плагин для PhpStorm, который подключает искусственный интеллект и тот на чистом английском языке объясняет, что делает ваш код.
https://plugins.jetbrains.com/plugin/20050-tldr
Forwarded from Laravel World
Шпаргалка по SQL
👏1
Debian. Checking open ports:
ss -tulpn

#Debian #ports #ss
🫡1
MySQL. Check DB size.
SELECT table_schema "DB Name", ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY table_schema;
🥰1
#PhpStorm #Ubuntu
Ctrl + Shift + U (Off Unicode Input)
ibus-setup # Emoji # Unicode Code Point # Delete
💊1
How to disable auto login after reboot.
sudo nano /etc/lightdm/lightdm.conf # change username to false # reboot

#Xubuntu #reboot #start
How to open Zoom meetings from the command line. linkedin.
🐳1
Forwarded from GPTaskBot
Для динамического подключения скрипта в JavaScript можно воспользоваться методом createElement для создания элемента script, задать ему атрибуты src с адресом скрипта и type со значением text/javascript. Далее, можно использовать метод appendChild для добавления созданного элемента в документ.

Пример:

var script = document.createElement('script');
script.src = 'path/to/script.js';
script.type = 'text/javascript';
document.body.appendChild(script);


Для удаления скрипта можно воспользоваться методом removeChild, который удаляет конкретный элемент из документа. Для удаления скрипта необходимо передать в качестве аргумента методу removeChild элемент скрипта, который необходимо удалить.

Пример:

var script = document.querySelector('path/to/script.js');
document.body.removeChild(script);


Обращаем ваше внимание, что без определенной потребности нежелательно использовать данную технику (из соблюдением политик кэширования, асинхронной загрузки скриптов, выполнением в правильном порядке и т.д.), так как это может ухудшить производительность и надежность вашего сайта.
🤮1
RAM Available #Linux
sudo dmidecode -t memory
👀1
Hide Y scroll bar 🤪 #CSS
::-webkit-scrollbar {
width: 0;
}
Exclude directories from Ctrl + Shift + F search. #PhpStorm #IntelliJIDEA
Right Click on dir in tree view -> Mark Directory As -> Excluded
👎1
🔥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