diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d0008f4 --- /dev/null +++ b/build.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Auther: Skiqqy + +HOST="https://github.com/" + +conv () { + # Take a file and convert it to html by making substitutes. + + # ^/name -> https://github.com/name + # */name.domain -> https://name.domain + sed -E "s|(\\^/)([^ \)]*)|^\/\2|g" | + sed -E "s|(\\*/)([^ \)]*)|*\/\2|g" | + + sed -E '/%%BODY%%/r /dev/stdin' raw/template.html | + sed -E '/%%BODY%%/d' +} + +for file in raw/*.txt +do + case $file in + *index.txt) + path=index.html + ;; + *) + path=${file/raw/site} + path=${path/txt/html} + ;; + esac + + echo "Building $file" + conv < "$file" > $path +done diff --git a/index.html b/index.html index d9e1500..a5c607a 100644 --- a/index.html +++ b/index.html @@ -37,12 +37,12 @@

Skiqqy

~ Pronounced skippy
 
-Skiqqy
+Home
 
 Personal:
 Github
 My Setup
-Projects
+Projects
 
 Hosted Services:
 Git Server
@@ -134,6 +134,5 @@ Hosted Services:
 | * Mumble Channel: irc.skiqqy.xyz:9980                 |
 |                                                       |
 +-------------------------------------------------------+
-
 Inspired by
 
diff --git a/raw/.template.html.swo b/raw/.template.html.swo new file mode 100644 index 0000000..b4ebf52 Binary files /dev/null and b/raw/.template.html.swo differ diff --git a/raw/index.txt b/raw/index.txt new file mode 100644 index 0000000..6b5d7d5 --- /dev/null +++ b/raw/index.txt @@ -0,0 +1,82 @@ ++-------------------------------------------------------+ +| | +| About Me | +| | +| * My name is Stephen Cochrane, but my friends call | +| me Skippy (Written skiqqy). | +| | +| * curriculum vitae: | +| There are 3 methods, shown below, | +| 1. $ man <(curl -s https://skiqqy.xyz/skiqqy.1) | +| 2. $ curl https://skiqqy.xyz/gencv | bash | +| 3. Or you can download it here. | +| | +| * I am currently studying at Stellenbosh University | +| a BSc in Computer Science, I am in my third year | +| of studies. | +| | +| * I love low level coding, my language of choice | +| is C. | +| | +| * Vim or gtfo. | +| | +| * Just read the man-pages bro. | +| | +| * Come water my flowers in animal crossing pls. | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| Friends | +| | +| * Please go take a look at my friend Tristan, aka | +| "The king of subnets"/"alloca go brrr", his | +| website can be found over here | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| What I consider Bloat | +| | +| * Any program that is not "minimal", in the sense | +| that it does not conform to the unix philosophy | +| of doing one thing, and doing that one thing well. | +| | +| * If the program is not free as in free, then I | +| assume the program is bloated and may be malware. | +| | +| * Politics. | +| | +| * Google. | +| | +| * Facebook. | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| Contact Details | +| | +| * Twitter: @posix_patrol | +| | +| * Instagram: @_skiqqy | +| | +| * Email: ohmyskippy@disroot.org | +| | +| * xmpp: ohmyskippy@disroot.org | +| | +| * Discord: Skiqqy#1159 | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| Other | +| | +| * IRC: irc.skiqqy.xyz:6667 | +| | +| * Mumble Channel: irc.skiqqy.xyz:9980 | +| | ++-------------------------------------------------------+ diff --git a/raw/projects.html b/raw/projects.html new file mode 100644 index 0000000..59c7df5 --- /dev/null +++ b/raw/projects.html @@ -0,0 +1,133 @@ + + +Skiqqy's Home Page + + +

Skiqqy

~ Pronounced skippy
+
+
+Skiqqy
+
+Personal:
+Github
+My Setup
+Projects
+
+Hosted Services:
+Git Server
+Blog
+Wiki
+Files
+Projects Home
+IRC Webclient
+
++-------------------------------------------------------+
+|                                                       |
+|                      Private                          |
+|                                                       |
+|  * KCC: Kak C Compiler, found here ^/skiqqy/kcc.      |
+|                                                       |
+|  * Discord bot, found ^/skiqqy/C45DiscordBot          |
+|                                                       |
+|  * cmesg, found here.                                 |
+|                                                       |
+|  * Text Editor 'ted', found here.                     |
+|                                                       |
+|  * This website, found here.                          |
+|                                                       |
+|  * DChess, found here.                                |
+|                                                       |
++-------------------------------------------------------+
+
++-------------------------------------------------------+
+|                                                       |
+|       Community Projects (more than 2-3 devs)         |
+|                                                       |
+|  * CRXN, more details can be found here.              |
+|                                                       |
+|  * BNet, an IRC network, more info can be found here. |
+|                                                       |
++-------------------------------------------------------+
+
++-------------------------------------------------------+
+|                                                       |
+|                  University Projects                  |
+|                                                       |
+|             Due to the fact that many of              |
+|            these projects are still being             | 
+|          used to asses students at SU, these          |
+|        repos must be set to private, in order         |
+|       to prevent students from copying my work        |
+|                                                       |
+|  * 1st Year, 1st Semester - Lines of Action, a game   |
+|    similar to othello, written in java.               |
+|                                                       |
+|  * 1st Year, 2nd Semester - Obstacle Chess, Normal    |
+|    chess rules, with new pieces introduced, such as   |
+|    bombs, wall's, trapdoors, etc. Written in java.    |
+|                                                       |
+|  * 2nd Year, 1st Semester - Sudoku Solver, using      |
+|    a heuristic algorithm + mutations on possible      |
+|    solutions to form new solutions, written in        |
+|    java.                                              |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Wrote a compiler for      | 
+|    a pascal like language named ALAN standing for     |
+|    Another LANguage, includes scanning, parsing,      |
+|    typechecking, codegen (to the jvm using            |
+|    jasmin) the compiler was written in C.             |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Brainfuck Intepreter,     |
+|    written in x86 Assembly.                           |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Huffman Encoder,          |
+|    written in x86 Assembly                            |
+|                                                       |
+|  * 3rd Year, 1st Semester - Process Scheduler         |
+|    simulator, written in C.                           |
+|                                                       |
+|  * 3rd Year, 1st Semester - Bank Transaction          |
+|    simulator, using omp, and locks to prevent         |
+|    race conditions, written in C.                     |
+|                                                       |
+|  * 3rd Year, 1st Semester - Othello bot, using        |
+|    MPI, and negamax search with alpha beta pruning    |
+|    to find optimal moves, written in C.               |
+|                                                       |
+|  * 3rd Year, 1st Semester - Food review website       |
+|    using flask (python), redis, neo4j.                |
+|                                                       |
++-------------------------------------------------------+
+Inspired by
+
diff --git a/raw/projects.txt b/raw/projects.txt new file mode 100644 index 0000000..f915c2e --- /dev/null +++ b/raw/projects.txt @@ -0,0 +1,77 @@ ++-------------------------------------------------------+ +| | +| Private | +| | +| * KCC: Kak C Compiler, found here ^/skiqqy/kcc. | +| | +| * Discord bot, found ^/skiqqy/C45DiscordBot | +| | +| * cmesg, found here. | +| | +| * Text Editor 'ted', found here. | +| | +| * This website, found here. | +| | +| * DChess, found here. | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| Community Projects (more than 2-3 devs) | +| | +| * CRXN, more details can be found here. | +| | +| * BNet, an IRC network, more info can be found here. | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| University Projects | +| | +| Due to the fact that many of | +| these projects are still being | +| used to asses students at SU, these | +| repos must be set to private, in order | +| to prevent students from copying my work | +| | +| * 1st Year, 1st Semester - Lines of Action, a game | +| similar to othello, written in java. | +| | +| * 1st Year, 2nd Semester - Obstacle Chess, Normal | +| chess rules, with new pieces introduced, such as | +| bombs, wall's, trapdoors, etc. Written in java. | +| | +| * 2nd Year, 1st Semester - Sudoku Solver, using | +| a heuristic algorithm + mutations on possible | +| solutions to form new solutions, written in | +| java. | +| | +| * 2nd Year, 2nd Semester - Wrote a compiler for | +| a pascal like language named ALAN standing for | +| Another LANguage, includes scanning, parsing, | +| typechecking, codegen (to the jvm using | +| jasmin) the compiler was written in C. | +| | +| * 2nd Year, 2nd Semester - Brainfuck Intepreter, | +| written in x86 Assembly. | +| | +| * 2nd Year, 2nd Semester - Huffman Encoder, | +| written in x86 Assembly | +| | +| * 3rd Year, 1st Semester - Process Scheduler | +| simulator, written in C. | +| | +| * 3rd Year, 1st Semester - Bank Transaction | +| simulator, using omp, and locks to prevent | +| race conditions, written in C. | +| | +| * 3rd Year, 1st Semester - Othello bot, using | +| MPI, and negamax search with alpha beta pruning | +| to find optimal moves, written in C. | +| | +| * 3rd Year, 1st Semester - Food review website | +| using flask (python), redis, neo4j. | +| | ++-------------------------------------------------------+ diff --git a/raw/setup.txt b/raw/setup.txt new file mode 100644 index 0000000..9671e7c --- /dev/null +++ b/raw/setup.txt @@ -0,0 +1,59 @@ ++-------------------------------------------------------+ +| | +| Operating System & Desktop Environment | +| | +| * Currently I am running Fedora GNU/Linux | +| | +| * As for desktop environment, A only use dwm, it | +| fits my workflow perfectly, and I have spent | +| the last few years perfecting it, I dont need | +| a mouse, all I need is a keyboard, and I am | +| comfortable. | +| | ++-------------------------------------------------------+ + ++-------------------------------------------------------+ +| | +| Workflow | +| | +| * My workflow is simple: dwm + terminal + tmux + vim, | +| once I have these, I am in my happy place, and | +| produce really nice code. | +| | +| * I have recently switched to dwm by suckless, the | +| main reason for the switch was that my previous | +| wm (i3wm) was very limiting, with dwm I can edit | +| the source code directly, and so customize it to | +| exactly what I want. Also, elitist. | +| | +| * I have written a script that sets up my workspace, | +| and install's dependencies, this script can be | +| downloaded here. | +| | +| * You can also get my configs on thier own: | +| - ^/skiqqy/.dotfiles | +| - ^/skiqqy/.tmux | +| - ^/skiqqy/dwm | +| | ++-------------------------------------------------------+ + + ++-------------------------------------------------------+ +| | +| Pictures | +| | +| * Image 1: An example of a normal working session | +| using tmux, with vim open. | +| | +| * Image 2: An example of programs being tiled. | +| | +| * Image 3: An example of an empty workspace. | +| | ++-------------------------------------------------------+ + +Image 1: + +Image 2: + +Image 3: + diff --git a/raw/template.html b/raw/template.html new file mode 100644 index 0000000..a584624 --- /dev/null +++ b/raw/template.html @@ -0,0 +1,57 @@ + + +Skiqqy's Home Page + + +

Skiqqy

~ Pronounced skippy
+
+
+Home
+
+Personal:
+Github
+My Setup
+Projects
+
+Hosted Services:
+Git Server
+Blog
+Wiki
+Files
+Projects Home
+IRC Webclient
+
+%%BODY%%
+Inspired by
+
diff --git a/site/projects.html b/site/projects.html new file mode 100644 index 0000000..de6193b --- /dev/null +++ b/site/projects.html @@ -0,0 +1,133 @@ + + +Skiqqy's Home Page + + +

Skiqqy

~ Pronounced skippy
+
+
+Home
+
+Personal:
+Github
+My Setup
+Projects
+
+Hosted Services:
+Git Server
+Blog
+Wiki
+Files
+Projects Home
+IRC Webclient
+
++-------------------------------------------------------+
+|                                                       |
+|                      Private                          |
+|                                                       |
+|  * KCC: Kak C Compiler, found here ^/skiqqy/kcc.      |
+|                                                       |
+|  * Discord bot, found ^/skiqqy/C45DiscordBot          |
+|                                                       |
+|  * cmesg, found here.                                 |
+|                                                       |
+|  * Text Editor 'ted', found here.                     |
+|                                                       |
+|  * This website, found here.                          |
+|                                                       |
+|  * DChess, found here.                                |
+|                                                       |
++-------------------------------------------------------+
+
++-------------------------------------------------------+
+|                                                       |
+|       Community Projects (more than 2-3 devs)         |
+|                                                       |
+|  * CRXN, more details can be found here.              |
+|                                                       |
+|  * BNet, an IRC network, more info can be found here. |
+|                                                       |
++-------------------------------------------------------+
+
++-------------------------------------------------------+
+|                                                       |
+|                  University Projects                  |
+|                                                       |
+|             Due to the fact that many of              |
+|            these projects are still being             | 
+|          used to asses students at SU, these          |
+|        repos must be set to private, in order         |
+|       to prevent students from copying my work        |
+|                                                       |
+|  * 1st Year, 1st Semester - Lines of Action, a game   |
+|    similar to othello, written in java.               |
+|                                                       |
+|  * 1st Year, 2nd Semester - Obstacle Chess, Normal    |
+|    chess rules, with new pieces introduced, such as   |
+|    bombs, wall's, trapdoors, etc. Written in java.    |
+|                                                       |
+|  * 2nd Year, 1st Semester - Sudoku Solver, using      |
+|    a heuristic algorithm + mutations on possible      |
+|    solutions to form new solutions, written in        |
+|    java.                                              |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Wrote a compiler for      | 
+|    a pascal like language named ALAN standing for     |
+|    Another LANguage, includes scanning, parsing,      |
+|    typechecking, codegen (to the jvm using            |
+|    jasmin) the compiler was written in C.             |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Brainfuck Intepreter,     |
+|    written in x86 Assembly.                           |
+|                                                       |
+|  * 2nd Year, 2nd Semester - Huffman Encoder,          |
+|    written in x86 Assembly                            |
+|                                                       |
+|  * 3rd Year, 1st Semester - Process Scheduler         |
+|    simulator, written in C.                           |
+|                                                       |
+|  * 3rd Year, 1st Semester - Bank Transaction          |
+|    simulator, using omp, and locks to prevent         |
+|    race conditions, written in C.                     |
+|                                                       |
+|  * 3rd Year, 1st Semester - Othello bot, using        |
+|    MPI, and negamax search with alpha beta pruning    |
+|    to find optimal moves, written in C.               |
+|                                                       |
+|  * 3rd Year, 1st Semester - Food review website       |
+|    using flask (python), redis, neo4j.                |
+|                                                       |
++-------------------------------------------------------+
+Inspired by
+
diff --git a/site/setup.html b/site/setup.html new file mode 100644 index 0000000..06229a3 --- /dev/null +++ b/site/setup.html @@ -0,0 +1,115 @@ + + +Skiqqy's Home Page + + +

Skiqqy

~ Pronounced skippy
+
+
+Home
+
+Personal:
+Github
+My Setup
+Projects
+
+Hosted Services:
+Git Server
+Blog
+Wiki
+Files
+Projects Home
+IRC Webclient
+
++-------------------------------------------------------+
+|                                                       |
+|         Operating System & Desktop Environment        |
+|                                                       |
+| * Currently I am running Fedora GNU/Linux             |
+|                                                       |
+| * As for desktop environment, A only use dwm, it      |
+|   fits my workflow perfectly, and I have spent        |
+|   the last few years perfecting it, I dont need       |
+|   a mouse, all I need is a keyboard, and I am         |
+|   comfortable.                                        |
+|                                                       |
++-------------------------------------------------------+
+
++-------------------------------------------------------+
+|                                                       |
+|                      Workflow                         |
+|                                                       |
+| * My workflow is simple: dwm + terminal + tmux + vim, |
+|   once I have these, I am in my happy place, and      |
+|   produce really nice code.                           |
+|                                                       |
+| * I have recently switched to dwm by suckless, the    |
+|   main reason for the switch was that my previous     |
+|   wm (i3wm) was very limiting, with dwm I can edit    |
+|   the source code directly, and so customize it to    |
+|   exactly what I want. Also, elitist.                 |
+|                                                       |
+| * I have written a script that sets up my workspace,  |
+|   and install's dependencies, this script can be      |
+|   downloaded here.                                    |
+|                                                       |
+| * You can also get my configs on thier own:           |
+|     - ^/skiqqy/.dotfiles                              |
+|     - ^/skiqqy/.tmux                                  |
+|     - ^/skiqqy/dwm                                    |
+|                                                       |
++-------------------------------------------------------+
+
+
++-------------------------------------------------------+
+|                                                       |
+|                       Pictures                        |
+|                                                       |
+| * Image 1: An example of a normal working session     |
+|   using tmux, with vim open.                          |
+|                                                       |
+| * Image 2: An example of programs being tiled.        |
+|                                                       |
+| * Image 3: An example of an empty workspace.          |
+|                                                       |
++-------------------------------------------------------+
+
+Image 1:
+
+Image 2:
+
+Image 3:
+
+Inspired by
+