Quick guide on how to setup git signing. Information is aggregated from following sources:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| source ~/.vim/plugins.vim | |
| syntax enable | |
| set number | |
| set expandtab | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set softtabstop=2 | |
| set backspace=indent,eol,start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ---------------START ALIASES---------------------------------------- | |
| # Configs | |
| alias zshc="vim ~/.zshrc" | |
| alias wip="git add . && git commit -m 'wip'" | |
| # Common shell functions | |
| alias less='less -r' | |
| alias tf='tail -f' | |
| alias l='less' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'tk' | |
| class LogIn | |
| def initialize | |
| ph ={'padx'=>50,'pady'=>30} | |
| p=proc{hello} | |
| @text =TkVariable.new | |
| root=TkRoot.new{title "Hello, Name"} | |
| top=TkFrame.new(root) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| answer = "kuku" | |
| tries = 0 | |
| while tries <3 | |
| print("What's my nickname? ") | |
| response=gets | |
| response=response.chomp | |
| tries += 1 | |
| if response == "kuku" | |
| puts "That's right!!!" | |
| exit |