Skip to content

Instantly share code, notes, and snippets.

View Shinjoku's full-sized avatar

José Carlos Clausen Neto Shinjoku

  • Venturus
  • Campinas, Brazil
View GitHub Profile
@Shinjoku
Shinjoku / VirtualMachine.cs
Created August 28, 2019 12:36
Breakpoint init for VM
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
@Shinjoku
Shinjoku / .hyper.js
Created August 28, 2019 00:39
Hyper Customization
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 16,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@Shinjoku
Shinjoku / .bashrc
Created August 28, 2019 00:07
Bashrc Customization
alias gst='git status'
alias gco='git checkout'
alias gd='git diff'
alias ga='git add'
alias gp='git pull'
alias ls='ls --color=auto'
# :)
if [ -d .git ]; then
git fetch --all;
@Shinjoku
Shinjoku / .vimrc
Created August 27, 2019 23:56
Vim Customization
filetype indent plugin on
syntax on
set hidden
set wildmenu
set showcmd
set hlsearch
" Search options
set ignorecase
set smartcase
@Shinjoku
Shinjoku / git-prompt.sh
Created August 27, 2019 23:54
Git Bash Customizations
# get current branch name
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
PS1='\[\033]0;Terminal: ${PWD//[^[:ascii:]]/?}\007\]' # set window title
PS1="$PS1"'\n' # new line
PS1="$PS1"'\[\033[33m\] > ' # change to yellow and concat '>'
PS1="$PS1"'\[\033[36m\]\w' # change to cyan
export PS1="$PS1\[\033[33m\]\$(parse_git_branch) > " # retrieves the branch name