Skip to content

Instantly share code, notes, and snippets.

View kebalicious's full-sized avatar
😈
Currently shipping bugs in production.

Kebal kebalicious

😈
Currently shipping bugs in production.
View GitHub Profile

Color picker

Pen is a demonstration of use color picker to change the background color and text color of the element and also about vertical and horizontal centered.

A Pen by Jakub Turský on CodePen.

License.

@kebalicious
kebalicious / gist:0a10c53c279802b495c0e408d737e30b
Created January 26, 2021 20:18
Delete multiple line based on search result
1. Ctrl-F / Cmd-F to open find.
2. Paste your string.
3. Alt-Enter to select all of the instances of the string on the page.
4. Ctrl-L / Cmd-L to broaden the selection to the entire line of each instance on the page.
5. Ctrl-Shift-K / Cmd-Shift-K / Delete / Backspace to remove those lines.
@kebalicious
kebalicious / index.html
Created January 20, 2021 08:31
Simple Fontawesome picker with Bootstrap / VueJS / FreeJQuery
<div id="app"><App/></div>
@kebalicious
kebalicious / fontawesome-icon-picker.markdown
Created January 20, 2021 08:31
FontAwesome Icon Picker

FontAwesome Icon Picker

Needed a icon picker for mojoPortal.

Based off another Pen I made with AngularJS, but this one is JQuery.

Everything done by me - with the exception of the style, courtesy of Bootstrap.

A Pen by Mak Alamin on CodePen.

@kebalicious
kebalicious / tarikh_hijri.php
Created June 24, 2020 04:25 — forked from ammaridris/tarikh_hijri.php
Paparan Tarikh Hijri Menggunakan PHP
<?php
$bulan_masihi=date('m');
$hari_masihi=date('d'); //Boleh +-
$tahun_masihi=date('Y');
if (($tahun_masihi>1582)||(($tahun_masihi==1582)&&($bulan_masihi>10))||(($tahun_masihi==1582)&&($bulan_masihi==10)&&($hari_masihi>14)))
{
$zjd=(int)((1461*($tahun_masihi + 4800 + (int)( ($bulan_masihi-14) /12) ))/4) + (int)((367*($bulan_masihi-2-12*((int)(($bulan_masihi-14)/12))))/12)-(int)((3*(int)(( ($tahun_masihi+4900+(int)(($bulan_masihi-14)/12))/100)))/4)+$hari_masihi-32075;
}
else