Skip this section if you have helm installed.
The easiest way to install cert-manager
is to use Helm
_, a templating and
[] |
# | |
# Add Google Analytics tracking code to HTML response | |
# | |
# Usage: | |
# set $tracking_id 'UA-12345678-9'; | |
# include incl/analytics.conf; | |
# | |
# It needs nginx compiled with option --with-http_sub_module. | |
# Uses optimized GA code from: http://mathiasbynens.be/notes/async-analytics-snippet | |
# |
<?php | |
/** | |
* Description of VideoStream. | |
* | |
* @author Rana | |
* | |
* @see http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
namespace App\Http; |
<?php | |
namespace App\Http\Responses; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Storage; | |
class S3FileStream | |
{ | |
/** |
<?php | |
/* | |
* Set the following constants in wp-config.php | |
* These should be added somewhere BEFORE the | |
* constant ABSPATH is defined. | |
*/ | |
define( 'SMTP_USER', '[email protected]' ); // Username to use for SMTP authentication | |
define( 'SMTP_PASS', 'smtp password' ); // Password to use for SMTP authentication |
#!/bin/bash | |
DIR=/var/lib/docker/containers | |
FILES=$(ls $DIR) | |
for f in $FILES | |
do | |
echo "Processing $f dir..." | |
# take action on each file. $f store current file name | |
ls -lash $DIR/$f | grep .log | |
LOGS=$(ls $DIR/$f/ | grep .log) |
const server = require('./server.js') | |
const numCPUs = require('os').cpus().length | |
const cluster = require('cluster') | |
function makeCluster() { | |
return new Promise((resolve, reject) => { | |
if (cluster.isMaster) { | |
for (let i = 0; i < numCPUs; i++) { | |
cluster.fork() | |
} |
{ | |
"log-driver": "json-file", | |
"log-opts": { | |
"max-size": "10m", | |
"max-file": "3", | |
"labels": "production_status", | |
"env": "os,customer" | |
} | |
} |
<?php | |
//creating categories in magento 2 | |
//last verified Magento 2.2.0 27 Oct 2017 | |
use \Magento\Framework\App\Bootstrap; | |
echo 'code by harshvardhanmalpani'; | |
include('./app/bootstrap.php'); | |
$bootstrap = Bootstrap::create(BP, $_SERVER); | |
$objectManager = $bootstrap->getObjectManager(); | |
function createCategory($a='',$b=2,$c=true,$d='',$e='',$f='',$g='') { | |
global $objectManager; |