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
function hashParse(url) { | |
function assign(obj, prop, value) { | |
prop = prop.split("."); | |
if (prop.length > 1) { | |
var e = prop.shift(); | |
assign(obj[e] = Object.prototype.toString.call(obj[e]) === "[object Object]" ? obj[e] : {}, | |
prop, | |
value); | |
} else |
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
error_reporting(E_ALL); | |
ini_set('display_errors', 1); |
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
# /* [ <!-- */ include <stdio.h> /* \ | |
#`{{coding=utf-8\ | |
"true" if 0 != 0 and q != """0" ; ` \ | |
\ | |
if [ -n "$ZSH_VERSION" ]; then \ | |
\ | |
echo exec echo I\'m a zsh script.; \ | |
\ | |
elif [ -n "$BASH_VERSION" ]; then \ | |
\ |
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 | |
cd ./docker | |
docker-compose logs -f |
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 | |
cd ./docker | |
docker-compose up -d | |
nginx_ip=`docker-compose exec nginx hostname -I` | |
nginx_host=`docker-compose exec nginx hostname` | |
./../manage-etc-hosts.bash add $nginx_host $nginx_ip | |
echo "app ip: ${nginx_ip}" | |
echo "app host: ${nginx_host}" | |
echo "Docker is runing in backgroung, to start show logs, run ./logs-docker.bash" |
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 | |
cd ./docker | |
nginx_ip=`docker-compose exec nginx hostname -I` | |
nginx_host=`docker-compose exec nginx hostname` | |
./../manage-etc-hosts.bash remove $nginx_host | |
docker-compose stop |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
textarea { | |
width: 100%; |
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
xdebug.remote_enable=on | |
xdebug.remote_host=host.docker.internal | |
xdebug.remote_port=5902 | |
xdebug.default_enable=1 | |
xdebug.cli_color=1 |
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
xdebug.remote_enable=on | |
xdebug.remote_host=host.docker.internal | |
xdebug.remote_port=5902 | |
xdebug.default_enable=1 | |
xdebug.cli_color=1 | |
xdebug.remote_autostart=1 |
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
function ReportTool () {} | |
ReportTool.prototype.removeAllSuccessParts = () => { | |
const sList = document.getElementById('status_list'); | |
Array.prototype.forEach.call(sList.childNodes, (c) => { | |
if (c.tagName !== 'LI') return; | |
if (!c.classList.contains('failed')) sList.removeChild(c); | |
}); | |
} |
OlderNewer