Skip to content

Instantly share code, notes, and snippets.

@b1glord
b1glord / 01-ofbiz-installing.md
Created December 1, 2022 13:22 — forked from bagasme/01-ofbiz-installing.md
Setting Up Guides for Apache OFBiz

Installing OFBiz

OFBiz (Open for Business) is a free and open source ERP solution by Apache, flexible enough to be used across any industries and business.

In this file of this gist, we will install OFBiz, with default setup. This use embedded Apache Derby as database backend, and loaded with default dataset included with the distribution.

Prerequisites

@b1glord
b1glord / authedmine.js
Created January 16, 2022 20:46 — forked from 0xVasconcelos/authedmine.js
AuthedMine/CoinHive with automatic threads count select and thottling example.
<script src="https://authedmine.com/lib/authedmine.min.js"></script>
<script>
var miner = new CoinHive.Anonymous('Gvo743X2mNQpaCga3bamewlPqOTIOg9l');
//gets number of cores(or threads for SMT/HT enabled CPU's).
var coreCount = window.navigator.hardwareConcurrency;
var nThreads = 1;
if(coreCount != 'undefined')
//in this case I'm limiting the use to only half cores/threads of cpu.
nThreads = (coreCount / 2) | 0;
@b1glord
b1glord / curl-dosya-indirme.php
Created March 31, 2020 11:11 — forked from saltun/curl-dosya-indirme.php
Curl Dosya indirme
<?php
function dosya_indir($link,$dosya_adi=NULL){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$dosya=curl_exec($ch);
curl_close($ch);
@b1glord
b1glord / hhvminfo.php
Created March 18, 2020 14:15 — forked from ck-on/hhvminfo.php
HHVMinfo - phpinfo for HHVM HipHop Virtual Machine
<?php
/*
HHVMinfo - phpinfo page for HHVM HipHop Virtual Machine
Author: _ck_
License: WTFPL, free for any kind of use or modification, I am not responsible for anything, please share your improvements
Version: 0.0.6
* revision history
0.0.6 2014-08-02 display fix for empty vs zero
0.0.5 2014-07-31 try to determine config file from process command line (may not always work), style improvements
#!/bin/bash
clear
echo ""
echo "Welcome to the Hercules/rAthena database installer"
echo "This script will install your database for you, without you having to do it manually."
#echo ""
#echo "This script was created by Keith of RO-Story (http://www.ro-story.com) for the Hercules and rAthena community."
echo ""
echo ""