Skip to content

Instantly share code, notes, and snippets.

View rescenic's full-sized avatar
:electron:
AI Engineer

Muhammad Ridwan Hakim, S.T., CPITA, ITPMCP rescenic

:electron:
AI Engineer
View GitHub Profile
@arthurborgesdev
arthurborgesdev / .p10k.zsh
Created July 26, 2021 14:50
Powerlevel 10k config file
# Generated by Powerlevel10k configuration wizard on 2020-06-20 at 00:56 -03.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 15764.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 24h time, angled separators, sharp heads, flat tails, 2 lines, disconnected,
# left frame, lightest-ornaments, sparse, many icons, fluent, transient_prompt,
# instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
@pratyakshm
pratyakshm / windowsinstallusingdism.md
Last active June 24, 2026 10:27
Installing Windows 11 on any device using DISM

Install Windows 11 on unsupported devices

Guide to install Windows 11 on any PC (does not involve ISO modifications) This guide will take you through a clean and simple way to install Windows 11 on your device by bypassing all requirements without doing any ISO modifications. Note: Guide shows fresh installation only.

Requirements:

  1. ISO file (Link 1) (Link 2) (22000.65)
  2. Rufus Microsoft Store GitHub Website
  3. USB drive [8GB or more]
@cdhunt
cdhunt / cdhunt.format.ps1xml
Created April 8, 2021 13:13
Combing FileSystemTypes formats from Powershell-Humanizer and Termincal-Icons
<?xml version="1.0" encoding="utf-8" ?>
<!-- Based on the format.ps1xml file from DirColors
https://github.com/DHowett/DirColors -->
<Configuration>
<SelectionSets>
<SelectionSet>
<Name>FileSystemTypes</Name>
<Types>
<TypeName>System.IO.DirectoryInfo</TypeName>
@bhaveshdaswani93
bhaveshdaswani93 / .htaccess
Created December 21, 2020 05:42
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@amingholami
amingholami / make-chr.sh
Last active August 3, 2025 09:39 — forked from stroebs/make-chr.sh
Install Mikrotik CHR on a DigitalOcean Droplet (2021)
Install Mikrotik CHR on Digital Ocean Ubuntu 18.04 LTS Droplet. Tested 11/2021
1. Turn Off Droplet after creation and go to Recovery and set it to Boot from Recovery ISO.
2. Trun on Droplet and open Console
3. Press 6 and go to shell
4. Paste below code to install CHR on HDD
@vilicvane
vilicvane / wsl-host.ps1
Last active December 3, 2022 06:25
Access Windows host from WSL 2
# Access host ports from WSL 2.
# https://gist.github.com/vilic/0edcb3bec10339a3b633bc9305faa8b5
# Make sure WSL gets initialized.
bash.exe -c exit
# Record host name for /etc/hosts that points to host IP.
$HOST_NAME = "host.wsl";
# Ports listened on host localhost to forward, you don't need to add the port if it listens all addresses.
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active August 11, 2026 08:19
Building a react native app in WSL2
@unsafe9
unsafe9 / wsl-ssh-install.sh
Last active April 21, 2020 04:18
wsl-ssh
sudo apt update
sudo apt upgrade
sudo apt-get purge openssh-server
sudo apt-get install openssh-server
sudo service ssh start
@fworks
fworks / install-zsh-windows-git-bash.md
Last active August 9, 2026 16:16
Zsh / Oh-my-zsh on Windows Git Bash
@bhaveshdaswani93
bhaveshdaswani93 / composition_vs_inheritance.js
Created January 4, 2020 08:54
composition vs inheritance explained by example
// we have to represent human relation in oop style
class Human {
constructor(firstName,lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
sleepNow() {
console.log(`${this.firstName} ${this.lastName} is sleeping`)
}