View hideWordpressAdminDashboardBar
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 | |
*/ |
View addJQueryGoogle.php
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 | |
*/ |
View google-URL-shortener.php
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.'"}'); |
View MainActivity.java
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 | |
*/ |
View VolleyStringRequestToJSONObject
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 { |
View DroidcreateFolderWithPermision
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"); |
View functionJS
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; |
View gmap.php
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
<html> | |
<head></head> | |
<body> | |
<div id="map-canvas"></div> | |
<script src="https://maps.googleapis.com/maps/api/js"></script> | |
<script> | |
function initialize() { | |
var mapCanvas = document.getElementById('map-canvas'); | |
var mapOptions = { | |
center: new google.maps.LatLng(-6.5743075,106.640402), |
OlderNewer