Skip to content

Instantly share code, notes, and snippets.

View imammubin's full-sized avatar

Imam Mubin imammubin

View GitHub Profile
/*
Android Activity LAUNCHER SCREEN
+ Firebase Login Detect
+ Runable
http://github.com/imammubin
*/
keytool -list -v -keystore C:\Users\{change_with_window_username}\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
keytool -list -v -keystore C:\Users\iMubin\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
keytool -importcert -file D:\My\Downloads\upload_cert1.der -keystore C:\Users\iMubin\.android\debug.keystore
keytool -exportcert -alias androiddebugkey -keystore C:\Users\iMubin\.android\debug.keystore -list -v
BUAT KEYPAIR BARU
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore cobain.jks
keytool -genkeypair -alias ptpr -keyalg RSA -keysize 2048 -validity 9125 -keystore ptpr.jks
<?php
function GoogleURLShorterner($url)
{
$curlHandle = curl_init();
curl_setopt($curlHandle, CURLOPT_URL, 'https://www.googleapis.com/urlshortener/v1/url');
curl_setopt($curlHandle, CURLOPT_HEADER, 0);
curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($curlHandle, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, '{"longUrl":"'.$url.'"}');
<?php
/*
Plugin Name: addJQueryGoogle
Plugin URI: http://bit.ly/jquery-google-plugin-v1
Description: add JQUERY LIBRARY from google
Version: 1.0
Author: iMubin
Author URI: http://www.imammubin.com
*/
<?php
/*
Plugin Name: hide admin dashboard bar
Plugin URI: http://bit.ly/hide-admin-dashboard-bar-plugin-v1
Description: hide admin bar dashboard when not in wp-admin
Version: 1.0
Author: iMubin
Author URI: http://www.imammubin.com
*/