From be582f13f8327a483d5350026a4110aed19611e1 Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Fri, 10 May 2024 09:39:05 -0300 Subject: [PATCH 1/7] chore: add jekyll gem --- Gemfile | 2 ++ Gemfile.lock | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/Gemfile b/Gemfile index da25a6a..5eee9f1 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,5 @@ ruby '3.3.1' gem 'sinatra' gem "rackup", "~> 2.1" + +gem "jekyll", "~> 4.3" diff --git a/Gemfile.lock b/Gemfile.lock index bd9e4d5..db2f5d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,58 @@ GEM remote: https://rubygems.org/ specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) base64 (0.2.0) + colorator (1.1.0) + concurrent-ruby (1.2.3) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.16.3) + forwardable-extended (2.6.0) + google-protobuf (4.26.1) + rake (>= 13) + google-protobuf (4.26.1-x86_64-darwin) + rake (>= 13) + http_parser.rb (0.8.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) mustermann (3.0.0) ruby2_keywords (~> 0.0.1) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.5) rack (3.0.11) rack-protection (4.0.0) base64 (>= 0.1.0) @@ -13,14 +62,29 @@ GEM rackup (2.1.0) rack (>= 3) webrick (~> 1.8) + rake (13.2.1) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.6) + rouge (4.2.1) ruby2_keywords (0.0.5) + safe_yaml (1.0.5) + sass-embedded (1.77.0) + google-protobuf (>= 3.25, < 5.0) + rake (>= 13.0.0) + sass-embedded (1.77.0-x86_64-darwin) + google-protobuf (>= 3.25, < 5.0) sinatra (4.0.0) mustermann (~> 3.0) rack (>= 3.0.0, < 4) rack-protection (= 4.0.0) rack-session (>= 2.0.0, < 3) tilt (~> 2.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) tilt (2.3.0) + unicode-display_width (2.5.0) webrick (1.8.1) PLATFORMS @@ -28,6 +92,7 @@ PLATFORMS x86_64-darwin-23 DEPENDENCIES + jekyll (~> 4.3) rackup (~> 2.1) sinatra From 3cb84b0560c597ae66a584f86197d87441b2886c Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Fri, 10 May 2024 09:43:38 -0300 Subject: [PATCH 2/7] chore: initialize jekyll --- .gitignore | 6 ++- 404.html | 25 +++++++++ Gemfile | 38 +++++++++++--- Gemfile.lock | 41 ++++++--------- _config.yml | 55 ++++++++++++++++++++ _posts/2024-05-10-welcome-to-jekyll.markdown | 29 +++++++++++ about.markdown | 18 +++++++ index.markdown | 6 +++ 8 files changed, 183 insertions(+), 35 deletions(-) create mode 100644 404.html create mode 100644 _config.yml create mode 100644 _posts/2024-05-10-welcome-to-jekyll.markdown create mode 100644 about.markdown create mode 100644 index.markdown diff --git a/.gitignore b/.gitignore index e43b0f9..f40fbd8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -.DS_Store +_site +.sass-cache +.jekyll-cache +.jekyll-metadata +vendor diff --git a/404.html b/404.html new file mode 100644 index 0000000..086a5c9 --- /dev/null +++ b/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile index 5eee9f1..f01211b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,33 @@ -# frozen_string_literal: true +source "https://rubygems.org" +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 4.3.3" +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.5" +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" +end -source 'https://rubygems.org' +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end -ruby '3.3.1' +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] -gem 'sinatra' - -gem "rackup", "~> 2.1" - -gem "jekyll", "~> 4.3" +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] diff --git a/Gemfile.lock b/Gemfile.lock index db2f5d4..4c7b799 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,6 @@ GEM specs: addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) - base64 (0.2.0) colorator (1.1.0) concurrent-ruby (1.2.3) em-websocket (0.5.3) @@ -35,8 +34,12 @@ GEM safe_yaml (~> 1.0) terminal-table (>= 1.8, < 4.0) webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.4.0) @@ -48,42 +51,27 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) - mustermann (3.0.0) - ruby2_keywords (~> 0.0.1) + minima (2.5.1) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (5.0.5) - rack (3.0.11) - rack-protection (4.0.0) - base64 (>= 0.1.0) - rack (>= 3.0.0, < 4) - rack-session (2.0.0) - rack (>= 3.0.0) - rackup (2.1.0) - rack (>= 3) - webrick (~> 1.8) rake (13.2.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.6) rouge (4.2.1) - ruby2_keywords (0.0.5) safe_yaml (1.0.5) sass-embedded (1.77.0) google-protobuf (>= 3.25, < 5.0) rake (>= 13.0.0) sass-embedded (1.77.0-x86_64-darwin) google-protobuf (>= 3.25, < 5.0) - sinatra (4.0.0) - mustermann (~> 3.0) - rack (>= 3.0.0, < 4) - rack-protection (= 4.0.0) - rack-session (>= 2.0.0, < 3) - tilt (~> 2.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - tilt (2.3.0) unicode-display_width (2.5.0) webrick (1.8.1) @@ -92,12 +80,13 @@ PLATFORMS x86_64-darwin-23 DEPENDENCIES - jekyll (~> 4.3) - rackup (~> 2.1) - sinatra - -RUBY VERSION - ruby 3.3.1p55 + http_parser.rb (~> 0.6.0) + jekyll (~> 4.3.3) + jekyll-feed (~> 0.12) + minima (~> 2.5) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) BUNDLED WITH 2.5.10 diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..ef7ba7c --- /dev/null +++ b/_config.yml @@ -0,0 +1,55 @@ +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely edit after that. If you find +# yourself editing this file very often, consider using Jekyll's data files +# feature for the data you need to update frequently. +# +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. +# +# If you need help with YAML syntax, here are some quick references for you: +# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml +# https://learnxinyminutes.com/docs/yaml/ +# +# Site settings +# These are used to personalize your new site. If you look in the HTML files, +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. +# You can create any custom variable you would like, and they will be accessible +# in the templates via {{ site.myvariable }}. + +title: Your awesome title +email: your-email@example.com +description: >- # this means to ignore newlines until "baseurl:" + Write an awesome description for your new site here. You can edit this + line in _config.yml. It will appear in your document head meta (for + Google search results) and in your feed.xml site description. +baseurl: "" # the subpath of your site, e.g. /blog +url: "" # the base hostname & protocol for your site, e.g. http://example.com +twitter_username: jekyllrb +github_username: jekyll + +# Build settings +theme: minima +plugins: + - jekyll-feed + +# Exclude from processing. +# The following items will not be processed, by default. +# Any item listed under the `exclude:` key here will be automatically added to +# the internal "default list". +# +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/_posts/2024-05-10-welcome-to-jekyll.markdown b/_posts/2024-05-10-welcome-to-jekyll.markdown new file mode 100644 index 0000000..3dd4ccb --- /dev/null +++ b/_posts/2024-05-10-welcome-to-jekyll.markdown @@ -0,0 +1,29 @@ +--- +layout: post +title: "Welcome to Jekyll!" +date: 2024-05-10 09:42:41 -0300 +categories: jekyll update +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +Jekyll requires blog post files to be named according to the following format: + +`YEAR-MONTH-DAY-title.MARKUP` + +Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/about.markdown b/about.markdown new file mode 100644 index 0000000..8b4e0b2 --- /dev/null +++ b/about.markdown @@ -0,0 +1,18 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) + +You can find the source code for Minima at GitHub: +[jekyll][jekyll-organization] / +[minima](https://github.com/jekyll/minima) + +You can find the source code for Jekyll at GitHub: +[jekyll][jekyll-organization] / +[jekyll](https://github.com/jekyll/jekyll) + + +[jekyll-organization]: https://github.com/jekyll diff --git a/index.markdown b/index.markdown new file mode 100644 index 0000000..0671507 --- /dev/null +++ b/index.markdown @@ -0,0 +1,6 @@ +--- +# Feel free to add content and custom Front Matter to this file. +# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults + +layout: home +--- From 4ca63dcfbc7d98513d1617a8fc520d0a95952a83 Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Fri, 10 May 2024 10:12:46 -0300 Subject: [PATCH 3/7] chore: remove sinatra cofig --- app.rb | 5 ----- config.ru | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 app.rb delete mode 100644 config.ru diff --git a/app.rb b/app.rb deleted file mode 100644 index f4d33b7..0000000 --- a/app.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'sinatra' - -get '/' do - erb :index -end diff --git a/config.ru b/config.ru deleted file mode 100644 index 76a6edf..0000000 --- a/config.ru +++ /dev/null @@ -1,2 +0,0 @@ -require './app' -run Sinatra::Application From 51604fdc7d9905cc245f815ec40fef14e57dbfd3 Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Fri, 10 May 2024 10:13:11 -0300 Subject: [PATCH 4/7] feat: update about me section --- about.markdown | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/about.markdown b/about.markdown index 8b4e0b2..ad4dfec 100644 --- a/about.markdown +++ b/about.markdown @@ -4,15 +4,10 @@ title: About permalink: /about/ --- -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) +Hello! I'm Angel Buzany, a dedicated Software Engineer hailing from the vibrant landscapes of Mexico. Over the past few years, I've ventured through the fintech sector, climbing the ranks to positions like CTO and Engineering Manager. Despite my journey through management, my passion for coding and building from scratch hasn't waned—I thrive on the hands-on creativity that engineering offers. -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) +Outside of work, I'm an avid soccer player, a globetrotter who loves to explore new cultures, an enthusiastic reader, and a gamer at heart. A little fun fact about me: I share my home with four dogs and a cat, and, interestingly, my last name is the only one of its kind in Mexico! +Welcome to my blog, where I share insights from my professional journey, my personal interests, and the simple joys of a life surrounded by code and tails wagging. [jekyll-organization]: https://github.com/jekyll From 369e2cf0bec1c7135e2b197686869a4015b466ea Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Fri, 10 May 2024 10:20:18 -0300 Subject: [PATCH 5/7] feat: update layout with personal information --- _config.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index ef7ba7c..ddb4f46 100644 --- a/_config.yml +++ b/_config.yml @@ -18,16 +18,15 @@ # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com +title: Angel Buzany +email: abuzzany@gmail.com description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. + Welcome to my blog, where I share insights from my professional journey, + my personal interests, and the simple joys of a life surrounded by code and tails wagging. baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll +twitter_username: abuzzany +github_username: abuzzany # Build settings theme: minima From 8a0e441a8edf253c6ac42fd02080a198b5a133f3 Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Sat, 11 May 2024 10:52:10 -0300 Subject: [PATCH 6/7] feat: add hello world post --- _posts/2024-05-11-helllo-world.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _posts/2024-05-11-helllo-world.markdown diff --git a/_posts/2024-05-11-helllo-world.markdown b/_posts/2024-05-11-helllo-world.markdown new file mode 100644 index 0000000..c70e232 --- /dev/null +++ b/_posts/2024-05-11-helllo-world.markdown @@ -0,0 +1,11 @@ +--- +layout: post +title: "puts 'Hello world galera!!!'" +date: 2024-05-11 10:31:00 -0300 +categories: random +--- + +I write this from the colossal 📍 São Paulo in 🇧🇷. I've been living here ~3 months because my job at [Vest](https://vest.investments) and +I created my blog to share my random ideas, discuss technology, and share my experience as a Software Engineer/CTO. + +If you want to know a little bit more about me, you can click [here](/about) or drop me a message at abuzzany@gmail.com. \ No newline at end of file From cfb38d7eef345b10ba7dbd210c82eedae73fa683 Mon Sep 17 00:00:00 2001 From: Angel Buzany Date: Sat, 11 May 2024 10:54:45 -0300 Subject: [PATCH 7/7] chore: update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d0cfcd3..8ea5b1b 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ bundle install ## Usage -This project is based on [Sinatra](https://sinatrarb.com/), after install the dependencies just run: +This project was build with on [Jekyll](https://jekyllrb.com/), after install the dependencies just run: ```bash -ruby app.rb +bundle exec jekyll serve ``` -and open your web browser and visit `http://localhost:4567` to see application in action. +and open your web browser and visit `http://localhost:4000` to see application in action. ## License This project is licensed under the [MIT License](https://opensource.org/licenses/MIT). \ No newline at end of file