diff --git a/build.sh b/build.sh index 28e324c..9126dba 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,11 @@ # Because sometimes you just have to rebuild everything rootDir='./_site/' + +index() { + pandoc ./markdown/index.md --css style.css -s -o $rootDir/index.html + sed -i '7r ./templates/navbar.html' $rootDir/index.html +} + post() { for file in ./markdown/post/* do @@ -15,6 +21,9 @@ page() { done } +img() { + cp -r img/ "$rootDir/img/" +} style() { # Updating index style cp style.css $rootDir/style.css @@ -37,4 +46,29 @@ yeet() { neocities push _site/ } + +# Setups site directory from scratch +init() { + mkdir -p "$rootDir/page/" "$rootDir/post/" "$rootDir/fonts/" "$rootDir/img/" + + cp -r img/ "$rootDir" + cp ./fonts/* "$rootDir/fonts/" + + post + page + index + style +} + "$@" + +if [ -z $1 ] +then + echo './build.sh init - create website from scratch' + echo './build.sh post - builds posts' + echo './build.sh page - builds pages' + echo './build.sh style - builds style' + echo './build.sh yeet - upload to neocties' + echo './build.sh img - currently super busted so don't bother +fi + diff --git a/img/atx/before.jpg b/img/atx/before.jpg new file mode 100755 index 0000000..c233786 Binary files /dev/null and b/img/atx/before.jpg differ diff --git a/img/atx/finished.jpg b/img/atx/finished.jpg new file mode 100755 index 0000000..9ffe2ed Binary files /dev/null and b/img/atx/finished.jpg differ diff --git a/img/atx/fio.jpg b/img/atx/fio.jpg new file mode 100755 index 0000000..041324d Binary files /dev/null and b/img/atx/fio.jpg differ diff --git a/img/atx/hdd.jpg b/img/atx/hdd.jpg new file mode 100755 index 0000000..4d5821d Binary files /dev/null and b/img/atx/hdd.jpg differ diff --git a/img/atx/hddfinal.jpg b/img/atx/hddfinal.jpg new file mode 100644 index 0000000..35b7333 Binary files /dev/null and b/img/atx/hddfinal.jpg differ diff --git a/img/atx/mbtest.jpg b/img/atx/mbtest.jpg new file mode 100755 index 0000000..2f3f8b0 Binary files /dev/null and b/img/atx/mbtest.jpg differ diff --git a/img/atx/psutest.jpg b/img/atx/psutest.jpg new file mode 100755 index 0000000..568f3d4 Binary files /dev/null and b/img/atx/psutest.jpg differ diff --git a/img/atx/rack.jpg b/img/atx/rack.jpg new file mode 100755 index 0000000..60479b5 Binary files /dev/null and b/img/atx/rack.jpg differ diff --git a/img/backt.png b/img/backt.png deleted file mode 100644 index 0b2b0a1..0000000 Binary files a/img/backt.png and /dev/null differ diff --git a/img/banner.png b/img/banner.png deleted file mode 100644 index ea53ed1..0000000 Binary files a/img/banner.png and /dev/null differ diff --git a/img/cheatsheet-big.png b/img/cheatsheet-big.png deleted file mode 100644 index 57a0c44..0000000 Binary files a/img/cheatsheet-big.png and /dev/null differ diff --git a/img/goyo.png b/img/goyo.png deleted file mode 100644 index 1c14aba..0000000 Binary files a/img/goyo.png and /dev/null differ diff --git a/make.sh b/make.sh index 34639ef..2be49c8 100755 --- a/make.sh +++ b/make.sh @@ -12,7 +12,7 @@ post() { fi } -updatestyle() { +style() { # Updating index style cp style.css $rootDir/style.css @@ -49,7 +49,7 @@ index() { if [ -z $1 ] then echo './make.sh post file.md - make new post' - echo './make.sh updatestyle - update & sync style sheets' + echo './make.sh style - update & sync style sheets' echo './make.sh page file.md - make new page' echo './make.sh index - update index' fi diff --git a/markdown/index.md b/markdown/index.md index 78f48fd..bb08a19 100644 --- a/markdown/index.md +++ b/markdown/index.md @@ -1,4 +1,8 @@ -# This is definitely not a blog +# [This is definitely not a blog](./index.html) + +### **[Fitting ATX boards in MATX Cases](./post/atx.html)** +> _January 10, 2018_ \ +> pls no boolie cable management ### **[Wot in tarnation happend to the style](./post/style.html)** > _September 21, 2018_ \ diff --git a/markdown/post/atx.md b/markdown/post/atx.md new file mode 100644 index 0000000..365944c --- /dev/null +++ b/markdown/post/atx.md @@ -0,0 +1,63 @@ +# [Carry On PC - How I crammed a full ATX board into a mATX Case](../index.html) + +I use my PC for... well pretty much everything. +Which means if I go somewhere for a few weeks at a time, my PC is coming with me. +For a while I used a _Corsair 300r_, which has served me well until now. +After looking around for a travel friendly ATX case I realized that there really aren't any. +For that reason I would have to find a case that my parts physically fit into, and cram them in somehow. + +## Prepping the case + +To start the case I bought was a [Cooler MasterN200](http://us.coolermaster.com/product/Detail/case/n-series/n200.html). +The main parts I had to worry about were as folow in the table: + + +| Part | Length/Size | Name | +|---|---|---| +| MotherBoard | ATX | Gigabyte Z97X-UD4H | +| CPU Cooler | 6.5in tall | Hyper 212 Evo | +| Graphics Card | 10 in long | EVGA 960 2Gb SC Edition | + +After opening the case I saw a few things that had to go. + +![](../img/atx/before.jpg) + +1. Hard Drive bays + +![](../img/atx/hdd.jpg) + +I also took off the front IO panel since I have some plans to make this more flush later on, thus saving space to fit into a carry on bag. + +2. PSU rack holding thingy + +I have no idea what this thing is but it had to go since it wouldn't let my motherboard fit into the case. +Luckily there was only a few rivets holding it in to a quick chiseling and they were gone with the rack too. + +![](../img/atx/rack.jpg) + +## Test fitting some things + +First I checked how the motherboard would fit into the case on its own; I was afraid of possibly adjusted the rear I/O sheild hole. + +![](../img/atx/mbtest.jpg) + +Next I fiddled with the psu since fitting it into the case was going to be _really_ akward. +It ended up being as weird as I though but ultimately it works and seems to be stable so what you see in the picture is the setup I went with. + +![](../img/atx/psutest.jpg) + +I completely forgot about the hard drives until the end, but it worked out in a _totally not ghetto way_. +The 3.5 inc drive is the only one that I _really_ need to worry about for mounting honestly because of two reaons: + +* 1 of the remaining drives is an _SSD_ +* The other drive is a laptop drive \ + Which I know still doesn't excuse the mounting but hey it coulnd't really move even if it wanted to. + +![](../img/atx/hddfinal.jpg) + +Hard drives have a little shroud which I made out of some heavy duty duck tape and cardboard. +Kinda sketchy but not really since it holds things in a clean position and doesnt rattle at all. + +There's one more ssd that you don't see but its tucked way up in the cd drive bay up top as I dont actually use that bay at all. + +All in all I like how everything turned out as this pc is now ready to be taken anywhere in the US as _carry-on_ luggage! diff --git a/templates/banner.md b/templates/banner.md new file mode 100644 index 0000000..2c82bf2 --- /dev/null +++ b/templates/banner.md @@ -0,0 +1 @@ +[![HomePage](../img/banner.png)](../index.html)