Compare commits

..

No commits in common. "325c843df05ec00fd7c03f252b9c3705cd059a33" and "b7cfc8e501f583ca021c80450d19f4b153c6a644" have entirely different histories.

7 changed files with 3 additions and 68 deletions

View File

@ -1,2 +0,0 @@
all:
gcc main.c

View File

@ -1,7 +0,0 @@
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("Hello, world!\n");
return 0;
}

View File

@ -1,27 +0,0 @@
#include <iostream>
class Person
{
std::string name;
public:
Person(std::string name)
{
this->name = name;
}
void greet()
{
std::cout << "Hello, my name is " << this->name << "!" << std::endl;
}
};
int main(int argc, char* argv[])
{
auto person = new Person("Madison");
person->greet();
delete person;
return 0;
}

View File

@ -1,13 +0,0 @@
#!/usr/bin/env python
class Person:
def __init__(self, name, greeting = "Hello!"):
self.name = name
self.greeting = greeting
def greet(self):
print(self.greeting)
print(f"My name is {self.name}")
friend = Person("Willow")
friend.greet()

View File

@ -1,14 +0,0 @@
#!/usr/bin/env ruby
class Person
def initialize(name)
@name = name
end
def greet
puts "Hello, my name is #{@name}!"
end
end
friend = Person.new("Andrea")
friend.greet

View File

@ -1,3 +0,0 @@
#!/bin/bash
echo "Hello, world!"

View File

@ -23,7 +23,7 @@ else
colorscheme monokai
endif
let mapleader=" "
" let mapleader=" "
"nnoremap <Leader>w yiwq:PIe `~/.shell_aliases ws <Esc>
"nnoremap <Leader>w yiw:let srr_back = &srr <BAR> set srr=><CR>q:PIr! /home/sage/.shell_aliases wf <Esc>
" TODO Check if file needs saving
@ -162,9 +162,10 @@ if has ("autocmd")
autocmd BufNewFile *.cpp 0r ~/.vim/templates/skeleton.cpp
autocmd BufNewFile *.c 0r ~/.vim/templates/skeleton.c
autocmd BufNewFile *.sh 0r ~/.vim/templates/skeleton.sh
autocmd BufNewFile *.lisp 0r ~/.vim/templates/skeleton.lisp
autocmd BufNewFile *.py 0r ~/.vim/templates/skeleton.py
autocmd BufNewFile *.rb 0r ~/.vim/templates/skeleton.rb
autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile
autocmd BufNewFile makefile 0r ~/.vim/templates/makefile
augroup END
endif