Skip to content

Instantly share code, notes, and snippets.

Coding... coding.. coding.... and coding..!

Hendi Santika hendisantika

Coding... coding.. coding.... and coding..!
Block or report user

Report or block hendisantika

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hendisantika / index.html
Created Nov 4, 2018
Real Time Javascript Calculation Based On Form Inputs
View index.html
<!DOCTYPE html>
<title>Tes Form</title>
<input id='first' type="text" class="form-control formBlock" name="bus_ticket" placeholder="Bus Ticket..." required/><br />
<input id='second' type="text" class="form-control formBlock" name="plane_ticket" placeholder="Plane Ticket..." required/><br />
hendisantika /
Created May 14, 2018 — forked from nrollr/
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

hendisantika / bank.xml
Created Apr 5, 2018
Some XSD examples (and reminders!)
View bank.xml
<?xml version="1.0" encoding="UTF-8"?>
<bank xmlns:xsi="" xsi:noNamespaceSchemaLocation="bank.xsd">
<savings_account id="a1" interest="0.03">
<savings_account id="a2" interest="0.03">
hendisantika /
Created Mar 21, 2018 — forked from evantoli/
Configure Git to use a proxy

Configure Git to use a proxy

##In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

hendisantika /
Created Oct 17, 2017 — forked from ddanailov-nmdp/
Installing Oracle 11g on OS X 10.11 El Capitan
View install-kafka-macOS.txt
$> brew cask install java
$> brew install kafka
$> vim ~/bin/kafka
# ~/bin/kafka
zkServer start /usr/local/etc/kafka/

Setup a Development MySQL Database with Docker

We start from the official MySQL Docker image available: mysql.

FROM mysql:5.7.18

set the ENVironment variable to provide a root password:


hendisantika /
Created May 25, 2017 — forked from subfuzion/
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

hendisantika / gist:4a5444b5b360fd82b41da8ef10d25f8a
Created May 20, 2017 — forked from panuta/gist:1852087
How to setup Django/Postgresql on OS X Mountain Lion using Homebrew
View gist:4a5444b5b360fd82b41da8ef10d25f8a

Command Line Tools for Xcode

Command line tools comes bundle with Xcode prior to 4.3 version. After 4.3, you need to install a separated command line tools yourself.

First, go to this url and login using Apple Developer account (Free to register)
You can’t perform that action at this time.