Skip to content

Instantly share code, notes, and snippets.

View ardianta's full-sized avatar
👋
hi!

Ahmad Muhardian ardianta

👋
hi!
View GitHub Profile
@ardianta
ardianta / Remove_MIUI_Bloatware.CMD
Created August 16, 2020 08:08 — forked from Biswa96/Remove_MIUI_Bloatware.CMD
Remove bloatware applications from MIUI ROM in Xiaomi phones
@echo off
set /p Y=Enter adb.exe folder path:
cd /d %Y%
adb devices
pause
for %%X in (
"com.amazon.appmanager"
"com.android.browser"
"com.android.chrome"
"com.android.email"
@ardianta
ardianta / AND_OR_NOT
Created January 5, 2017 05:22 — forked from oliverdoetsch/AND_OR_NOT
Blogger: Globally conditional data tags for all page types
#AND
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.searchQuery'>
<!--search_page AND index_page-->
</b:if>
</b:if>
#OR
@ardianta
ardianta / gist:e5b96fd0f4120bf95dc0
Created December 25, 2015 12:01 — forked from matthewhudson/gist:1603502
Integrate Open Graph with Tumblr
<!-- Open Graph tags for your home page (index). -->
<meta property="og:site_name" content="{Title}" />
<meta property="fb:app_id" content="FACEBOOK_APPID"/>
<meta property="fb:admins" content="FACEBOOK_USERID" />
<meta property="og:description" content="{MetaDescription}" />
<meta property="og:locale" content="en_US" />
{block:IndexPage}
<meta property="og:image" content="{PortraitURL-128}" />
<meta property="og:title" content="{Title}" />
@ardianta
ardianta / better-gist-styles.css
Last active September 18, 2015 16:29 — forked from jnrbsn/better-gist-styles.css
Better styles for embedding GitHub Gists
/* CSS untuk embed Gist */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist-file .gist-data {max-height: 500px}
.gist pre {font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta {font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#239ea3 !important;text-decoration:none}
.gist-meta a:hover{color:#5cc2c0 !important}
@ardianta
ardianta / password_hash_example.php
Last active September 18, 2015 15:01 — forked from jeremykendall/password_hash_example.php
Contoh password hashing dan verifikasinya
<?php
/**
* Example of password hashing and verification with password_hash and
* password_verify
*
* Skrip ini dieksekusi melalui command line (CLI)
* Contoh: 'php -f password_hash_example.php'
*
* @bacalah http://stackoverflow.com/a/20809916/1134565
<!-- add the following code in the head tag -->
<head prefix='og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#'>
<!-- Share Image -->
<link href='YOUR_LOGO_IMAGE' rel='image_src'/>
<!-- Open Graph Meta Tags -->
<b:if cond='data:blog.pageType != &quot;index&quot;'>
<meta expr:content='data:blog.title' property='og:site_name'/>