Skip to content

Instantly share code, notes, and snippets.

View rpratama-codes's full-sized avatar

Rizqi Pratama rpratama-codes

View GitHub Profile
@tanaikech
tanaikech / submit.md
Created October 11, 2021 00:47
Sending Gmail with Title and Body Including Emoji using Google Apps Script

Sending Gmail with Title and Body Including Emoji using Google Apps Script

This is a sample script for sending Gmail with the title and body including Emoji using Google Apps Script.

Sample script

This sample script uses Gmail API. So please enable Gmail API at Advanced Google services. Ref

@mikehazell
mikehazell / robbyrussell.zsh_theme
Last active September 30, 2025 09:21
oh-my-zsh Default Theme plus Node version info
# oh-my-zsh Theme
# Default robbyrussell theme with node version info.
# Installation: place this file in .oh-my-zsh/custom/themes/robbyrussell.zsh_theme
function node_prompt_version {
if which node &> /dev/null; then
echo "%{$fg_bold[blue]%}node(%{$fg[red]%}$(node -v)%{$fg[blue]%}) %{$reset_color%}"
fi
}
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
@jshaw
jshaw / byobuCommands
Last active November 23, 2025 15:33
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window