Skip to content

Instantly share code, notes, and snippets.

View alandsilva26's full-sized avatar
lemon

Alan Dsilva alandsilva26

lemon
View GitHub Profile
@alandsilva26
alandsilva26 / Microsoft.PowerShell_profile.ps1
Last active August 11, 2021 10:07
Windows Terminal Configuration file (paste raw)
oh-my-posh --init --shell pwsh --config "C:\Users\aland\scoop\apps\oh-my-posh\current\themes\mytheme.omp.json" | Invoke-Expression
@Leedehai
Leedehai / dark_mode.md
Created August 23, 2020 22:15
Support dark mode with vanilla HTML, CSS, JavaScript.

Supporting dark mode

Using vanilla HTML, CSS, JavaScript, on a static site.

Credit: Ryan Feigenbaum.

Developers love dark mode, especially during the night. Supporting dark mode on the page is not only beneficial, but also arguably imperative, given that human eyes don't handle sudden change in brightness well.

@alandsilva26
alandsilva26 / ArchInstall.md
Last active April 27, 2020 11:38
Installation instructions Arch Linux for personal use. EACH COMMAND MUST BE RUN MANUALLY

Arch Installation guide

❗❗ Note: Run maually

After booting into arch iso

Check if your computer uses BIOS or UEFI

NOTE: The following script is for BIOS

ls /sys/firmware/efi/efivars

Connect to wireless

@akexorcist
akexorcist / index.js
Last active September 13, 2024 19:03
Axios post method requesting with x-www-form-urlencoded content type. See https://axios-http.com/docs/urlencoded
const axios = require('axios')
/* ... */
const params = new URLSearchParams()
params.append('name', 'Akexorcist')
params.append('age', '28')
params.append('position', 'Android Developer')
params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/')
params.append('awesome', true)
@cazala
cazala / guide.md
Created January 2, 2018 16:19 — forked from menduz/guide.md
Frontend React + TypeScript guidelines

Directory Structure

The sources of the project follows this structure:

/src
  /app
    /{domain}
      /actions.ts
 /actions.spec.ts
@codediodeio
codediodeio / database.rules.json
Last active November 9, 2025 17:54
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@vtanathip
vtanathip / gitignore-android-studio-list
Last active August 15, 2025 01:21
Git Ignore files list that should use in Android Studio Projects
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class