Skip to content

Commit 92db836

Browse files
authored
Merge pull request #4 from abuzzany/development
feature/migrate-from-sinatra-to-jekyll
2 parents 12b2b8b + d242011 commit 92db836

File tree

12 files changed

+255
-42
lines changed

12 files changed

+255
-42
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
.DS_Store
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

Gemfile

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
1-
# frozen_string_literal: true
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem "jekyll", "~> 4.3.3"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem "minima", "~> 2.5"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group :jekyll_plugins do
18+
gem "jekyll-feed", "~> 0.12"
19+
end
220

3-
source 'https://rubygems.org'
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
platforms :mingw, :x64_mingw, :mswin, :jruby do
24+
gem "tzinfo", ">= 1", "< 3"
25+
gem "tzinfo-data"
26+
end
427

5-
ruby '3.3.1'
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
630

7-
gem 'sinatra'
8-
9-
gem "rackup", "~> 2.1"
31+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
32+
# do not have a Java counterpart.
33+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

Gemfile.lock

Lines changed: 79 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,92 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
base64 (0.2.0)
5-
mustermann (3.0.0)
6-
ruby2_keywords (~> 0.0.1)
7-
rack (3.0.11)
8-
rack-protection (4.0.0)
9-
base64 (>= 0.1.0)
10-
rack (>= 3.0.0, < 4)
11-
rack-session (2.0.0)
12-
rack (>= 3.0.0)
13-
rackup (2.1.0)
14-
rack (>= 3)
15-
webrick (~> 1.8)
16-
ruby2_keywords (0.0.5)
17-
sinatra (4.0.0)
18-
mustermann (~> 3.0)
19-
rack (>= 3.0.0, < 4)
20-
rack-protection (= 4.0.0)
21-
rack-session (>= 2.0.0, < 3)
22-
tilt (~> 2.0)
23-
tilt (2.3.0)
4+
addressable (2.8.6)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.3)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.16.3)
13+
forwardable-extended (2.6.0)
14+
google-protobuf (4.26.1)
15+
rake (>= 13)
16+
google-protobuf (4.26.1-x86_64-darwin)
17+
rake (>= 13)
18+
http_parser.rb (0.8.0)
19+
i18n (1.14.5)
20+
concurrent-ruby (~> 1.0)
21+
jekyll (4.3.3)
22+
addressable (~> 2.4)
23+
colorator (~> 1.0)
24+
em-websocket (~> 0.5)
25+
i18n (~> 1.0)
26+
jekyll-sass-converter (>= 2.0, < 4.0)
27+
jekyll-watch (~> 2.0)
28+
kramdown (~> 2.3, >= 2.3.1)
29+
kramdown-parser-gfm (~> 1.0)
30+
liquid (~> 4.0)
31+
mercenary (>= 0.3.6, < 0.5)
32+
pathutil (~> 0.9)
33+
rouge (>= 3.0, < 5.0)
34+
safe_yaml (~> 1.0)
35+
terminal-table (>= 1.8, < 4.0)
36+
webrick (~> 1.7)
37+
jekyll-feed (0.17.0)
38+
jekyll (>= 3.7, < 5.0)
39+
jekyll-sass-converter (3.0.0)
40+
sass-embedded (~> 1.54)
41+
jekyll-seo-tag (2.8.0)
42+
jekyll (>= 3.8, < 5.0)
43+
jekyll-watch (2.2.1)
44+
listen (~> 3.0)
45+
kramdown (2.4.0)
46+
rexml
47+
kramdown-parser-gfm (1.1.0)
48+
kramdown (~> 2.0)
49+
liquid (4.0.4)
50+
listen (3.9.0)
51+
rb-fsevent (~> 0.10, >= 0.10.3)
52+
rb-inotify (~> 0.9, >= 0.9.10)
53+
mercenary (0.4.0)
54+
minima (2.5.1)
55+
jekyll (>= 3.5, < 5.0)
56+
jekyll-feed (~> 0.9)
57+
jekyll-seo-tag (~> 2.1)
58+
pathutil (0.16.2)
59+
forwardable-extended (~> 2.6)
60+
public_suffix (5.0.5)
61+
rake (13.2.1)
62+
rb-fsevent (0.11.2)
63+
rb-inotify (0.10.1)
64+
ffi (~> 1.0)
65+
rexml (3.2.6)
66+
rouge (4.2.1)
67+
safe_yaml (1.0.5)
68+
sass-embedded (1.77.0)
69+
google-protobuf (>= 3.25, < 5.0)
70+
rake (>= 13.0.0)
71+
sass-embedded (1.77.0-x86_64-darwin)
72+
google-protobuf (>= 3.25, < 5.0)
73+
terminal-table (3.0.2)
74+
unicode-display_width (>= 1.1.1, < 3)
75+
unicode-display_width (2.5.0)
2476
webrick (1.8.1)
2577

