What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-01 01:27:03
openssl verify cert
openssl x509 -in certificate.crt -text -noout Add solution -
Python 2021-09-30 13:08:04
macos youtube-dl unable to get local issuer certificate _ssl.c:1131
# If you're using macOS go to # Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) # > double click on "Install Certificates.command" file. :D # If you installed python using homebrew, run the ... Add solution -
Other 2021-09-24 20:22:04
open ssl mac
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key] Add solution -
Other 2021-09-23 07:32:02
install swoole
## 下载 tioncico@tioncico-PC:/tmp$ wget https://github.com/swoole/swoole-src/archive/v4.4.23.tar.gz # 如果使用 github 下载慢,请到 pecl 进行下载 # tioncico@tioncico-PC:/tmp$ wget https://pecl.php.net/get/swoole-4.4.23.tgz ## 解压到当前目录 tioncico@tioncico-PC:/tmp$ tar -zvx... Add solution -
PHP 2021-09-20 18:56:03
generate token in php
<?php // Thanks to: https://thisinterestsme.com/generating-random-token-php/ //Generate a random string. $token = openssl_random_pseudo_bytes(16); //Convert the binary data into hexadecimal representation. $token = bin2hex($token); //Pr... Add solution -
PHP 2021-09-18 16:16:05
file could not be downloaded: Unable to find the wrap per "https" - did you forget to enable it when you configured PHP? failed to open stream: No such file or directory
solved it in XAMPP by uncommenting ;extension=php_openssl.dll in /apache/bin/php.ini despite phpinfo() telling me /php/php.ini was the loaded ini file. And You just uncomment the extension_dir in php.ini Add solution