Skip to content

Instantly share code, notes, and snippets.

View kidino's full-sized avatar

Iszuddin Ismail kidino

View GitHub Profile
@kidino
kidino / malaysia-webhosting-x-powered-by
Last active August 29, 2015 13:56
Malaysia's Web Hosting and X-Powered-By
Old Gist. Do check
https://github.com/kidino/Malaysia-s-Web-Hosts-and-X-Powered-By
2 February2014
http://www.exabytes.com.my/ - PHP/5.3.27
http://www.internet-webhosting.com/ - PHP/5.4.24
http://www.emerge.com.my/index.html - ASP.NET
http://www.serverfreak.com/ - PHP/5.3.28
https://www.shinjiru.com.my/ - ASP.NET
@kidino
kidino / PayPalEmail.php
Created October 27, 2014 03:48
Fix for BoxBilling for bb-library/Payment/Adapter/PayPalEmail.php
<?php
/**
* BoxBilling
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* http://www.boxbilling.com/LICENSE.txt
@kidino
kidino / gist:5562087
Last active December 17, 2015 05:59
Modified captcha helper for CodeIgniter. Add this as /application/helpers/MY_captcha_helper.php - random spacing between letters - random colors - set font_size
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
@kidino
kidino / check.php
Last active April 6, 2017 13:51
PHP Simple Uptime Monitoring. Can be used in cron or command line.
<?php
error_reporting(E_STRICT | E_ALL);
$url_to_check = 'http://domain.zyz';
$downtime_message = 'WEBSITE IS DOWN : '. $url_to_check;
$uptime_message = 'WEBSITE IS BACK ONLINE : '.$url_to_check;
$notify_email = 'me@domain.xyz';
$from_ok = 'UPTIME OK';
$from_error = 'UPTIME ERROR';
@kidino
kidino / index.html
Created August 25, 2017 12:55
Suspended Website Template
<!--
_____ __ __ _____ ____ ___ ____ ___ ___ ___
/ ___/| | |/ ___/| \ / _]| \ | \ / _]| \
( \_ | | ( \_ | o ) [_ | _ || \ / [_ | \
\__ || | |\__ || _/ _]| | || D || _]| D |
/ \ || : |/ \ || | | [_ | | || || [_ | |
\ || |\ || | | || | || || || |
\___| \__,_| \___||__| |_____||__|__||_____||_____||_____|
@kidino
kidino / Sample Teachers MySQL Table
Created April 14, 2019 02:56
A small sample table for learning and practicing MySQL
CREATE TABLE teachers
(teacher_id INT AUTO_INCREMENT PRIMARY KEY,
formal_title VARCHAR(25),
name_first VARCHAR(100),
name_last VARCHAR(100),
email_address VARCHAR(255));
INSERT INTO teachers
(formal_title, name_first, name_last, email_address)
VALUES
@kidino
kidino / teacher.html
Created April 19, 2019 03:00
Teacher Fusio Table
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Teacher</title>
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.css">
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
@kidino
kidino / carousel-style.css
Last active April 27, 2020 23:55
Customizing Elementor Pro Image Carousell - Custom CSS
@kidino
kidino / carousel-javascript.html
Last active April 27, 2020 23:56
Customizing Elementor Pro Image Carousell - Javascript
@kidino
kidino / toggle-button.json
Created April 28, 2020 04:17
Pricing Table with Toggle Button for Elementor Pro
{"version":"0.4","title":"toggle-pricing-table","type":"section","content":[{"id":"7e71bb5a","settings":{"margin":{"unit":"px","top":"100","right":0,"bottom":"100","left":0,"isLinked":true}},"elements":[{"id":"1987f110","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"2c2912c1","settings":{"content_width":{"unit":"px","size":195,"sizes":[]},"height_inner":"min-height","custom_height_inner":{"unit":"px","size":55,"sizes":[]}},"elements":[{"id":"28eca408","settings":{"_column_size":100,"_inline_size":null,"content_position":"center","align":"space-around","background_background":"classic","background_color":"#E7E7E7","border_radius":{"unit":"px","top":"10","right":"10","bottom":"10","left":"10","isLinked":true},"_element_id":"toggle-01","custom_css":"selector {\n cursor: pointer;\n}"},"elements":[{"id":"16108133","settings":{"button_type":"info","text":"-","size":"xs","button_text_color":"#ACAFEA","background_color":"#ACAFEA","border_radius":{"unit":"px","top":"5","right":"5","bottom":"