Skip to content

Instantly share code, notes, and snippets.

View syauqi's full-sized avatar
💭
I may be slow to respond.

Syauqizaidan Khairan Khalaf syauqi

💭
I may be slow to respond.
  • Indonesia
View GitHub Profile
@syauqi
syauqi / settings.json
Created April 19, 2021 03:17
windows terminal settings
// This file was initially generated by Windows Terminal 1.4.3243.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@syauqi
syauqi / Microsoft.PowerShell_profile.ps1
Last active April 19, 2021 03:15
Powershell Profile
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
@syauqi
syauqi / script.js
Last active April 19, 2021 03:31
nav on scroll shadow and changes!
<script>
window.onscroll = function () {
const nav = document.querySelector(".navbar");
if (!nav) {
return false;
}
if (window.pageYOffset > 40) {
nav.classList.add("nav-on-scroll");
} else {
nav.classList.remove("nav-on-scroll");
@syauqi
syauqi / metadata.json
Last active August 5, 2022 02:37
metadata.json
{
"facebook": "facebook.com/syaaauqi/",
"linkedin": "linkedin.com/in/syaufy/",
"steam": "steamcommunity.com/id/syaufy",
"dribbble": "dribbble.com/syaufy",
"behance": "behance.net/syaufy",
"instagram": "www.instagram.com/syaufy/",
"medium": "medium.com/@syaufy",
"github": "github.com/syauqi",
"dev.to": "dev.to/syaufy",