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 | |
// no cache | |
if (!headers_sent()) { | |
header('Expires: Wed, 11 Jan 1984 05:00:00 GMT'); | |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); | |
header('Cache-Control: no-cache, must-revalidate, max-age=0'); | |
header('Pragma: no-cache'); | |
} |
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
var Z63 = Z63 || {}; | |
Z63.ChangePageTitle = function (e) { | |
"use strict"; | |
var t = {}, n, r; | |
t.init = function (e) { | |
n = e.title; | |
r = e.originalTitle; | |
t.listenToChange() | |
}; | |
t.listenToChange = function () { |
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 | |
/** | |
* JBZoo App is universal Joomla CCK, application for YooTheme Zoo component | |
* @package jbzoo | |
* @version 2.x Pro | |
* @author JBZoo App http://jbzoo.com | |
* @copyright Copyright (C) JBZoo.com, All rights reserved. | |
* @license http://jbzoo.com/license-pro.php JBZoo Licence | |
* @coder Denis Smetannikov <denis@jbzoo.com> | |
*/ |
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 | |
use Symfony\Component\Finder\Finder; | |
use Symfony\Component\Finder\SplFileInfo; | |
require_once './vendor/autoload.php'; | |
$finder = new Finder(); |
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 | |
// https://pear.php.net/manual/en/package.php.php-codesniffer.advanced-usage.php | |
// @codingStandardsIgnoreLine | |
// @codingStandardsIgnoreFile | |
// @codingStandardsIgnoreStart | |
// @codingStandardsIgnoreEnd | |
// https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.codeCoverageIgnore | |
// @codeCoverageIgnore |
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
@ECHO OFF | |
setlocal | |
:PROMPT | |
SET /P AREYOUSURE=Copy to PC? (PC/[N])? | |
IF /I "%AREYOUSURE%" NEQ "PC" GOTO END | |
DEL c:\vhd\work_old.vhd | |
REN c:\vhd\work.vhd work_old.vhd |
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
wusa /uninstall /kb:2952664 /norestart /quiet | |
wusa /uninstall /kb:2976978 /norestart /quiet | |
wusa /uninstall /kb:2977759 /norestart /quiet | |
wusa /uninstall /kb:2990214 /norestart /quiet | |
wusa /uninstall /kb:3021917 /norestart /quiet | |
wusa /uninstall /kb:3022345 /norestart /quiet | |
wusa /uninstall /kb:3035583 /norestart /quiet | |
wusa /uninstall /kb:3044374 /norestart /quiet | |
wusa /uninstall /kb:3068708 /norestart /quiet | |
wusa /uninstall /kb:3075249 /norestart /quiet |
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
#!/usr/bin/env sh | |
####################################################################### | |
assert () # If condition false, | |
{ #+ exit from script | |
#+ with appropriate error message. | |
E_PARAM_ERR=98 | |
E_ASSERT_FAILED=99 | |
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
#!/usr/bin/env sh | |
------------------------------------------ | |
openssl genrsa -out jbzoo-com-ca.key 2048 | |
openssl req -x509 -new -key jbzoo-com-ca.key -days 10000 -out jbzoo-com-ca.crt | |
openssl genrsa -out jbzoo-com-server.key 2048 | |
openssl req -new -key jbzoo-com-server.key -out jbzoo-com-server.csr | |
openssl x509 -req -in jbzoo-com-server.csr -CA jbzoo-com-ca.crt -sha256 -CAkey jbzoo-com-ca.key -CAcreateserial -out jbzoo-com-server.crt -days 5000 |
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
#!/bin/bash | |
# Delete all containers | |
docker rm -f $(docker ps -a -q) | |
# Delete all images | |
docker rmi -f $(docker images -q) | |
# Enter to container | |
docker run -ti <IMAGE> /bin/bash |