Skip to content

Instantly share code, notes, and snippets.

@eboot
eboot / tourney.html
Created May 20, 2020 16:17 — forked from sterlingwes/tourney.html
Tournament Bracket Generator (Javascript + CSS, no tables)
<!DOCTYPE html>
<html>
<head>
<title>Tournament Bracket Generator</title>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://underscorejs.org/underscore-min.js"></script>
<script>
$(document).on('ready', function() {
var knownBrackets = [2,4,8,16,32], // brackets with "perfect" proportions (full fields, no byes)
@eboot
eboot / .babelrc
Created February 6, 2019 22:40 — forked from federicofazzeri/.babelrc
Node Express-based REST API (CRUD) using Firebase cloud Functions and FireStore cloud database + Babel config (The current Node version running in Cloud Functions is 6.10)
{
"presets": [
["env", {
"targets": {
"node": "6.10"
}
}]
]
}
@eboot
eboot / video_loader.php
Created August 7, 2018 17:56 — forked from sartas/video_loader.php
video_loader
#!/usr/bin/php5
<?php
function save_to() {
$save_to = getenv('HOME') . '/flash/video/';
return $save_to;
}
function links_from() {
$links_from = getenv('HOME') . '/flash/video.txt';
@eboot
eboot / wp.sh
Created June 20, 2018 14:58 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
Node / Iquidus Explorer Setup for Dummies
Pulse Crypto is used in this example.
This Tutorial is going to create a Daemon (node) and install Explorer.
THIS IS NOT GOING TO CREATE A GUI CLIENT.
Follow the instructions in [whatever coin name] docs folder Unix build - some builds are different.
I setup this up on both Ubuntu 15.10 and 16.04 with no issues.
You can create an account on vultr and get $50 free to be used in 2 months.
@eboot
eboot / spintax.php
Created October 27, 2017 04:20 — forked from irazasyed/spintax.php
PHP: Text Spinner Class - Nested spinning supported.
<?PHP
/**
* Spintax - A helper class to process Spintax strings.
* @name Spintax
* @author Jason Davis - https://www.codedevelopr.com/
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/
*/
class Spintax
{
public function process($text)
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <[email protected]> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
@eboot
eboot / gist:59d060b49d328dc3e10397da94b8e4a5
Created May 15, 2016 06:24 — forked from resting/gist:3421760
AES128 encrypt/decrypt in PHP with base64
<?
function aes128Encrypt($key, $data) {
if(16 !== strlen($key)) $key = hash('MD5', $key, true);
$padding = 16 - (strlen($data) % 16);
$data .= str_repeat(chr($padding), $padding);
return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, str_repeat("\0", 16)));
}
function aes128Decrypt($key, $data) {
@eboot
eboot / index.html
Created May 4, 2016 03:47 — forked from csusbdt/index.html
How to store JSON data into the user's Google drive storage.
<html>
<head>
<!--
In this example, I started with the 5-minute example provided by Google
on the following page:
https://developers.google.com/drive/
I modified the example code, so that I could write the following
@eboot
eboot / auto-downloader-video-engine
Created December 7, 2014 03:24
Auto Downloader VIdeo Engine For Android, DI AGC SPP
masuk ke Cpanel masing" upload file .APK Video Engine For android di directory domain
kaya SC di bawah ini
http://prntscr.com/5e1lyy
buka file Mobile_Detect.php yang ada pada Youtube Downloader/MobileDetect/Mobile_Detect.php yang sudah agan download di member area dojo,
atau bisa agan copy yg ini