This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// логин и пароль | |
$login = "admin"; | |
$password = "pass"; | |
$authPass = false; | |
if(isset($_SERVER['PHP_AUTH_USER']) && ($_SERVER['PHP_AUTH_PW'] == $password) && (strtolower($_SERVER['PHP_AUTH_USER']) == $login)){ | |
$authPass = true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | |
"This file is @generated automatically" | |
], | |
"content-hash": "e82f27317477d1079347da180a9dd894", | |
"packages": [ | |
{ | |
"name": "psr/log", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: David Manouchehri <david@davidmanouchehri.com> | |
pkgname=shallot-git | |
_gitname=Shallot | |
_gitauthor=katmagic | |
pkgver=0.0.3.r26.g831de01 | |
pkgrel=2 | |
pkgdesc="Shallot allows you to create customized .onion addresses for your hidden service." | |
arch=('i686' 'x86_64') | |
source=("git://github.com/$_gitauthor/$_gitname.git") | |
url="https://github.com/$_gitauthor/$_gitname" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Joseph Post <joe@jcpst.com> | |
# Previous Maintainer: Stephan Wienczny <stephan@wienczny.de> | |
pkgname=dbeaver-ee | |
pkgver=4.0.4 | |
pkgrel=1 | |
pkgdesc="A free universal database tool for developers and database administrators. Enterprise Edition includes NoSQL database support" | |
arch=('i686' 'x86_64') | |
url="http://dbeaver.jkiss.org/" | |
license=("GPL") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ilya Kovalenko <agentsib@gmail.com> | |
pkgname=joxi | |
pkgver=3.0.9 | |
pkgrel=1 | |
pkgdesc="Easy to use screenshot sharing application (Russian)" | |
arch=('i386' 'x86_64') | |
url="http://joxi.ru/" | |
license=('unknown') | |
options=('emptydirs') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = openssl_x509_parse(file_get_contents('/path/to/cert.crt')); | |
$validFrom = date('Y-m-d H:i:s', $data['validFrom_time_t']); | |
$validTo = date('Y-m-d H:i:s', $data['validTo_time_t']); | |
echo $validFrom . "\n"; | |
echo $validTo . "\n"; | |
?> |