Skip to content

Instantly share code, notes, and snippets.

DevOps Engineer

Muhammad Ridwan Hakim rescenic

DevOps Engineer
View GitHub Profile
rescenic / settings.json
Created May 14, 2021
Windows Terminal Preview Settings 2021
View settings.json
"$schema": "",
// Add custom actions and keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about actions and keybindings, visit
"actions": [
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
// These two lines additionally bind them to Ctrl+C and Ctrl+V.
// To learn more about selection, visit
rescenic / .bash_profile
Last active Jun 9, 2020 — forked from n-st/.bash_profile
Start zsh from bashrc. Useful when you can't use chsh or when the same LDAP account is used both on systems with zsh installed and ones without.
View .bash_profile
# .bash_profile is executed for login shells,
# .bashrc is executed for interactive non-login shells.
# We want the same behaviour for both, so we source .bashrc from .bash_profile.
# Also, when .bash_profile exists, bash ignores .profile, so we have to source
# it explicitly.
if [ -f "$HOME/.profile" ]; then
. "$HOME/.profile"
rescenic / configuire.cmd
Created May 28, 2020 — forked from snallami/configuire.cmd
Reconfigure cygwin
View configuire.cmd
rem This script reconfigures the Cygwin sshd service.
rem It regenerates the computer's host keys. This is necessary
rem when Sysprep is run and a new SID is generated.
@echo off
echo Stopping the Cygwin sshd service...
net stop sshd