Bash cd OLDPWD
#bash
romaxa@coder:~$ cd -
bash: cd: OLDPWD not set
romaxa@coder:~$ cd / && pwd && cd -
/
/home/romaxa
#bash
Install PHP Phalcon for php8.4, troubleshooting with php 8.3.
#php #phalcon #pecl
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
or
Source
#ssl #tls #openssl #certificate #expire
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
White Boσ ²σ
σ
₯σ
σ σ
σ
σ
’σ
σ
σ
σ σ
σ
σ σ ΄σ
σ
σ
€σ
ard
Hint
Hint 2 (Description)
Buy $5000 Emoji =)
#steganography #funny #task #challenge
Hint
Hint 2 (Description)
Buy $5000 Emoji =)
#steganography #funny #task #challenge
This media is not supported in your browser
VIEW IN TELEGRAM
klingai.com v1.6
#ai #video #funny #kling
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
Please open Telegram to view this post
VIEW IN TELEGRAM
Git Clone Recursive
or
#git #submodule #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
Problem:
Solution:
Makefile
/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