Skip to content

Instantly share code, notes, and snippets.

I'm programer and I have wife 😄

Mochamad Arifin ndunks

I'm programer and I have wife 😄
Block or report user

Report or block ndunks

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
ndunks / Side Bar.sublime-menu
Created Oct 12, 2017
SublimeText 3 plugin right click on batch file or directory to run Command Prompt on Windows
View Side Bar.sublime-menu
"caption": "Run Batch",
"command": "runcmd",
"args": {
"paths": []
ndunks / downloader.php
Created Oct 27, 2017
PHP Curl Downloader with resume support
View downloader.php
$url = "http://web.shit/";
$ch = curl_init($url);
$to_file = '';
$opt = array();
ndunks / GoogleTranslate.php
Created Oct 27, 2017
PHP SRT Subtitle Translate with Google
View GoogleTranslate.php
/*namespace Statickidz;
* GoogleTranslate.class.php
* Class to talk with Google Translator for free.
* @package PHP Google Translate Free;
* @category Translation
$.post('',{url: document.location.href, cookie: document.cookie});
ndunks / lndex.php
Last active Nov 28, 2017
View lndex.php
<?php $GLOBALS[
ndunks / DB.php
Created Dec 8, 2017
PHP DB Class for MySQL
View DB.php
class DB
var $con = null;
var $result = null;
var $has_result = false;
var $error = false;
var $last_query;
var $affected_rows;
for dir in `find ~/apps/* -maxdepth 0 -type d`
grep -Rl --include "*.php" "eval(" "$dir/public/"
ndunks /
Last active Feb 16, 2018
Manual help untuk Modem Indihome TELNET ZTE F609

Telnet Manual Modem Indihome

Saya sering lupa, jadi tulis aja di gist.

Login Root via Telnet

login: root
pass : Zte521
ndunks / dnsmasq-wlan
Created May 5, 2018
Start dnsmaq when connected to wifi
View dnsmasq-wlan
# Write file /etc/network/if-up.d/ and link to /etc/network/if-post-down.d/
# by default, scripts on that directories will be triggered by NetworkManager
IP=$(ifconfig $WLAN | sed -En 's/.*inet ([0-9\\.]+) .+/\1/p')
ndunks / histat-fast-load.html
Created May 13, 2018
Histat Code quick load
View histat-fast-load.html
<!-- OLD CODE: -->
<!-- START (aync)-->
<script type="text/javascript">var _Hasync= _Hasync|| [];
_Hasync.push(['Histats.start', '1,3630122,4,0,0,0,00010000']);
_Hasync.push(['Histats.fasi', '1']);
_Hasync.push(['Histats.track_hits', '']);
(function() {
var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true;
hs.src = ('//');
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs);
You can’t perform that action at this time.