diff --git a/assets/project_blogs/arch_chromebook/content.txt b/assets/project_blogs/arch_chromebook/content.txt new file mode 100644 index 0000000..5e4bc2d --- /dev/null +++ b/assets/project_blogs/arch_chromebook/content.txt @@ -0,0 +1,6 @@ +A while ago I had acquired a chromebook from my school as they were doing a cleanout, so I was able to nab this crappy school chromebook that had a detachable battery and a 5GB 2.5" internal SSD +!image assets/img/projects/arch_chromebook/arch_chromebook.jpg +I wanted to try and install a new operating system on it, and since I was in my distrohopping phase I wanted to try installing Arch Linux on it, since I figure that would allow it to be actually usable rather than in it's chromeOS state +The main issue was that the current operating system had a lock on it that made it so that you as a student wouldn't be able to boot into a different operating system, either through installing a new OS on the current drive or through using a LiveCD. +So what I had to do was go INTO the currently installed operating system, toggle a setting, and then use a tool that would install ChromeFlex, which basically acted as an intermediary operating system so that I could unlock the actual firmware, letting me plug in a better drive +Now that I could put in my own drive and not have the device yell at me for not having a ChromeOS operating system I went ahead and installed Arch Linux on the drive and booted it up \ No newline at end of file diff --git a/assets/project_blogs/arch_chromebook/preface.txt b/assets/project_blogs/arch_chromebook/preface.txt new file mode 100644 index 0000000..e69de29 diff --git a/assets/project_blogs/laptop_server/content.txt b/assets/project_blogs/laptop_server/content.txt new file mode 100644 index 0000000..5e4bc2d --- /dev/null +++ b/assets/project_blogs/laptop_server/content.txt @@ -0,0 +1,6 @@ +A while ago I had acquired a chromebook from my school as they were doing a cleanout, so I was able to nab this crappy school chromebook that had a detachable battery and a 5GB 2.5" internal SSD +!image assets/img/projects/arch_chromebook/arch_chromebook.jpg +I wanted to try and install a new operating system on it, and since I was in my distrohopping phase I wanted to try installing Arch Linux on it, since I figure that would allow it to be actually usable rather than in it's chromeOS state +The main issue was that the current operating system had a lock on it that made it so that you as a student wouldn't be able to boot into a different operating system, either through installing a new OS on the current drive or through using a LiveCD. +So what I had to do was go INTO the currently installed operating system, toggle a setting, and then use a tool that would install ChromeFlex, which basically acted as an intermediary operating system so that I could unlock the actual firmware, letting me plug in a better drive +Now that I could put in my own drive and not have the device yell at me for not having a ChromeOS operating system I went ahead and installed Arch Linux on the drive and booted it up \ No newline at end of file diff --git a/assets/project_blogs/laptop_server/preface.txt b/assets/project_blogs/laptop_server/preface.txt new file mode 100644 index 0000000..e69de29 diff --git a/assets/project_blogs/os_making/content.txt b/assets/project_blogs/os_making/content.txt new file mode 100644 index 0000000..bc1d539 --- /dev/null +++ b/assets/project_blogs/os_making/content.txt @@ -0,0 +1,6 @@ +When I was in high school I starting watching some youtube videos from this one guy: abel cirilo who had made an operating system completely dedicated to a single character (Osaka) in the popular anime - Azumanga Daioh + +So I decided that I might as well take a crack at something similar since I had a lot of time on my hands with summer break and all, so I started looking at what resources he used and I came upon a website called osdev.org which had a bunch of resources and books on how to make your own operating system COMPLETELY from scratch, I'm not talking "I'll just build from the linux kernel" I'm talking you are writing/compiling the bootloader, the different ways different CPUs interact with the OS, and adding in ASCII support. +Obviously I there was a TON of things that I was not ready for, I had barely even written a line of C/C++ code before so this was very strange and I eventually stopped working on it +!image assets/img/projects/os_making/qemu1.png +I was able to finish the "Bare Bones" part of the documentation but I still feel very proud of it. \ No newline at end of file diff --git a/assets/project_blogs/os_making/preface.txt b/assets/project_blogs/os_making/preface.txt new file mode 100644 index 0000000..e69de29 diff --git a/css/projects.css b/css/projects.css new file mode 100644 index 0000000..76a1fa6 --- /dev/null +++ b/css/projects.css @@ -0,0 +1,7 @@ +#content a{ + color:rgb(169, 26, 169); + text-decoration: underline; +} +#content a:hover { + color:red; +} \ No newline at end of file diff --git a/image.png b/image.png deleted file mode 100644 index 67ecbda..0000000 Binary files a/image.png and /dev/null differ diff --git a/includes/all.php b/includes/all.php index 5a439bb..b356028 100644 --- a/includes/all.php +++ b/includes/all.php @@ -9,6 +9,22 @@ function head($title) { "; } +function head_css($title, $css, $dots) { + $css_links = ""; + foreach($css as $css_item) { + $css_links .= " + + + + " . $title . " + $css_links + "; +} + + function navbar($highlighted_box) { $selected = " diff --git a/includes/projects.php b/includes/projects.php index 951c2bd..4d98dd0 100644 --- a/includes/projects.php +++ b/includes/projects.php @@ -119,4 +119,40 @@ function image_project_list() { "; } + +function get_blog_content($dots, $project_name, $project_content_dir) { + $output = ""; + $fh = fopen("$project_content_dir/content.txt",'r'); + while ($line = fgets($fh)) { + if (str_contains($line, "!image ")) { + $image_link = str_replace("!image " , "", $line); + $output .= " +
+ +
+ "; + } else { + $output .= " +

+ ". $line ." +

"; + } + } + fclose($fh); + return $output; +} + +function make_blog($dots, $project_name, $project_content_dir) { + return " +
+
+ +
+

$project_name

+ ". get_blog_content($dots, $project_name, $project_content_dir) ." +
+
+ "; +} + ?> \ No newline at end of file diff --git a/pizza-man.png b/pizza-man.png deleted file mode 100644 index 3fc2eab..0000000 Binary files a/pizza-man.png and /dev/null differ diff --git a/projects/arch_chromebook/index.php b/projects/arch_chromebook/index.php index 1c15dc6..c17bfdd 100644 --- a/projects/arch_chromebook/index.php +++ b/projects/arch_chromebook/index.php @@ -1,19 +1,18 @@ + + - - - - - - - - - + + + + + - + \ No newline at end of file diff --git a/projects/operating_system/index.php b/projects/operating_system/index.php index 1c15dc6..2712b47 100644 --- a/projects/operating_system/index.php +++ b/projects/operating_system/index.php @@ -1,19 +1,18 @@ + + - - - - - - - - - + + + + + - + \ No newline at end of file diff --git a/projects/template/index.php b/projects/template/index.php new file mode 100644 index 0000000..5ee427a --- /dev/null +++ b/projects/template/index.php @@ -0,0 +1,45 @@ + + + + + + + + + +
+
+ +
+

+
+ Creative brainstorming session +
+ "; + } else { + echo " +

+ ". $line ." +

"; + } + } + fclose($fh); + ?> +
+
+ + + \ No newline at end of file