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

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

Author: @BakirovRoman
Download Telegram
Always Enable Parameters Inlay Hints 🌪

#parameters #idea #phpstorm #webstorm #inlay #hints
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2
🐧 Git Show All Tags 🖥

git --no-pager tag --sort=refname
git --no-pager tag --sort=-refname # For reverse

git --no-pager tag | sort -V

alias git-tag="git --no-pager tag | sort -V"

git tag 1.0.0

git push origin --tags


#git #bash #cvs #tag #tags #history
Please open Telegram to view this post
VIEW IN TELEGRAM
cowsay "Hello World!"

 ______________
< Hello World! >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

#funny #cowsay
🎛 Find All Root composer.json Files 🐧

find work/dir-with-many-projects/ -iname composer.json | grep -v "vendor"

grep with flag -v exclude line with founded word

#bash #php #composer #vendor #grep #find
Please open Telegram to view this post
VIEW IN TELEGRAM
sudo apt install xcowsay

xcowsay Hello Smart Backend!

#funny #cowsay #xcowsay
😱3
This media is not supported in your browser
VIEW IN TELEGRAM
alias mew=cat

sudo apt install oneko

oneko

#funny #cat #oneko #mew
This media is not supported in your browser
VIEW IN TELEGRAM
🖱 Xfce Window Control 🐧

Left Alt + Left Mouse Button = Move

Left Alt + Right Mouse Button = Resize

Left Alt + Double Left Mouse Button = Full Screen


#interface #xfce #linux #xubuntu #ubuntu #window
Please open Telegram to view this post
VIEW IN TELEGRAM
aqua.gif
16.6 MB
sudo snap install asciiquarium

asciiquarium


#funny #fish #bash #ascii #aquarium #asciiquarium
🔥1
*Storm Classes Tree View 🌪

- Click Class in Tree View
- Context Menu
- Diagram
- Show Diagram ... / Ctrl + Alt + Shift U
- Click Class on Diagram
- Show Implementations / Ctrl + Alt + B
- Ctrl + A
- Enter
- Click on Needed Class
- Context Menu
- Selected Element Actions
- Jump to Source / F4

#PhpStorm #JetBrains #idea #intelijidea #graph #class #tree #extends #implements #view #parent #child #diagram
Please open Telegram to view this post
VIEW IN TELEGRAM
📱 Script 4 Launch Daily Meeting In Zoom 🐧

cd ~/Desktop/ && nano daily.sh && chmod +x daily.sh

Get Deeplink from Chrome Dev Tools and paste in daily. sh instead of "<deeplink>"
xdg-open "<deeplink>"


In result you must have something like:
xdg-open "zoommtg://zoom.us/join?action=join&confno=***&pwd=***&confid=***&browser=chrome"

Or Create Alias, if you like terminal:
alias daily='xdg-open "zoommtg://zoom.us/join?action=join&confno=***&pwd=***&confid=***&browser=chrome"'


#zoom #alias #script #desktop #deeplink #xdg
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Some PHP composer Hints

1. Check vendor changes
composer status -v


Output:
You have changes in the following dependencies:
/var/www/yout-project/vendor/symfony/var-dumper:
M VarDumper.php

or
No local changes


2. Rollback vendor changes
composer reinstall "*" --no-interaction


#composer #php #status #install #reinstall #hint #hints
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
⚠️❗️ Updates for security issue affecting IntelliJ-based IDEs 2023.1+ and JetBrains GitHub Plugin 🌪

#CVE
Please open Telegram to view this post
VIEW IN TELEGRAM
🤯1
🖱 Set Clipboard from Bash 🐧

sudo apt install xclip


echo "Hello Smart Backend!" | xclip


#clipboard #copy #bash #xclip
Please open Telegram to view this post
VIEW IN TELEGRAM
🖱 Disable IBus Unicode Code Point / Ctrl + Shift + U 🐧

ibus-setup


#emoji #unicode #phpstorm #capitalize
Please open Telegram to view this post
VIEW IN TELEGRAM
2
Forwarded from RESTful api
Типы блокировок БД
Блокировки баз данных: ключевые различия

Блокировка — временное ограничение на выполнение некоторых операций обработки данных. Она предотвращают одновременный доступ к данным для обеспечения целостности и консистентности данных.

📌 Основные типы:

🔷 Shared Lock: позволяет нескольким транзакциям одновременно читать ресурс, но не модифицировать его
🔷 Exclusive Lock: позволяет транзакции как читать, так и модифицировать ресурс
🔷 Update Lock: используется для предотвращения взаимоблокировки, когда транзакция намеревается обновить ресурс
🔷 Schema Lock: используется для защиты структуры объектов базы данных
🔷 Bulk Update Lock: используется во время массовых вставок
🔷 Key-Range Lock: используется в индексированных данных для предотвращения фантомных чтений
🔷 Row-Level Lock: блокирует конкретную строку в таблице
🔷 Page-Level Lock: блокирует конкретную страницу (фиксированный блок данных) в базе данных
🔷 Table-Level Lock: блокирует всю таблицу

Источник 👉 https://proglib.io/w/2127d954
#JetBrains Tnx) 🥳 🌪
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 Common Bash History With Host Inside Docker Container 🎛🐧

docker-compose.yml

        volumes:
- "~/.bash_history:/home/${HOST_USER_NAME}/.bash_history"


#docker #docker_compose #bash #history #bash_history
Please open Telegram to view this post
VIEW IN TELEGRAM