Skip to content

Instantly share code, notes, and snippets.

View dyazincahya's full-sized avatar
🔥
plus ultra

Kang Cahya dyazincahya

🔥
plus ultra
View GitHub Profile
@dyazincahya
dyazincahya / gist:a5e148d1a102aeb9f6793db248be2ffe
Created October 4, 2023 02:55 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@dyazincahya
dyazincahya / remove_bloatware_redmi_note11.bat
Created April 1, 2023 13:43
Bulk remove bloatware for Xiaomi Redmi Note 11
@echo off
set /p Y=Enter adb.exe folder path:
cd %Y%
adb devices
pause
for %%X in (
"com.xiaomi.glgm"
"pm uninstall 'com.google.android.apps.magazines"
"com.neptune.domino"
"com.jobstreet.jobstreet"
@dyazincahya
dyazincahya / slide-images.html
Created August 24, 2021 02:06
Simple slide image like app store web apple
<!DOCTYPE html>
<html>
<head>
<style>
.slide-ss-mobile:before {
content: 'Screenshoot';
display: block;
margin-bottom : 15px;
text-transform : uppercase;
font-weight: bold;
@dyazincahya
dyazincahya / list-experience.css
Last active August 15, 2021 07:40
Snippet Code Experience list HTML CSS
.experienceList{
text-align:center;
font-family: "Montserrat",sans-serif;
}
.experienceList > h2 { color: #616161; }
.experiencePart > h4 {
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
color: #424242;
@dyazincahya
dyazincahya / readme-config-firebase-nativescript.md
Last active March 21, 2021 13:35
Cara mengatur Nativescript v6+ Firebase
@dyazincahya
dyazincahya / simple-card-html-css-for-blogger.html
Last active March 17, 2021 10:32
Simple card for Blogger (HTML & CSS)
<style>
.app { font-family: 'Roboto'; border-radius: 5px; padding:15px; }
.app-icon { margin: 5px; width:70px; }
.app-name { font-size: 24px; margin:10px; }
.app-description { font-size: 18px; margin:10px; }
.app-download { font-size: 14px; margin:10px; background: #8BC34A; color:#FFF; border: none; border-radius:5px; padding:10px; text-decoration:none; }
.app-download:hover { background: #73a03d; color:#FFF; cursor: pointer; }
</style>
<table class="app" style="background:#8130FF;" width="100%">
@dyazincahya
dyazincahya / getCurrentDatetimeID.js
Created March 11, 2021 00:02
Get current date and time in Javascript (Bahasa indonesia)
var d = new Date();
var p = d.getFullYear(),
q = d.getMonth()+1,
r = d.getDate(),
s = d.getHours(),
t = d.getMinutes(),
u = d.getSeconds();
var months = ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
@dyazincahya
dyazincahya / getCurrentDatetime.js
Last active March 11, 2021 00:00
Get current date and time in Javascript
var d = new Date();
var p = d.getFullYear(),
q = d.getMonth()+1,
r = d.getDate(),
s = d.getHours(),
t = d.getMinutes(),
u = d.getSeconds();
var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
@dyazincahya
dyazincahya / bench_excel_writers.py
Created August 19, 2020 04:11 — forked from jmcnamara/bench_excel_writers.py
Benchmark of several Python Excel writing modules
##############################################################################
#
# Simple Python program to benchmark several Python Excel writing modules.
#
# python bench_excel_writers.py [num_rows] [num_cols]
#
#
import sys
from time import clock
@dyazincahya
dyazincahya / get_permission_android.kt
Created July 29, 2020 06:09
Sample code for get permission on android kotlin
private fun xPermission() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (ActivityCompat.checkSelfPermission(
this,
Manifest.permission.READ_SMS
) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(
this,
Manifest.permission.SEND_SMS
) != PackageManager.PERMISSION_GRANTED
) {