removed unused directories and moved bash scripts to root
This commit is contained in:
parent
e5ad3b64b0
commit
34bcd602f8
@ -1,18 +0,0 @@
|
||||
# .bashrc
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
|
||||
#alias tux="/home/mollusk/gitlab/tux/tux.rb"
|
||||
|
||||
github="https://github.com/silvernode"
|
||||
gitlab="https://gitlab.com/silvernode"
|
||||
|
||||
alias gitlog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)
|
||||
%C(bold blue)<%an>%Creset' --abbrev-commit"
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
unsigned int bottles = 99;
|
||||
do
|
||||
{
|
||||
printf("%u bottles of beer on the wall\n", bottles);
|
||||
printf("%u bottles of beer\n", bottles);
|
||||
printf("Take one down, pass it around\n");
|
||||
printf("%u bottles of beer on the wall\n\n", --bottles);
|
||||
} while(bottles > 0);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
unsigned int bottles = 99;
|
||||
do
|
||||
{
|
||||
printf("%u bottles of beer on the wall\n", bottles);
|
||||
printf("%u bottles of beer\n", bottles);
|
||||
printf("Take one down, pass it around\n");
|
||||
printf("%u bottles of beer on the wall\n\n", --bottles);
|
||||
} while(bottles > 0);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
BIN
C files/a.out
BIN
C files/a.out
Binary file not shown.
BIN
C files/strings
BIN
C files/strings
Binary file not shown.
@ -1,22 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main() {
|
||||
char * name = "nigger";
|
||||
int age = 28;
|
||||
printf("%s, is you\n",name);
|
||||
|
||||
//use strncmp function from string.h to compare strings
|
||||
//the number 3 is the length of fag
|
||||
if ( strncmp(name, "fag", 3) == 0 ) {
|
||||
printf("This fag is identified and is %d\n", age);
|
||||
}
|
||||
else if (strncmp(name, "nigger", 6) == 0){
|
||||
printf("you are a %s\n", name);
|
||||
}
|
||||
else {
|
||||
printf("I don't know you\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
doors = falses(100)
|
||||
for a = 1:100, b in a:a:100
|
||||
doors[b] = !doors[b]
|
||||
end
|
||||
for a = 1:100
|
||||
println("Door $a is " * (doors[a] ? "open" : "close"))
|
||||
end
|
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/julia
|
||||
|
||||
|
||||
function gayness()
|
||||
println("Loser")
|
||||
|
||||
end
|
||||
|
||||
gayness()
|
@ -1,42 +0,0 @@
|
||||
#!/usr/bin/julia
|
||||
|
||||
|
||||
die1=rand(1:100)
|
||||
|
||||
|
||||
function input(prompt::String="")
|
||||
print(prompt)
|
||||
chomp(readline())
|
||||
end
|
||||
|
||||
while true
|
||||
choice = input("Guess a number 1-100: " )
|
||||
|
||||
|
||||
|
||||
if Base.isdigit(choice)
|
||||
choice = parseint(choice)
|
||||
else
|
||||
println("$choice, is not a positive number")
|
||||
continue
|
||||
end
|
||||
|
||||
if choice < 101
|
||||
|
||||
if choice == die1
|
||||
println("You win!")
|
||||
return false
|
||||
|
||||
elseif choice > die1
|
||||
println("Too high!")
|
||||
|
||||
elseif choice < die1
|
||||
println("Too low!")
|
||||
|
||||
|
||||
end
|
||||
else
|
||||
println(choice, " is greater than 100!")
|
||||
end
|
||||
|
||||
end
|
@ -1,31 +0,0 @@
|
||||
#!/usr/bin/julia
|
||||
|
||||
|
||||
function input(prompt::String="")
|
||||
print(prompt)
|
||||
chomp(readline())
|
||||
end
|
||||
|
||||
|
||||
|
||||
function main()
|
||||
|
||||
list = {}
|
||||
while true
|
||||
date = input("Type date: ");
|
||||
addItem = input("Add an item: ")
|
||||
|
||||
together = "$addItem-$date"
|
||||
|
||||
|
||||
|
||||
push!(list,together)
|
||||
|
||||
println(list)
|
||||
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
main()
|
@ -1 +0,0 @@
|
||||
puts 'Hello, world!'
|
Loading…
x
Reference in New Issue
Block a user