Blog

Git Init Script for local Repo

You can create a new file, for example, named setup_repo.sh, and then add the following contents to it: Prerequisites# Install Git and configured Create a GitHub account. SSH access set up for GitHub. Script# #!/bin/bash # Add a title to the README.md file echo "# prueba" >> README.md # Initialize a new Git repository git init # Add README.md to the staging area git add README.md # Commit the changes with a message git commit -m "
Read more >

Node.js Install

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts. Node.js is similar in design to, and influenced by, systems like Ruby’s Event Machine and Python’s Twisted. Node.js takes the event model a bit further. It presents an event loop as a runtime construct instead of as a library. In other systems, there is always a blocking call to start the event-loop.
Read more >

Hugo Install

Hugo is a static site generator written in Go, optimized for speed and designed for flexibility. With its advanced templating system and fast asset pipelines, Hugo renders a complete site in seconds, often less. Due to its flexible framework, multilingual support, and powerful taxonomy system, Hugo is widely used to create: Corporate, government, nonprofit, education, news, event, and project sites Documentation sites Image portfolios Landing pages Business, professional, and personal blogs Resumes and CVs Use Hugo’s embedded web server during development to instantly see changes to content, structure, behavior, and presentation.
Read more >

Go Install

The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It’s a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Read more >

Oh my Zsh Install

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout… Prerequisites# Installing Oh My Zsh on a Linux system is a straightforward process that enhances the default shell with additional features and themes. Here’s a step-by-step guide to install Oh My Zsh: Make sure you have zsh installed on your system.
Read more >

Image Optimization

The theme optimizes images by default with a custom Hugo’s markdown render hook: The theme creates resized versions for each image, ranging from 100 to 700 pixels wide. It generates WebP versions for each size if the original image format isn’t WebP. The theme keeps the original file format as a fallback for browsers that don’t support the WebP format. Images in SVG format are embedded as-is. Blog Post Cover Images# Use the front matter of your posts to add cover images:
Read more >

Prism Code Highlighting Showcase

This theme uses Prism for code highlighting. Other Hugo themes usually include a pre-configured version of Prism, which complicates updates and clutters the source code base with third-party JavaScript.

Only the Prism features you select in the Hugo site configuration are bundled by the build process. This way, Prism can be easily updated with npm and the size of the JavaScript and CSS bundles are minimized by only including what you need.

Read more >