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
Install PHP Phalcon for php8.4, troubleshooting with php 8.3.

sudo apt-get install php8.4-dev
sudo update-alternatives --set phpize /usr/bin/phpize8.4
sudo update-alternatives --set php-config /usr/bin/php-config8.4
sudo pecl uninstall phalcon-5.9.0
sudo pecl install phalcon-5.9.0
composer global require phalcon/devtools:"^5.0@dev" --dev
echo 'export PATH="$HOME/.config/composer/vendor/bin:$PATH"' >> ~/.bashrc


#php #phalcon #pecl
When SSL Certificate Expires

echo | openssl s_client -servername bakirov.expert -connect bakirov.expert:443 2>/dev/null | openssl x509 -noout -dates | grep 'notAfter'

notAfter=Jul  9 10:59:02 2025 GMT

or
end_date=$(echo | openssl s_client -servername bakirov.expert -connect bakirov.expert:443 2>/dev/null | openssl x509 -noout -enddate | cut -d= -f2); end_ts=$(date -d "$end_date" +%s); now_ts=$(date +%s); echo $(( (end_ts - now_ts) / 86400 )) days till the end

84 days till the end


Source

#ssl #tls #openssl #certificate #expire
😁2πŸ‘1
White Boσ „²σ …œσ …₯σ …•σ „σ …ƒσ …“σ …’σ …•σ …•σ …žσ „σ …Ÿσ …–σ „σ „΄σ …•σ …‘σ …€σ …˜ard

Hint

Hint 2 (Description)

Buy $5000 Emoji =)

#steganography #funny #task #challenge
Show Sys & Hardware Info Linux

apt install neofetch


#linux #sys
Set Redis Key Value From File

export REDISCLI_AUTH='password'
cat index.html | redis-cli -h 127.0.0.1 -p 6789 -x SET "redis-key"


#redis #bash
πŸ”₯1
This media is not supported in your browser
VIEW IN TELEGRAM
klingai.com v1.6

Penguin looks at the monitor in which 2 elephants, a python, a crab, a dolphin, a whale, and there is a railroad next to each other.


#ai #video #funny #kling
Forwarded from Coding Tips 😎
😁3
* * * * * /path/to/your_script.sh
* * * * * sleep 30 && /path/to/your_script.sh


😎 #funny #cron #crontab
Please open Telegram to view this post
VIEW IN TELEGRAM
const int SQL_INT_MAX = 2_147_483_647;


#postgres #php #int
Nginx Fix 413 (Request Entity Too Large)

client_max_body_size 10M;


#nginx #fixtoolarge
Git Clone Recursive

git clone --recursive repo.git

or
git clone repo.git
cd repo
git submodule update --init --recursive


#git #submodule #recursive
πŸ”₯1
How to Use Bash Aliases in Make File

/etc/bash.bashrc
...
alias wttr='curl wttr.in/Almaty'
...


Problem:
run:
wttr

romaxa@coder:/var/www$ make
wttr
Command 'wttr' not found, did you mean:
command 'sttr' from snap sttr (0.2.25)
command 'attr' from deb attr (1:2.5.2-1build1.1)
See 'snap info <snapname>' for additional versions.
make: *** [Makefile:2: run] Error 127


Solution:

Makefile
SHELL=/bin/bash --rcfile /etc/bash.bashrc -i
run:
wttr

make
Fix Find Usages Behaviour in WebStorm in Xubuntu / Make Interactive Navigation 4 JS or TS

#js #ts #navigation #webstorm #jetbrains #idea #xubuntu