2678
PLATFORMS
2779
ruby
2880
x86_64-darwin-23
2981

3082
DEPENDENCIES
31-
rackup (~> 2.1)
32-
sinatra
33-
34-
RUBY VERSION
35-
ruby 3.3.1p55
83+
http_parser.rb (~> 0.6.0)
84+
jekyll (~> 4.3.3)
85+
jekyll-feed (~> 0.12)
86+
minima (~> 2.5)
87+
tzinfo (>= 1, < 3)
88+
tzinfo-data
89+
wdm (~> 0.1.1)
3690

3791
BUNDLED WITH
3892
2.5.10

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ bundle install
2020

2121
## Usage
2222

23-
This project is based on [Sinatra](https://sinatrarb.com/), after install the dependencies just run:
23+
This project was build with on [Jekyll](https://jekyllrb.com/), after install the dependencies just run:
2424

2525
```bash
26-
ruby app.rb
26+
bundle exec jekyll serve
2727
```
2828

29-
and open your web browser and visit `http://localhost:4567` to see application in action.
29+
and open your web browser and visit `http://localhost:4000` to see application in action.
3030

3131
## License
3232
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).

_config.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: Angel Buzany
22+
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
Welcome to my blog, where I share insights from my professional journey,
25+
my personal interests, and the simple joys of a life surrounded by code and tails wagging.
26+
baseurl: "" # the subpath of your site, e.g. /blog
27+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
28+
twitter_username: abuzzany
29+
github_username: abuzzany
30+
31+
# Build settings
32+
theme: minima
33+
plugins:
34+
- jekyll-feed
35+
36+
# Exclude from processing.
37+
# The following items will not be processed, by default.
38+
# Any item listed under the `exclude:` key here will be automatically added to
39+
# the internal "default list".
40+
#
41+
# Excluded items can be processed by explicitly listing the directories or
42+
# their entries' file path in the `include:` list.
43+
#
44+
# exclude:
45+
# - .sass-cache/
46+
# - .jekyll-cache/
47+
# - gemfiles/
48+
# - Gemfile
49+
# - Gemfile.lock
50+
# - node_modules/
51+
# - vendor/bundle/
52+
# - vendor/cache/
53+
# - vendor/gems/
54+
# - vendor/ruby/
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2024-05-10 09:42:41 -0300
5+
categories: jekyll update
6+
---
7+
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.
8+
9+
Jekyll requires blog post files to be named according to the following format:
10+
11+
`YEAR-MONTH-DAY-title.MARKUP`
12+
13+
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.
14+
15+
Jekyll also offers powerful support for code snippets:
16+
17+
{% highlight ruby %}
18+
def print_hi(name)
19+
puts "Hi, #{name}"
20+
end
21+
print_hi('Tom')
22+
#=> prints 'Hi, Tom' to STDOUT.
23+
{% endhighlight %}
24+
25+
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].
26+
27+
[jekyll-docs]: https://jekyllrb.com/docs/home
28+
[jekyll-gh]: https://github.com/jekyll/jekyll
29+
[jekyll-talk]: https://talk.jekyllrb.com/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: post
3+
title: "puts 'Hello world galera!!!'"
4+
date: 2024-05-11 10:31:00 -0300
5+
categories: random
6+
---
7+
8+
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
9+
I created my blog to share my random ideas, discuss technology, and share my experience as a Software Engineer/CTO.
10+
11+
If you want to know a little bit more about me, you can click [here](/about) or drop me a message at [email protected].

about.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
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.
8+
9+
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!
10+
11+
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.
12+
13+
[jekyll-organization]: https://github.com/jekyll

app.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)