Skip to content

Instantly share code, notes, and snippets.

View raflyfahrezi's full-sized avatar
🔥

Farhan Rafly Fahrezi S raflyfahrezi

🔥
View GitHub Profile
@raflyfahrezi
raflyfahrezi / index.js
Last active August 8, 2022 06:27
Dicoding Auto Next Module Script
// Open course on dicoding.com and paste this script on console.
document.getElementsByClassName("js-btn-next-tutorial")[0].click()
@diffficult
diffficult / bluetoothdoubledipping.md
Last active April 20, 2025 15:30
Bluetooth Pairing one device on Dual Boot of Windows & Linux - Stop having to Pair Devices

Bluetooth Pairing one device on Dual Boot of Windows & Linux - Stop having to Pair Devices

You may have experienced when dual booting that you need to re-pair your bluetooth devices (ie., Headphones, mouse, keyboard, etc) this usually happens because you have already paired the device with another operating system using the same bluetooth adapter when dual booting (either Linux or Windows).

Some devices cannot handle multiple pairings associated with the same MAC address (ie., bluetooth adapter). As per suggested on the ArchWiki you can fix this by re-pairing the device each time, but there's actually another solution to not do so each time you choose to use your device on a different OS.

How can we accomplish this?

Easy, just pair the device on a OS and copy the bluetooth keys generated to the other OS so our device doesn't notice the difference.

@michaelroper
michaelroper / tailwind-palettte-app.json
Last active January 19, 2024 23:19
Tailwind CSS default colors in Palettte.app's JSON format
[
{
"paletteName": "gray",
"swatches": [
{
"name": "100",
"color": "#f7fafc"
},
{
"name": "200",
@anubhavshrimal
anubhavshrimal / CountryCodes.json
Last active May 22, 2025 12:08 — forked from Goles/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@lopspower
lopspower / README.md
Last active May 21, 2025 13:14
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store