Skip to content

Instantly share code, notes, and snippets.

Avatar
🏳️
Alive ?

Wahyu Syamsul A'lam wahyusa

🏳️
Alive ?
View GitHub Profile
@spemer
spemer / customize-scrollbar.css
Last active Nov 15, 2022
Customize website's scrollbar like Mac OS. Not supports in Firefox and IE.
View customize-scrollbar.css
/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */
/* total width */
body::-webkit-scrollbar {
background-color: #fff;
width: 16px;
}
/* background of the scrollbar except button or resizer */
@cuonggt
cuonggt / markdown_guide.md
Last active Dec 2, 2022
The Ultimate Guide to Markdown
View markdown_guide.md

Markdown Guide

The Ultimate Guide to Markdown

Basic Markdown Formatting

Headings

# This is an <h1> tag

This is an tag

@hurie
hurie / setlocal.php
Last active Jul 4, 2022
Set locale for Indonesian on all platform (Windows, Linux and others Nix server) credit for buana95 at yahoo dot com
View setlocal.php
<?php
echo '<pre>' . "\n";
//Add english as default (if all Indonesian not available)
setlocale(LC_ALL, 'id_ID.UTF8', 'id_ID.UTF-8', 'id_ID.8859-1', 'id_ID', 'IND.UTF8', 'IND.UTF-8', 'IND.8859-1', 'IND', 'Indonesian.UTF8', 'Indonesian.UTF-8', 'Indonesian.8859-1', 'Indonesian', 'Indonesia', 'id', 'ID', 'en_US.UTF8', 'en_US.UTF-8', 'en_US.8859-1', 'en_US', 'American', 'ENG', 'English');
//will output something like: Minggu, 17 Agustus 2008
echo strftime("%A, %d %B %Y") . "\n";