Recipes for the vim editor
This is perfect for viewing files side by side.
vim -O filename1 filename2
| class Shapes: | |
| """A shapes class.""" | |
| def __init__(self): | |
| self.question = input('What is your favorite type of shape? ') | |
| self.triangle = "triangle" | |
| self.square = "square" | |
| self.circle = "circle" | |
| def shape_type(self): | |
| print('Your favorite shape is a', end=' ') |
| package com.Espinz; | |
| public class HelloWorld { | |
| public static void main(String[] args) { | |
| System.out.print("Hello Worlds!"); | |
| } | |
| } |
| #!/bin/bash | |
| HOTDOGS(){ | |
| for i in {1..26};do | |
| a=$((i-1)) | |
| b=$((i+a)) | |
| let c+='b' | |
| printf %s "$b " | |
| done | |
| } |