commit 592001d4b0f0ddeed196f993f6c959d36b1abae7
parent 7c4832625cc8f78bea060a8adedb301298fb247e
Author: klewer-martin <martin.cachari@gmail.com>
Date: Sat, 5 Mar 2022 00:37:48 -0300
First commit!
Diffstat:
28 files changed, 1246 insertions(+), 0 deletions(-)
diff --git a/articles/00/article_style.css b/articles/00/article_style.css
@@ -0,0 +1,16 @@
+img {
+ border-radius: .3em;
+ max-width: 60em;
+
+ overflow: hidden;
+
+ height: 100%;
+ width: 100%;
+
+ color: black;
+ background: #151515;
+}
+
+p {
+ margin-bottom: 1em;
+}
diff --git a/articles/00/dwm_config.html b/articles/00/dwm_config.html
@@ -0,0 +1,107 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head id=top>
+ <title>Martin's webpage - DWM configuration</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel='stylesheet' type='text/css' href="article_style.css">
+ <link rel="icon" href="/media/pepe.png">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="/common/header.shtml" -->
+
+ <article>
+ <h3 style="text-align: left;"><u>DWM - A window manager configuration</u></h3>
+ <p>A window manager it's a software that can manage the layout and appearance of every window spawned in your desktop, most people confuse them with desktop enviroments, which isn't the same since a desktop enviroment it's more of an ecosystem, It comes with a more 'complete' set of tools, like a basic web browser or a terminal; a window manager it's only the thing that controlls the window layout, although there are some window manager that come with docks or taskbars.</p>
+
+ <br>
+ <p> In my particular case I use dwm, which is a window manager written in C developed by suckless software. It can apply all the layout dynamically per task, and you can also have different layouts in every workspace. By default it comes with 9 Workspaces but you can add as much as you want, for example I added a 10th workspace and mapped to the '0' key, which by default turn on a mode that shows all the opened windows in the current workspace, a feature that I never used.</p>
+
+ <br>
+
+ <img max-width=40em src="scrot.png" title="Screenshot of my dwm build" alt="Screenshot">
+
+ <br><br>
+ <h5><u>How do you install DWM?</u></h5>
+
+ <br>
+ <h5>Requisites</h5>
+ <ul id="recent_articles">
+ <li>GNU/Linux or BSD based operating system</li>
+ <li>A C library and a C compiler</li>
+ <li>make utility installed</li>
+ <li>X server installed</li>
+ <li>DWM source code, you can clone the repository or download as a tar file at the web</li>
+ </ul>
+
+ <br>
+
+ <p>As you can see above you can only install DWM on GNU/Linux or BSD based distros, unfortunally dwm it's not available for Windows users but I'm sure there is an alternative.</p>
+
+ <!-- <br> -->
+ <h5>Installation</h5>
+ <p>In order to install dwm you can visit the web of the creators at <a href="https://dwm.suckless.org/">suckless.org/dwm</a>, where you can download the source code as a tar file, or clone the repository.</p>
+ <p>After you obtain the source code you need to navigate to the root folder of the source code and execute the following command</p>
+
+ <code>$ <em id=command><u>sudo</u> make</em> install</code>
+
+ <p>after that you can log out of you user account, if you use a display manager you can select dwm as window manager and log back in, if you dont use a display manager you need to edit your .xinitrc file located at you home folder.</p>
+
+ <!-- <code style="padding-left: 1em; box-shadow: 5px 5px 5px black;">$ cat $HOME/.xinitrc<br>...<br>exec dwm</code> -->
+ <code>$ <em id=command>cat</em> $HOME/.xinitrc<br>...<br>exec dwm</code>
+
+ <p>Then you can start the X server and it should open dwm without any problems.</p>
+
+ <!-- <br> -->
+ <h5><u>How do you configure DWM?</u></h5>
+
+ <p>Basically you configure it by editing its source code, inside the root folder of the project there is a C header file named <a href="https://github.com/klewer-martin/dotfiles/blob/master/.config/dwm/config.def.h">config.def.h</a> which if you open with a text editor you can see that there is some C code that you can edit, for example the line "static const int topbar" defines a variable named topbar which you can set to 1 or 0, to select if the status bar should spawn in the top or the bottom of the screen. After every change you make to the source code you need to copy config.def.h to config.h and then <u>recompile dwm</u></p>
+
+ <!-- <br> -->
+
+ <h5>Show information on the status bar</h5>
+
+ <p>dwm by default won't show any information on the status bar, this is done by using the xsetroot utility, which sets the WM_NAME enviroment variable that dwm uses, lets assume you want to set the clock and date on the status bar, well you could execute the following command</p>
+
+ <code>$ <em id=command>xsetroot</em> -iname <em id=command_sym>$(</em><em id=command>date</em><em id=command_sym>)</em></code>
+
+ <p>and all the output of 'date' would be printed on the status bar, this makes dwm status bar highly scriptable, in fact the are a ton of status bar implementation, the one that I use is called <a href="https://github.com/torrinfail/dwmblocks">dwmblocks</a> and its also written in C and the configuration its pretty much the same as dwm, in order to get information you need to have scripts that prints the desired data to stdout, then you can include it on the config.h of dwmblocks by having them on a folder which is included in the $PATH variable of your user.</p>
+
+ <!-- <br> -->
+ <h5>Getting emoji support on dwm</h5>
+
+ <p>dwm by default doesn't come with emoji support, if you want to render an emoji in the status bar its going to either show it as a box or in the worst case crash, so in order to get emoji support first you need to get a font with <u>emojis</u>, I'm using <a href="https://www.joypixels.com/"JoyPixel>JoyPixels® font</a> you can also use <a href="https://fonts.google.com/noto">Google's noto font</a>, or any other font that comes with emoji support. Then open dwm configuration file and append to the <u>fonts</u> array the name of the font you want, in my case it's JoyPixels®.</p>
+ <code style="max-width: 30em;">$ <em id=command>cat</em> config.def.h<br>
+ ...<br>
+ .. *fonts[] = { ..., "JoyPixels:size=7" };<br>
+ ...<br>
+ </code>
+ <p>After you setup the font you need to remove or comment a chunk of code from drw.c, a file located in the root of the folder where dwm source code resides, between lines 136-150 there is a function named IsCol, you need to remove it or comment it.</p>
+
+
+ <p>Finally you can recompile dwm and you will get emoji support. Sometimes even though you made all this procedure you still get boxes insted of the proper emoji, I solved this by adding another font name in the <u>fonts</u> array, like a fallback font.</p>
+ <!-- <br> -->
+ <h5><u>Patches in dwm</u></h5>
+
+ <p>Since dwm is a simple program than doesn't include much features, if you want to extend it, for example by adding a <a href="https://dwm.suckless.org/patches/systray/">systray</a> to the status bar, you need to patch dwm. To do this first you need to download the patch from <a href="https://dwm.suckless.org/patches/">suckless.org/patches</a>, then make sure you got it 'patch' installed, although I think it comes with most linux distributions by default nowdays.</p>
+
+ <code>$ <em id=command>patch</em> -p1 <em id=command_red><</em> <u><name of the file></u></code>
+
+ <p>If you never patched dwm before then probably it's gonna work on the first try, but if you already have a ton of patches then probably it's gonna fail to patch, in this case you need to get your hands dirty, and manually patch all the files that failed. You do this by opening the files with a .rej extension, this means rejected, and the corresponding file to be patched, for example dwm.c and dwm.c.rej, and then you add all the chunks of code in the corresponding place in dwm.c, you know where you should put the chunks of code because in the .rej file you can see at the start of every chunk there is a '@@' followed by a number of line which indicates between which and which line you sould put add or remove the followed chunk of code, i.e. a line starting with plus means add, and minus means delete.</p>
+
+ <!-- <br> -->
+ <h5><u>Useful links</u></h5>
+ <ul>
+ <li>Make sure to check the <a href="https://suckless.org/">suckless webiste</a></li>
+ <li><a target="_blank" ref="https://dwm.suckless.org/">suckless dwm website</a></li>
+ <li><a target="_blank" ref="https://www.x.org/releases/X11R7.7/doc/man/man1/Xserver.1.xhtml">X server man page</a></li>
+ <li><a target="_blank" href="https://man7.org/linux/man-pages/man1/patch.1.html">patch man page</a></li>
+ </ul>
+
+ <!--#include virtual="/common/end_of_article.shtml" -->
+ </article>
+ <!--#include virtual="/common/footer.shtml" -->
+ </body>
+</html>
diff --git a/articles/00/screenshot.jpeg b/articles/00/screenshot.jpeg
Binary files differ.
diff --git a/articles/00/scrot.png b/articles/00/scrot.png
Binary files differ.
diff --git a/articles/01/article_style.css b/articles/01/article_style.css
@@ -0,0 +1,31 @@
+#vim_logo {
+ /* float: center; */
+ max-width: 5em;
+ flex-basis: 40%
+}
+
+h3 {
+ /* margin-top: 1.5em; */
+ /* margin-bottom: 1.5em; */
+}
+
+.title {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-top: 0.5em;
+ margin-bottom: 1em;
+ margin-left: -1.25em;
+}
+
+.title_img {
+ flex-basis: 10%;
+}
+
+.title_text {
+ /* padding-left: 20px; */
+}
+
+p {
+ margin-bottom: 1em;
+}
diff --git a/articles/01/vim_config.html b/articles/01/vim_config.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage - Vi Improved </title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel='stylesheet' type='text/css' href="article_style.css">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="/common/header.shtml" -->
+
+ <article>
+ <div class="title">
+ <div class="title_img">
+ <img id="vim_logo" src="/media/vim_logo.png" title="Vim logo" alt="Vim logo">
+ </div>
+ <div class="title_text">
+ <h3>Vim - The keyboard driven text editor</h3>
+ </div>
+ </div>
+
+ <p>If we think for a moment about software we are going to realize that the core of every program it's just plain text, literally just words in a file that someone wrote, this webpage it's just text interpreted by your web-browser, whose also just plain text implemented by another program, some software has more complexity than others, for example the linux kernel it's estimated that has around 27.8 million lines of code, which is also just plain text</p>
+
+ <p>The way we tell computers what to do it's with text, so in order to write that text we just need a text editor and this is were Vim it's known for. Vim it's just a text editor. The term Vim stands for Vi IMproved, Vim it's a rewrite and improved version of Vi, a text editor that dates from 1978.</p>
+
+ <p>In this article I want to show how this text editor became my best frient (?), I learned to love about Vim keybindings and now I even have and extension on my browser to use vim like keybindings.</p>
+
+ <p>Vim is a console text editor (altough you can find distributions like gvim, which comes with a gui), a benefit of this its that It's very lightweign in terms of system resources. Vim it's also highly configurable, you can do this by editing the <u>.vimrc</u> text file, which should be in you home directory in Linux or BSD bases OSs, if not you can <u>create</u> a new blank one and start from zero</p>
+
+ <p>If you installed Vim and you don't know how to move around or insert text, first you need to understand the basics, Vim has 3 main "modes" </p>
+
+ <p>By default Vim comes with a lot of features disabled, for example a key binding to comment a line or auto close brackets, parenthesis, etc, this features you can enable them by installing <u>plugins</u> which I will cover leter.</p>
+
+ </article>
+
+ <!--#include virtual="/common/footer.shtml" -->
+ </body>
+</html>
diff --git a/articles/02/templeos.html b/articles/02/templeos.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="/common/header.shtml" -->
+
+ <article>
+
+ </article>
+
+ <!--#include virtual="/common/footer.shtml" -->
+ </body>
+</html>
diff --git a/books.txt b/books.txt
@@ -0,0 +1,99 @@
+
+Biographies
+<li>Abraham Pais - The science and the life of Albert Einstein</li>
+<li>Linus Torvalds, David Diamond - Just for Fun, The Story of an Accidental Revolutionary</li>
+
+Economics
+<li>Mark Douglas - Trading in the Zone (2000)</li>
+<li>Roger Wattenhofer - The science of the blockchain (2016)</li>
+<li>Thomas N. Bulkowski - Encyclopedia of Chart Patterns (2005)</li>
+<li>Van Tharp - Trade Your Way to Financial Freedom (2006)</li>
+
+Human vocabulary
+<li>Anthony Bulger, Jose Garcia Vazquez - El Nuevo Ingles Sin Esfuerzo (1999)</li>
+<li>Collins Dictionaries - Vocabulario de inglés (2012)</li>
+<li>Ed Swick - German Grammar Drills (2007)</li>
+<li>Ed Swick - German Vocabulary Book (2007)</li>
+<li>Irene Klein - Taller del escritor universitario</li>
+<li>Mark Lester - English Grammar Drills (2009)</li>
+<li>Michael McCarthy, Felicity O'Dell - English vocabulary in use (upper-intermediate and advanced) (1994)</li>
+<li>Rawdon Wyatt - Check your vocabulary for english for IELTS examination (2002)</li>
+<li>Stuart Redman - English Vocabulary in Use - (Pre-intermediate and Intermediate) (1997)</li>
+<li>Susan Cameron - Perfecting Your English Pronunciation (2018)</li>
+
+Leisure
+<li>George Orwell - 1984</li>
+<li>Randall Munroe - What If? Serious Scientific Answers to Absurd Hypothetical Questions</li>
+
+Self Improvement
+<li>Dale Carnegie - How to Win Friends & Influence People</li>
+<li>Cal Newport - Digital Minimalism (2019)</li>
+
+Math & Physics
+<li>Fisica Universitaria vol. I - Sears - Zemansky</li>
+<li>Fisica Universitaria vol. II - Sears - Zemansky</li>
+<li>Kenneth Kuttler - Multivariable Calculus, Applications and Theory</li>
+<li>Marsden, Tromba - Calculo Vectorial</li>
+<li>Tom Apostol - Calculus Vol.1</li>
+<li>Tom Apostol - Calculus Vol.2</li>
+
+
+Programming
+<li>Ing. Pablo A. Sznajdleder - Algoritmos a fondo con implementacion en C y Java</li>
+<li>Allen B. Downey - Think Complexity, Complexity Science and Computational Modeling (2011)</li>
+<li>Allen B. Downey - Think Python, How to Think Like a Computer Scientist (2015)</li>
+<li>Andrew Huang - Hacking the Xbox An Introduction to Reverse Engineering-No Starch Press (2013)</li>
+<li>Andrew S. Tanenbaum, Albert S. Woodhull - Operating systems, design and implementation (1997)</li>
+<li>Andrew S. Tanenbaum - Computer networks-Prentice Hall (2002)</li>
+<li>Andrew S. Tanenbaum - Modern Operating Systems (2008)</li>
+<li>Bjarne Stroustrup - The C++ Programming Language, 4th Edition (2013)</li>
+<li>Brian W. Kernighan, Dennis M. Ritchie - The C programming language-Prentice Hall (1988)</li>
+<li>Bruce Dang, Alexandre Gazet, Elias Bachaalany - Practical Reverse Engineering x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation (2014)</li>
+<li>Bruce Eckel - Thinking in C++. Volume 1-Prentice Hall (2000)</li>
+<li>Bruce Schneier - Applied Cryptography - Protocols, Algorithms, and Source Code in C (1995)</li>
+<li>Cal Newport - Deep Work,Rules for focused success in a distracted world (2016)</li>
+<li>Carlo Ghezzi, Mehdi Jazayeri, Dino Mandrioli - Fundamentals of Software Engineering (2002)</li>
+<li>Chromatic - Extreme Programming Pocket Guide_ Team-Based Software Development-Oreilly</li>
+<li>Dale Dougherty, Arnold Robbins - Sed & Awk-O’Reilly Media (1997)</li>
+<li>Daniel Kahneman - Thinking, Fast and Slow (2013)</li>
+<li>Daniel P. Bovet, Marco Cesati - Understanding the Linux Kernel, Third Edition-O'Reilly Media (2005)</li>
+<li>David Watson, Helen Williams - Cambridge IGCSE® Computer Science Revision Guide (2015)</li>
+<li>Elliotte Rusty Harold - XML 1.1 Bible (2004)</li>
+<li>Erik T. Ray - Learning XML (2001)</li>
+<li>Evi Nemeth et al. - UNIX and Linux System Administration Handbook (2017) </li>
+<li>Evi Nemeth, Garth Snyder, Trent R. Hein - UNIX and Linux System Administration Handbook, 4th Edition (2010)</li>
+<li>Fabio Arjona Arciniegas - C++ XML-Sams (2001)</li>
+<li>Fontela - Programacion Orientada a Objetos (2018)</li>
+<li>Forrest M. Mims III - Getting started in electronics (2003)</li>
+<li>Gamma, Helm, Johnson, Vlissides, John - Design patterns elements of reusable object-oriented software (2016)</li>
+<li>Himanshu Kumar - Advanced Industrial Automation - PLC programming in simplest way with 110 solved examples (2020)</li>
+<li>Jack D. Schwager - Getting Started in Technical Analysis (2008)</li>
+
+<li>Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman - Linux Device Drivers</li>
+<li>Jonathan Corbet - Linux Device Drivers (3rd edition)</li>
+
+<li>Kruse - Data Structures and Program Design in C (1991)</li>
+<li>Linux From Scratch</li>
+<li>Machtelt Garrels - Bash Guide for Begginers</li>
+
+<li>Michael Fitzgerald - Introducing Regular Expressions (2012)</li>
+<li>Niels Ferguson, Bruce Schneier, Tadayoshi Kohno - Cryptography Engineering_ Design Principles and Practical Applications-Wiley (2010)</li>
+<li>Paul Deitel, Harvey Deitel - C How to Program (2012)</li>
+<li>Paul Deitel, Harvey Deitel, Nieto T.R. - XML How to program (2000)</li>
+<li>Paul Scherz - Practical Electronics for Inventors (2000)</li>
+<li>Pratt, William K. - PLC Programming Methods and Applications (2001)</li>
+<li>Richard Blum_Christine Bresnahan - Linux Command Line and Shell Scripting Bible (2015, Wiley) - </li>
+<li>Robert C. Seacord - Secure coding in C & C++ (2013)</li>
+<li>Robin Nixon - Learning PHP, MySQL, JavaScript, CSS & HTML5 - A Step-by-Step Guide to Creating Dynamic Websites (3rd ed.) (2014)</li>
+<li>Rubini A., Corbet J. - LINUX Device Drivers</li>
+<li>Sarah Lawrey, Donald Scott - Cambridge IGCSE® Computer Science Coursebook (2015)</li>
+<li>Schousek, Theresa - The Art of Assembly Language Programming Using PIC® Technology (2019)</li>
+<li>Smith, Stephen - Raspberry PI Assembly Language Programming - arm Processor coding</li>
+<li>STEVEN HOLZNER - Inside XML-TECHMEDIA (2000)</li>
+<li>Tanenbaum Andrew S. - Computer Networks (2003)</li>
+<li>Tanenbaum A.S. - Modern Operating Systems_ International Version-Pearson (2008)</li>
+<li>Tony Gaddis, Kip Irvine - Starting Out With Visual Basic (2017)</li>
+<li>Yannis Haralambous, P Scott Horne - Fonts & Encodings (2007)</li>
+<li>Ying Bai - SQL Server Database Programming With Visual Basic.NET - Concepts, Designs and Implementations (2020)</li>
+<li>Yurichev D. - Reverse engineering for beginners</li>
+<li>Zhirkov, Igor - Low-level programming C, Assembly, and program execution on Intel 64 architecture (2017)</li>
diff --git a/common/about.html b/common/about.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage - About me</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="pepe.ico">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="header.shtml" -->
+
+ <article>
+ <!-- <h2>What about me?</h2> -->
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">What about me?</h2>
+ <p>My name is Martin, I'm from Argentina, currenly I'm staying at my parents house in a little town located at the center of Buenos Aires province. Because of the pandemic I've spend this last two years mostly seated in front of a computer, I've learned a lot about linux, embedeed systems, and also about web development, although I'm not even close of working as such, but I would like, some day.</p>
+
+ <h4><u>Programming</u></h4>
+ <p>Since I'm studying Electronics Engineering I took a couse in Algorithms & Programing, in which they teach me basic programming in C, we did a simple program that parses csv files, we implemented linked lists, and more of that stuff, also the concepts of Abstract Data Types (TDA), kinda like Object Oriented Programming but in C, by the end of the course they did explained a little bit of Object Oriented Programming but that is a subject of Algorithms and Programming II, and III, which I can't take beacouse I have to pass Calculus and Physics first, so they did more like an introduccion.</p>
+
+ <h4><u>Tech that I use</u></h4>
+ <p>In terms of hardware I got a couple of computers, I got an old generic tower pc, with an intel i3 2100 and 8gb of ram which is from 2012, and a more newer 14" laptop that my mom gifted me 3 years ago, has and i3 5005u and 8gb of ram too. I've also got two old computers that its keyboard wont work, which I use as 'servers', I installed debian on them and controll'em via SSH.</p>
+ <p>In terms of software I use linux in all of them lol, I've got debian in boths 'servers', artix on the tower pc, with runit as init, I did a <a href="https://www.youtube.com/watch?v=dBdNQdocrVc" target="_blank">video</a> of it's boot time, and arch (btw) intalled on the laptop.</p>
+
+ <h4><u>Whats the purpose of this website?</u></h4>
+ <p>Well after watching a lot of youtube videos I've decided that it could be a good idea to make a website, to practice all this stuff that I've learned, so I made this simple webpage.</p>
+
+ <h4 style="color: tomato;"><u>Contact info</u></h4>
+ <p><ul>
+ <li>mail: martin.cachari@gmail.com</li>
+ </ul></p>
+ </article>
+ <!--#include virtual="footer.shtml" -->
+ </body>
+</html>
diff --git a/common/about.html.2 b/common/about.html.2
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage - About me</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="pepe.ico">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <header>
+ <h1 id="header_text"><a href="/index.html" style="text-decoration: none; color: inherit">Martin's webpage</a></h1>
+ <a href="/index.html">home</a>
+ <a href="/common/articles.html">articles</a>
+ <a href="/common/library.html">library</a>
+ <a href="/common/downloads.html">downloads</a>
+ <a href="/common/about.html">about</a>
+ </header>
+
+ <article>
+ <!-- <h2>What about me?</h2> -->
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">What about me?</h2>
+ <!-- <p>My name is Martin, currenly I'm living in Buenos Aires, Argentina, in a small town located at the center of the province. I've spend this last two years seated in front of a computer, I've learned a lot about linux, embedeed systems, and also about web development, although I'm not even close of working as such, but I would like, some day.</p> -->
+ <p>My name is Martin, I'm from Argentina, currenly I'm staying at my parents house in a little town located at the center of Buenos Aires province. Because of the pandemic I've spend this last two years mostly seated in front of a computer, I've learned a lot about linux, embedeed systems, and also about web development, although I'm not even close of working as such, but I would like, some day.</p>
+
+ <h4><u>Programming</u></h4>
+ <p>Since I'm studying Electronics Engineering I took a couse in Algorithms & Programing, in which they teach me basic programming in C, we did a simple program that parses csv files, we implemented linked lists, and more of that stuff, also the concepts of Abstract Data Types (TDA), kinda like Object Oriented Programming but in C, by the end of the course they did explained a little bit of Object Oriented Programming but that is a subject of Algorithms and Programming II, and III, which I can't take beacouse I have to pass Calculus and Physics first, so they did more like an introduccion.</p>
+
+ <h4><u>Tech that I use</u></h4>
+ <p>In terms of hardware I got a couple of computers, I got an old generic tower pc, with an intel i3 2100 and 8gb of ram which is from 2012, and a more newer 14" laptop that my mom gifted me 3 years ago, has and i3 5005u and 8gb of ram too. I've also got two old computers that its keyboard wont work, which I use as 'servers', I installed debian on them and controll'em via SSH.</p>
+ <p>In terms of software I use linux in all of them lol, I've got debian in boths 'servers', artix on the tower pc, with runit as init, I did a <a href="https://www.youtube.com/watch?v=dBdNQdocrVc">video</a> of it's boot time, and arch (btw) intalled on the laptop.</p>
+
+ <h4 style="color: tomato;"><u>Contact info</u></h4>
+ <p><ul>
+ <li>mail: martin.cachari@gmail.com</li>
+ </ul></p>
+ </article>
+
+ <footer>
+ <b>This webpage has been written by Martin J. Klöckner following YouTube tutorials.</b>
+ </footer>
+ </body>
+</html>
diff --git a/common/about.html.old b/common/about.html.old
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage - About me</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="pepe.ico">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="header.shtml" -->
+
+ <article>
+ <!-- <h2>What about me?</h2> -->
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">What about me?</h2>
+ <p>
+ My name is Martin, and I've been a geek all my life, although there been stages in my life where I did hide that part of me. Currenly I'm living in Buenos Aires, Argentina, in a small town located at the center of the province. I've spend this last two years seated in front of a computer, I've learned a lot about linux, embedeed systems, and also about web development, although I'm not even close of working as such, but I would like, some day.
+ </p>
+
+ <h4><u>Programming</u></h4>
+ <p>
+ Since I'm studying Electronics Engineering I took a couse in Algorithms & Programing, in which they teach me basic programming in C, we did a simple program that parses csv files, we implemented linked lists, and more of that stuff, also the concepts of Abstract Data Types (TDA), kinda like Object Oriented Programming but in C, by the end of the course they did explained a little bit of Object Oriented Programming but that is a subject of Algorithms and Programming II, and III, which I can't take beacouse I have to pass Calculus and Physics first, so they did more like an introduccion.
+ </p>
+
+ <h4><u>Tech that I use</u></h4>
+ <p>
+ In terms of hardware I got a couple of computers, I got an old generic tower pc, with an intel i3 2100 and 8gb of ram which is from 2012, and a more newer 14" laptop that my mom gifted me 3 years ago, has and i3 5005u and 8gb of ram too. I've also got two old computers that its keyboard wont work, which I use as 'servers', I installed debian on them and controll'em via SSH.
+ </p>
+ <p>
+ In terms of software I use linux in all of them lol, I've got debian in boths 'servers', artix on the tower pc, with runit as init, I did a <a href="https://www.youtube.com/watch?v=dBdNQdocrVc">video</a> of it's boot time, and arch (btw) intalled on the laptop.
+
+ <h4>Whats the purpose of this website?</h4>
+ <p>Well after </p>
+
+ <h4 style="color: tomato;"><u>Contact info</u></h4>
+ <ul>
+ <li>mail: martin.cachari@gmail.com</li>
+ </ul>
+ </p>
+ </article>
+
+ <!--#include virtual="footer.shtml" -->
+ </body>
+</html>
diff --git a/common/articles.html b/common/articles.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="header.shtml" -->
+
+ <article>
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">Articles</h2>
+
+ <ul id=recent_articles>
+ <!-- <li>01 Sep 2021 -- <a href="/articles/01/vim_config.html">What is LaTeX?</a></li> -->
+ <!-- <li>31 Oct 2021 -- <a href="/articles/01/vim_config.html">About Object-Oriented Programming</a></li> -->
+ <!-- <li>30 Oct 2021 -- <a href="/articles/01/vim_config.html">How to install GCam on an android phone</a></li> -->
+ <!-- <li>29 Oct 2021 -- <a href="/articles/01/vim_config.html">What is linux?</a></li> -->
+ <!-- <li>28 Oct 2021 -- <a href="/articles/01/vim_config.html">Astrophotography with a phone</a></li> -->
+ <!-- <li>27 Oct 2021 -- <a href="/articles/01/vim_config.html">Making linux boot faster</a></li> -->
+ <!-- <li>26 Oct 2021 -- <a href="/articles/01/vim_config.html">What is initramfs?</a></li> -->
+ <!-- <li>25 Oct 2021 -- <a href="/articles/01/vim_config.html">How does Linux boot?</a></li> -->
+ <!-- <li>24 Oct 2021 -- <a href="/articles/01/vim_config.html">How I configured Vim/Nvim editor</a></li> -->
+ <li>04 Mar 2022 -- <a href="/articles/01/vim_config.html">Vim introduction and basic configuration</a></li>
+ <li>23 Oct 2021 -- <a href="/articles/00/dwm_config.html">DWM - A window manager configuration</a></li>
+ </ul>
+ </article>
+
+ <!--#include virtual="footer.shtml" -->
+ </body>
+</html>
diff --git a/common/downloads.html b/common/downloads.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="pepe.ico">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="header.shtml" -->
+
+ <article>
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">Downloads</h2>
+
+ <ul>
+ <li>24 Oct 2021 -- <a href="/downloads/vim.tar.gz">Vim configuration files</a></li>
+ <li>24 Oct 2021 -- <a href="/downloads/zsh.tar.gz">Zsh configuration files</a></li>
+ </ul>
+
+ </article>
+
+ <!--#include virtual="footer.shtml" -->
+ </body>
+</html>
diff --git a/common/end_of_article.shtml b/common/end_of_article.shtml
@@ -0,0 +1,4 @@
+<br>
+<div style="margin-top: .25em; text-align: center;">
+ <a href="#top">Back to top</a>
+</div>
diff --git a/common/footer.shtml b/common/footer.shtml
@@ -0,0 +1,3 @@
+<footer>
+ <b>This webpage has been written by Martin J. Klöckner following YouTube tutorials.</b>
+</footer>
diff --git a/common/header.shtml b/common/header.shtml
@@ -0,0 +1,12 @@
+<header>
+ <h1 id="header_text">
+ <a href="/index.html" id="header_link">Martin's webpage</a>
+ </h1>
+ <div class="header_buttons">
+ <a href="/index.html" style="text-decoration: none;">home</a>
+ <a href="/common/articles.html" style="text-decoration: none;">articles</a>
+ <a href="/common/library.html" style="text-decoration: none;">library</a>
+ <a href="/common/downloads.html" style="text-decoration: none;">downloads</a>
+ <a href="/common/about.html" style="text-decoration: none;">about</a>
+ </div>
+</header>
diff --git a/common/library.html b/common/library.html
@@ -0,0 +1,132 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head id=top>
+ <title>Martin's webpage - My personal library</title>
+ <link rel='stylesheet' type='text/css' href="/css/style.css">
+ <link rel="icon" href="pepe.ico">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="header.shtml" -->
+
+ <article>
+ <h2>Library</h2>
+ <p>In the following list you can find all the books in my personal library, It's worth to know that the mayority of them I've never finished, but they are good books and worth the time to read.</p>
+
+ <h5><u>Biographies</u></h5>
+ <ul>
+ <li>Abraham Pais - The science and the life of Albert Einstein</li>
+ <li>Linus Torvalds, David Diamond - Just for Fun, The Story of an Accidental Revolutionary</li>
+ </ul>
+
+ <h5><u>Economics</u></h5>
+ <ul>
+ <li>Mark Douglas - Trading in the Zone (2000)</li>
+ <li>Roger Wattenhofer - The science of the blockchain (2016)</li>
+ <li>Thomas N. Bulkowski - Encyclopedia of Chart Patterns (2005)</li>
+ <li>Van Tharp - Trade Your Way to Financial Freedom (2006)</li>
+ </ul>
+
+ <h5><u>Human vocabulary</u></h5>
+ <ul>
+ <li>Anthony Bulger, Jose Garcia Vazquez - El Nuevo Ingles Sin Esfuerzo (1999)</li>
+ <li>Collins Dictionaries - Vocabulario de inglés (2012)</li>
+ <li>Ed Swick - German Grammar Drills (2007)</li>
+ <li>Ed Swick - German Vocabulary Book (2007)</li>
+ <li>Irene Klein - Taller del escritor universitario</li>
+ <li>Mark Lester - English Grammar Drills (2009)</li>
+ <li>Michael McCarthy, Felicity O'Dell - English vocabulary in use (upper-intermediate and advanced) (1994)</li>
+ <li>Rawdon Wyatt - Check your vocabulary for english for IELTS examination (2002)</li>
+ <li>Stuart Redman - English Vocabulary in Use - (Pre-intermediate and Intermediate) (1997)</li>
+ <li>Susan Cameron - Perfecting Your English Pronunciation (2018)</li>
+ </ul>
+
+ <h5><u>Leisure</u></h5>
+ <ul>
+ <li>George Orwell - 1984</li>
+ <li>Randall Munroe - What If? Serious Scientific Answers to Absurd Hypothetical Questions</li>
+ </ul>
+
+ <h5><u>Self Improvement</u></h5>
+ <ul>
+ <li>Dale Carnegie - How to Win Friends & Influence People</li>
+ <li>Cal Newport - Digital Minimalism (2019)</li>
+ </ul>
+
+ <h5><u>Math & Physics</u></h5>
+ <ul>
+ <li>Fisica Universitaria vol. I - Sears - Zemansky</li>
+ <li>Fisica Universitaria vol. II - Sears - Zemansky</li>
+ <li>Kenneth Kuttler - Multivariable Calculus, Applications and Theory</li>
+ <li>Marsden, Tromba - Calculo Vectorial</li>
+ <li>Tom Apostol - Calculus Vol.1</li>
+ <li>Tom Apostol - Calculus Vol.2</li>
+ </ul>
+
+ <h5><u>Programming</u></h5>
+ <ul>
+ <li>Ing. Pablo A. Sznajdleder - Algoritmos a fondo con implementacion en C y Java</li>
+ <li>Allen B. Downey - Think Complexity, Complexity Science and Computational Modeling (2011)</li>
+ <li>Allen B. Downey - Think Python, How to Think Like a Computer Scientist (2015)</li>
+ <li>Andrew Huang - Hacking the Xbox An Introduction to Reverse Engineering-No Starch Press (2013)</li>
+ <li>Andrew S. Tanenbaum, Albert S. Woodhull - Operating systems, design and implementation (1997)</li>
+ <li>Andrew S. Tanenbaum - Computer networks-Prentice Hall (2002)</li>
+ <li>Andrew S. Tanenbaum - Modern Operating Systems (2008)</li>
+ <li>Bjarne Stroustrup - The C++ Programming Language, 4th Edition (2013)</li>
+ <li>Brian W. Kernighan, Dennis M. Ritchie - The C programming language-Prentice Hall (1988)</li>
+ <li>Bruce Dang, Alexandre Gazet, Elias Bachaalany - Practical Reverse Engineering x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation (2014)</li>
+ <li>Bruce Eckel - Thinking in C++. Volume 1-Prentice Hall (2000)</li>
+ <li>Bruce Schneier - Applied Cryptography - Protocols, Algorithms, and Source Code in C (1995)</li>
+ <li>Cal Newport - Deep Work,Rules for focused success in a distracted world (2016)</li>
+ <li>Carlo Ghezzi, Mehdi Jazayeri, Dino Mandrioli - Fundamentals of Software Engineering (2002)</li>
+ <li>Chromatic - Extreme Programming Pocket Guide_ Team-Based Software Development-Oreilly</li>
+ <li>Dale Dougherty, Arnold Robbins - Sed &Awk-O’Reilly Media (1997)</li>
+ <li>Daniel Kahneman - Thinking, Fast and Slow (2013)</li>
+ <li>Daniel P. Bovet, Marco Cesati - Understanding the Linux Kernel, Third Edition-O'Reilly Media (2005)</li>
+ <li>David Watson, Helen Williams - Cambridge IGCSE® Computer Science Revision Guide (2015)</li>
+ <li>Elliotte Rusty Harold - XML 1.1 Bible (2004)</li>
+ <li>Erik T. Ray - Learning XML (2001)</li>
+ <li>Evi Nemeth et al. - UNIX and Linux System Administration Handbook (2017) </li>
+ <li>Evi Nemeth, Garth Snyder, Trent R. Hein - UNIX and Linux System Administration Handbook, 4th Edition (2010)</li>
+ <li>Fabio Arjona Arciniegas - C++ XML-Sams (2001)</li>
+ <li>Fontela - Programacion Orientada a Objetos (2018)</li>
+ <li>Forrest M. Mims III - Getting started in electronics (2003)</li>
+ <li>Gamma, Helm, Johnson, Vlissides, John - Design patterns elements of reusable object-oriented software (2016)</li>
+ <li>Himanshu Kumar - Advanced Industrial Automation - PLC programming in simplest way with 110 solved examples (2020)</li>
+ <li>Jack D. Schwager - Getting Started in Technical Analysis (2008)</li>
+ <li>Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman - Linux Device Drivers</li>
+ <li>Jonathan Corbet - Linux Device Drivers (3rd edition)</li>
+ <li>Kruse - Data Structures and Program Design in C (1991)</li>
+ <li>Linux From Scratch</li>
+ <li>Machtelt Garrels - Bash Guide for Begginers</li>
+ <li>Michael Fitzgerald - Introducing Regular Expressions (2012)</li>
+ <li>Niels Ferguson, Bruce Schneier, Tadayoshi Kohno - Cryptography Engineering_ Design Principles and Practical Applications-Wiley (2010)</li>
+ <li>Paul Deitel, Harvey Deitel - C How to Program (2012)</li>
+ <li>Paul Deitel, Harvey Deitel, Nieto T.R. - XML How to program (2000)</li>
+ <li>Paul Scherz - Practical Electronics for Inventors (2000)</li>
+ <li>Pratt, William K. - PLC Programming Methods and Applications (2001)</li>
+ <li>Richard Blum_Christine Bresnahan - Linux Command Line and Shell Scripting Bible (2015)</li>
+ <li>Robert C. Seacord - Secure coding in C &C++ (2013)</li>
+ <li>Robin Nixon - Learning PHP, MySQL, JavaScript, CSS &HTML5 - A Step-by-Step Guide to Creating Dynamic Websites (3rd ed.) (2014)</li>
+ <li>Rubini A., Corbet J. - LINUX Device Drivers</li>
+ <li>Sarah Lawrey, Donald Scott - Cambridge IGCSE® Computer Science Coursebook (2015)</li>
+ <li>Schousek, Theresa - The Art of Assembly Language Programming Using PIC® Technology (2019)</li>
+ <li>Smith, Stephen - Raspberry PI Assembly Language Programming - arm Processor coding</li>
+ <li>STEVEN HOLZNER - Inside XML-TECHMEDIA (2000)</li>
+ <li>Tanenbaum Andrew S. - Computer Networks (2003)</li>
+ <li>Tanenbaum A.S. - Modern Operating Systems_ International Version-Pearson (2008)</li>
+ <li>Tony Gaddis, Kip Irvine - Starting Out With Visual Basic (2017)</li>
+ <li>Yannis Haralambous, P Scott Horne - Fonts &Encodings (2007)</li>
+ <li>Ying Bai - SQL Server Database Programming With Visual Basic.NET - Concepts, Designs and Implementations (2020)</li>
+ <li>Yurichev D. - Reverse engineering for beginners</li>
+ <li>Zhirkov, Igor - Low-level programming C, Assembly, and program execution on Intel 64 architecture (2017)</li>
+ </ul>
+ <div style="margin-top: .5em; text-align: center;"><a href="#top">Back to top</a></div>
+ </article>
+
+ <!--#include virtual="footer.shtml" -->
+ </body>
+</html>
diff --git a/css/generic_style.css b/css/generic_style.css
@@ -0,0 +1,128 @@
+body {
+ /* background: #333333; */
+ background: #2F4F4F;
+ /* background: #b8a9c9; */
+ margin-top: 1em;
+ margin-bottom: 1em;
+
+ font-size: 14px;
+ font-family: "DejaVu Sans";
+}
+
+header {
+ /* color: white; */
+ /* color: #B22222; */
+ color: crimson;
+ /* background: black; */
+ background: #151515;
+ max-width: 60em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 0em;
+ margin-bottom: .5em;
+
+ text-align: center;
+ text-shadow: 5px 5px 5px black;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: .5em;
+ padding-bottom: 1.25em;
+
+ border-radius: 1em;
+ border-top: 1em;
+
+ border-color: white;
+
+ /* box-shadow: 4px 4px 4px black; */
+ box-shadow: 5px 5px 7px black;
+
+ font-size: 1em;
+}
+
+article {
+ color: white;
+ background: #151515;
+ /* min-width: */
+ max-width: 60em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 1em;
+ margin-bottom: .9em;
+
+ text-align: justify;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: .15em;
+ padding-bottom: 1em;
+
+ border-radius: 1em;
+ box-shadow: 5px 5px 7px black;
+
+ /* font-size: 1em; */
+ /* font-size: 14px; */
+}
+
+img {
+ border-radius: .3em;
+ max-width: 60em;
+ overflow: hidden;
+ height: 100%;
+ width: 100%;
+}
+
+a:visited {
+ color: #C5C8C6;
+ color: #575B61;
+ color: peru;
+}
+
+a:link {
+ color: #81A2BE;
+ /* color: peru; */
+}
+
+ol {
+ list-style-position: inside;
+}
+
+ul {
+ list-style-type: none; /* Remove bullets */
+ padding: 0; /* Remove padding */
+ margin: 0; /* Remove margins */
+}
+
+footer {
+ padding-top: 0em;
+ text-align: center;
+
+ font-size: 0.75em;
+ color: #151515;
+}
+
+#header_text {
+ margin-bottom: .25em;
+}
+
+h2 {
+ text-align: center;
+}
+
+h3 {
+ text-align: center;
+}
+
+h4 {
+ text-align: center;
+}
+
+h4 {
+ text-align: center;
+}
+
+#recent_articles {
+ text-align: center;
+}
diff --git a/css/style.css b/css/style.css
@@ -0,0 +1,255 @@
+* {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ overflow-x: visible;
+ overflow-y: unset;
+}
+
+/* Avoid showing the background of the scrollbar when the content is small enough */
+html {
+ margin-left: calc(100vw - 100%);
+ margin-right: 0;
+ /* scroll-behavior: smooth; */
+}
+
+body {
+ background: #2F4F4F;
+
+ margin-top: .5em;
+ margin-bottom: 10em;
+ margin-left: .5em;
+ margin-right: 1em;
+
+ font-size: 14px;
+ font-family: "DejaVu Sans", sans, sans-serif;
+}
+
+header {
+ color: crimson;
+ background: #151515;
+
+ max-width: 55em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: .75em;
+ margin-bottom: .75em;
+
+ text-align: center;
+ text-shadow: 5px 5px 5px black;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: 1.5em;
+ padding-bottom: 1em;
+
+ border-radius: 1em;
+ border-top: 1em;
+
+ box-shadow: 5px 5px 7px black;
+}
+
+#header_text {
+ margin-bottom: 0em;
+ padding-bottom: 0.10em;
+}
+
+
+
+article {
+ color: antiquewhite;
+ background: #151515;
+ max-width: 55em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 1em;
+ margin-bottom: .9em;
+
+ text-align: left;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: 1em;
+ padding-bottom: 1em;
+
+ border-radius: 1em;
+ box-shadow: 5px 5px 7px black;
+}
+
+img {
+ border-radius: .3em;
+ /* max-width: 10em; */
+
+ overflow: hidden;
+
+ height: 100%;
+ width: 100%;
+
+ color: black;
+ background: #151515;
+}
+
+a:visited {
+ color: #C5C8C6;
+ color: #575B61;
+ color: peru;
+}
+
+a:link {
+ color: #81A2BE;
+ color: peru;
+}
+
+a:hover {
+ color: crimson;
+}
+
+ol {
+ list-style-position: inside;
+}
+
+ul {
+ list-style-type: disc; /* Remove bullets */
+ padding: 0;
+ padding-left: 1em;
+ margin: 0; /* Remove margins */
+}
+
+footer {
+ padding-top: 0em;
+ text-align: center;
+ font-size: 0.75em;
+ color: #151515;
+}
+
+h2 {
+ text-align: center;
+ color: #DAA520;
+ text-shadow: 5px 5px 5px black;
+ /* padding-top: .5em; */
+ padding-bottom: .5em;
+}
+
+h3 {
+ text-align: center;
+ padding-top: .5em;
+ padding-bottom: .5em;
+}
+
+h4 {
+ padding-top: .5em;
+ text-align: left;
+}
+
+h5 {
+ /* padding-top: .5em; */
+ padding-bottom: .25em;
+ font-size: 1em;
+}
+
+#recent_articles {
+ text-align: left;
+ list-style-type: disc;
+ padding-left: 1em;
+}
+
+/* .section::-webkit-scrollbar-track { */
+/* background-color: white; */
+/* } */
+
+code {
+ text-align: left;
+
+ padding-top: .5em;
+ padding-bottom: .5em;
+ padding-left: 1em;
+ padding-right: 1em;
+
+ border-radius: .75em;
+
+ /* background-color: #03230c; */
+ /* background-color: #333333; */
+ background-color: #111111;
+
+ width: auto;
+
+ display: block;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: .75em;
+ margin-bottom: .75em;
+
+ max-width: 23em;
+ border-width: thin;
+ border-color: antiquewhite;
+ border-style: dashed;
+
+ box-shadow: 5px 5px 7px black;
+}
+
+#command {
+ /* color: green; */
+ color: #33ff11;
+}
+
+#command_sym {
+ color: #ff1694;
+}
+
+#command_red {
+ color: gold;
+}
+
+a.anchor{
+ display:block;
+ position: relative;
+ top: 150px;
+ visibility: hidden;
+}
+
+hr {
+ border: 0;
+ clear:both;
+
+ display:block;
+
+ background-color: antiquewhite;
+
+ width: 90%;
+ height: .1em;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+.header_buttons {
+ margin-top: .2em;
+}
+
+#header_link {
+ text-decoration: none;
+ color: inherit;
+ /* transition-timing-function: linear; */
+ /* transition-duration: 0.5s; */
+ /* transition: 1s; */
+ transition: .75s;
+}
+
+#header_link:hover {
+ color: whitesmoke;
+}
+
+footer {
+ color: black;
+}
+
+#top {
+ text-decoration: none;
+ color: blue;
+}
diff --git a/css/style_library.css b/css/style_library.css
@@ -0,0 +1,141 @@
+* {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ overflow-x: visible;
+ overflow-y: unset;
+}
+
+/* Avoid showing the background of the scrollbar when the content is small enough */
+html {
+ margin-left: calc(100vw - 100%);
+ margin-right: 0;
+ scroll-behavior: smooth;
+}
+
+body {
+ background: #2F4F4F;
+
+ margin-top: .5em;
+ margin-bottom: 10em;
+ margin-left: .5em;
+ margin-right: 1em;
+
+ font-size: 14px;
+ font-family: "DejaVu Sans";
+}
+
+header {
+ color: crimson;
+ background: #151515;
+
+ max-width: 55em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: .75em;
+ margin-bottom: .5em;
+
+ text-align: center;
+ text-shadow: 5px 5px 5px black;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: 1.5em;
+ padding-bottom: 1em;
+
+ border-radius: 1em;
+ border-top: 1em;
+
+ box-shadow: 5px 5px 7px black;
+}
+
+#header_text {
+ margin-bottom: 0em;
+ padding-bottom: 0.10em;
+}
+
+article {
+ color: antiquewhite;
+ background: #151515;
+ max-width: 55em;
+
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 1em;
+ margin-bottom: .9em;
+
+ text-align: left;
+
+ padding-left: 1.25em;
+ padding-right: 1.25em;
+ padding-top: 1em;
+ padding-bottom: 1em;
+
+ border-radius: 1em;
+ box-shadow: 5px 5px 7px black;
+}
+
+img {
+ border-radius: .3em;
+}
+
+a:visited {
+ color: #C5C8C6;
+ color: #575B61;
+ color: peru;
+}
+
+a:link {
+ color: #81A2BE;
+ color: peru;
+}
+
+a:hover {
+ color: crimson;
+}
+
+ul {
+ list-style-type: disc; /* Remove bullets */
+ padding: 0;
+ padding-left: 1em;
+ margin: 0; /* Remove margins */
+}
+
+footer {
+ padding-top: 0em;
+ text-align: center;
+ font-size: 0.75em;
+ color: #151515;
+}
+
+h2 {
+ text-align: center;
+ color: #DAA520;
+ text-shadow: 5px 5px 5px black;
+ /* padding-top: .5em; */
+ padding-bottom: .5em;
+}
+
+h3 {
+ text-align: center;
+ padding-top: .5em;
+ padding-bottom: .5em;
+}
+
+h4 {
+ padding-top: .5em;
+ text-align: left;
+}
+
+h5 {
+ padding-top: .5em;
+ padding-bottom: .1em;
+ font-size: 1em;
+
+ /* padding-top: .5em; */
+ /* padding-bottom: .1em; */
+
+ /* margin-top: .5em; */
+ /* margin-bottom: 0em; */
+}
diff --git a/downloads/vim.tar.gz b/downloads/vim.tar.gz
Binary files differ.
diff --git a/downloads/zsh.tar.gz b/downloads/zsh.tar.gz
Binary files differ.
diff --git a/index.html b/index.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage - Home</title>
+ <link rel='stylesheet' type='text/css' href="css/style.css">
+ <link rel="icon" href="media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body id=top>
+ <!--#include virtual="/common/header.shtml" -->
+
+ <article>
+ <h2 style="color:#DAA520; text-shadow: 5px 5px 5px black;">Welcome, to martin's cave!</h2>
+
+ <p>Hello world! this is my website, which I did to experiment with Web Development and such. Feel free to surf the couple of pages that I made for you! You can navigate them by the menu on top, below the title! You can also choose an article below in the <a href="#recent_articles">recent articles</a> section.
+ </p><br>
+ <p>If you want to contact me to make business or just to talk you can head to <a href="/common/about.html">about</a> section where you can read a little bit of my history and get my contact info.</p>
+
+ <h3 style="text-align: left;"><u>Recent articles</u></h3>
+ <ul id=recent_articles>
+ <!-- <li>01 Sep 2021 -- <a href="articles/01/vim_config.html">What is LaTeX?</a></li> -->
+ <!-- <li>31 Oct 2021 -- <a href="articles/01/vim_config.html">About Object-Oriented Programming</a></li> -->
+ <!-- <li>30 Oct 2021 -- <a href="articles/01/vim_config.html">How to install GCam on an android phone</a></li> -->
+ <!-- <li>29 Oct 2021 -- <a href="articles/01/vim_config.html">What is linux?</a></li> -->
+ <!-- <li>28 Oct 2021 -- <a href="articles/01/vim_config.html">Astrophotography with a phone</a></li> -->
+ <!-- <li>27 Oct 2021 -- <a href="articles/01/vim_config.html">Making linux boot faster</a></li> -->
+ <!-- <li>26 Oct 2021 -- <a href="articles/01/vim_config.html">What is initramfs?</a></li> -->
+ <!-- <li>25 Oct 2021 -- <a href="articles/01/vim_config.html">How does Linux boot?</a></li> -->
+ <!-- <li>24 Oct 2021 -- <a href="articles/01/vim_config.html">How I configured Vim/Nvim editor</a></li> -->
+ <li>04 Mar 2022 -- <a href="articles/01/vim_config.html">Vim introduction and basic configuration</a></li>
+ <!-- <li>02 Dec 2021 -- <a href="articles/02/templeos.html">Minimal TempleOS configuration</a></li> -->
+ <li>23 Oct 2021 -- <a href="articles/00/dwm_config.html">DWM - A window manager configuration</a></li>
+ </ul>
+ </article>
+
+ <!--#include virtual="/common/footer.shtml" -->
+ </footer>
+ </body>
+</html>
diff --git a/media/pepe.ico b/media/pepe.ico
Binary files differ.
diff --git a/media/pepe.png b/media/pepe.png
Binary files differ.
diff --git a/media/vim_logo.png b/media/vim_logo.png
Binary files differ.
diff --git a/resources/snippet.html b/resources/snippet.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <title>Martin's webpage</title>
+ <link rel='stylesheet' type='text/css' href="css/style.css">
+ <link rel="icon" href="/media/pepe.ico">
+ <meta charset="utf-8"/>
+ </head>
+
+ <body>
+ <!--#include virtual="common/header.shtml" -->
+
+ <article>
+
+ </article>
+
+ <!--#include virtual="common/footer.shtml" -->
+ </body>
+</html>
diff --git a/sync.sh b/sync.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+PROJECT_FOLDER='/home/mk/soydev/webp'
+
+cp -r $PROJECT_FOLDER/** /usr/share/nginx/html/
+
+systemctl restart nginx