Skip to content

Instantly share code, notes, and snippets.

View bachors's full-sized avatar
🦕

Ican Bachors bachors

🦕
View GitHub Profile
@bachors
bachors / image_upload.html
Last active March 30, 2024 09:52
Convert image to base64, blob or binary with Javascript
<input type="file" id="inputImg" />
<br><br>
Nama file <input type="text" id="nameImg" style="width: 100%"/>
<br><br>
Type file <input type="text" id="typeImg" style="width: 100%"/>
<br><br>
Size file <input type="text" id="sizeImg" style="width: 100%"/>
<br><br>
base64Img: <input type="text" id="base64Url" style="width: 100%"/>
<br>
@bachors
bachors / kode_pos.php
Created May 14, 2016 19:17
Membuat API kode POS Indonesia
<?php
/* Just 4 Fun
API kode POS Indonesia
by iBacor.com */
function kode_pos($q){
// array untuk output
$result = array();
@bachors
bachors / Mailbox.php
Last active January 22, 2020 14:51
Reading emails from a IMAP mailbox - PHP example http://ibacor.com/demo/reading-emails-php/
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>IMAP mailbox - iBacor</title>
<!-- Custom style -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/css/bootstrap.min.css">
<style>
@bachors
bachors / github-repository-search.html
Last active April 23, 2018 09:25
jQuery github repository search. Display all github repository search on your website .. http://ibacor.com/demo/jquery-github-repository-search/
<!DOCTYPE html>
<html>
<head>
<!-- Include jQuery -->
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Include Fontawesome (optional) -->
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
@bachors
bachors / backlink_maker.php
Created November 26, 2016 12:49
Put your best SEO foot forward and generate a large number of high value backlinks ina matter of seconds.
<?php
/*****************************************************************************************************************
* #### Read Webpage Offline ####
* Read Webpage Offline is a free online tools and easy-to-use offline browser utility.
* It allows you to download a World Wide Web site from the Internet to a local directory,
* building recursively all directories, getting HTML, images, and other files from the server to your computer..
* http://ibacor.com/tools/read-webpage-offline
*****************************************************************************************************************/

Keybase proof

I hereby claim:

  • I am bachors on github.
  • I am bachors (https://keybase.io/bachors) on keybase.
  • I have a public key whose fingerprint is 0527 739C 4031 93CC 5B18 8757 F511 C1FD D59B E7C7

To claim this, I am signing this object:

@bachors
bachors / mymodal.html
Created January 18, 2015 08:12
Generet & Share Short URL + QR Code with Google API & Bootstrap
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Google Short URL & Google QR Code - iBacor</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/css/bootstrap.min.css">
@bachors
bachors / phonegap_download_example.html
Created January 26, 2017 23:16 — forked from nathanpc/phonegap_download_example.html
Sample code to download file from internet - Phonegap Wiki
<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- Android
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta charset="utf-8">-->
<!-- iPad/iPhone specific css below, add after your main css >
@bachors
bachors / hosted_example.txt
Created December 18, 2016 06:35 — forked from makevoid/hosted_example.txt
JQuery DOM HighLighter (it's a basic "Inspect element" simple implementation to mimic what webkit inspector and firebug do)
http://uploads.makevoid.com/jquery_dom_highlighter.html