This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.'"}'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Android Activity LAUNCHER SCREEN | |
+ Firebase Login Detect | |
+ Runable | |
http://github.com/imammubin | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private StringRequest stringRequest = new StringRequest(Request.Method.POST, url_register, new Response.Listener<String>() { | |
@Override | |
public void onResponse(String response) { | |
String result = response.toString(); | |
textView.setText(result); | |
Log.d("vol ", "onResponse: "+result); | |
////////// CONVERT STRING TO JSON | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(ContextCompat.checkSelfPermission (this,Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) | |
{ | |
ActivityCompat.requestPermissions(this,new String[] | |
{ | |
Manifest.permission.WRITE_EXTERNAL_STORAGE, | |
Manifest.permission.READ_EXTERNAL_STORAGE, | |
},1); | |
} | |
File folder = new File(Environment.getExternalStorageDirectory() + File.separator + "AAMubin"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function removeSpaces(string) { | |
return string.split(' ').join(''); | |
} | |
function text_number_only(string){ | |
return string.replace(/\D/g,""); | |
} | |
function number_only(e){ | |
var key; var keychar; |
OlderNewer