Skip to content

Commit

Permalink
anuj.dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
anuj0456 committed Feb 1, 2025
1 parent 0b0b2d9 commit fbf611e
Show file tree
Hide file tree
Showing 4,606 changed files with 548,713 additions and 180 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .bundle/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_PATH: "vendor"
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export MEDIUM_USERNAME=anuj0456
37 changes: 37 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ruby RSS Import

on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:

jobs:
build:
name: Import RSS
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2 # Not needed with a .ruby-version file

- name: import rss feeds
run: |
bundler install
bundle exec ruby import_feed.rb
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v8.8
id: verify-changed-files
with:
files: |
_posts
- name: commit and push
if: contains(steps.verify-changed-files.outputs.changed_files, '_posts')
run: |
git config --global user.email "anuj0456@gmail.com"
git config --global user.name "anuj0456"
git add -A .
git commit -a -m "import rss $(date +%Y-%m-%d)"
git push
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I"7{"source"=>"/Volumes/SDD/Desktop/git/python/anuj0456.github.io", "destination"=>"/Volumes/SDD/Desktop/git/python/anuj0456.github.io/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>[], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET
I"� {"title"=>"Anuj.dev", "author"=>{"name"=>"Anuj Gupta", "email"=>"anuj0456@gmail.com"}, "description"=>"Welcome to Anuj's digital space! Explore my journey in AI, tech, and entrepreneurship. Discover projects, insights, and innovations that shape the future.\n", "theme"=>"minima", "header_pages"=>["about.md", "pilott.html", "ailert.html"], "show_excerpts"=>true, "minima"=>{"skin"=>"classic", "date_format"=>"%b-%d-%Y", "social_links"=>[{"platform"=>"devto", "user_url"=>"https://dev.to/anuj0456"}, {"platform"=>"github", "user_url"=>"https://github.com/anuj0456"}, {"platform"=>"linkedin", "user_url"=>"https://www.linkedin.com/in/anuj-gupta-9a691527/"}, {"platform"=>"stackoverflow", "user_url"=>"https://stackoverflow.com/users/3569546/anuj0456"}, {"platform"=>"twitter", "user_url"=>"https://x.com/anuj0456"}]}, "source"=>"/Users/blackjack/Documents/web/anuj0456.github.io", "destination"=>"/Users/blackjack/Documents/web/anuj0456.github.io/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}, "medium_posts"=>{}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-seo-tag"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET

This file was deleted.

Empty file.

This file was deleted.

2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ gemspec

gem "jekyll"
gem "webrick"
gem "jekyll-import"
gem "rss"
43 changes: 26 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ GEM
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.5)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0)
ffi (1.17.1-arm64-darwin)
forwardable-extended (2.6.0)
google-protobuf (3.23.4)
google-protobuf (3.23.4-arm64-darwin)
http_parser.rb (0.8.0)
i18n (1.14.5)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -41,49 +41,58 @@ GEM
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-import (0.25.0)
jekyll (>= 3.7, < 5.0)
nokogiri (~> 1.0)
reverse_markdown (>= 2.1, < 4.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)
rexml
kramdown (2.5.1)
rexml (>= 3.3.9)
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)
nokogiri (1.13.10-arm64-darwin)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.1.1)
rake (13.2.1)
racc (1.8.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.4)
strscan
reverse_markdown (3.0.0)
nokogiri
rexml (3.4.0)
rouge (3.30.0)
rss (0.3.1)
rexml
safe_yaml (1.0.5)
sass-embedded (1.58.3)
sass-embedded (1.58.3-arm64-darwin)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
unicode-display_width (2.6.0)
webrick (1.9.1)

PLATFORMS
ruby
arm64-darwin-24

DEPENDENCIES
bundler
jekyll
jekyll-import
minima!
rss
webrick

BUNDLED WITH
1.17.2
2.4.22
76 changes: 38 additions & 38 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
title: Solutions of Kaggle Competitions
title: Anuj.dev
author:
name: Anuj Gupta
email: anuj0456@gmail.com

# The `>` after `description:` means to ignore line-breaks until next key.
# If you want to omit the line-break after the end of text, use `>-` instead.
description: >
Typically, after each Kaggle competition, the winners and top performers share their
solutions in the discussion forums. However, searching for specific competitions and
their solutions can be quite time-consuming when needed. I have always wished for a
centralized repository of links to solutions from all past Kaggle competitions. This
would serve as a valuable reference point on many occasions.
# Build settings
Welcome to Anuj's digital space! Explore my journey in AI,
tech, and entrepreneurship. Discover projects, insights,
and innovations that shape the future.
theme: minima

plugins:
- jekyll-feed
- jekyll-seo-tag

# Theme-specific settings
collections:
- medium_posts

# If you want to link only specific pages in your header, use this and add the path to the pages
# in order as they should show up.
header_pages:
- about.md
- pilott.html
- ailert.html

# Set to `true` to show excerpts on the homepage.
show_excerpts: true

# Minima specific settings, which are only available from Minima 3.0 onward.
minima:
# Minima skin selection.
# Available skins are:
# classic Default, light color scheme.
# dark Dark variant of the classic skin.
# auto Adaptive skin based on the default classic and dark skins.
# solarized-light Light variant of solarized color scheme.
# solarized-dark Dark variant of solarized color scheme.
# solarized Adaptive skin for solarized color scheme skins.
skin: classic

# Minima date format.
# The default value is "%b %d, %Y" (e.g. Nov 14, 2023)
# Refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this.
#
# date_format: "%b %-d, %Y"
date_format: "%b-%d-%Y"

# Generate social links in footer.
#
# social_links:
# - { platform: devto, user_url: "https://dev.to/jekyll" }
# - { platform: dribbble, user_url: "https://dribbble.com/jekyll" }
# - { platform: facebook, user_url: "https://www.facebook.com/jekyll" }
# - { platform: flickr, user_url: "https://www.flickr.com/photos/jekyll" }
# - { platform: github, user_url: "https://github.com/jekyll/minima" }
# - { platform: google_scholar, user_url: "https://scholar.google.com/citations?user=qc6CJjYAAAAJ" }
# - { platform: instagram, user_url: "https://www.instagram.com/jekyll" }
# - { platform: keybase, user_url: "https://keybase.io/jekyll" }
# - { platform: linkedin, user_url: "https://www.linkedin.com/in/jekyll" }
# - { platform: microdotblog, user_url: "https://micro.blog/jekyll" }
# - { platform: pinterest, user_url: "https://www.pinterest.com/jekyll" }
# - { platform: stackoverflow, user_url: "https://stackoverflow.com/users/1234567/jekyll" }
# - { platform: telegram, user_url: "https://t.me/jekyll" }
# - { platform: twitter, user_url: "https://twitter.com/jekyllrb" }
# - { platform: youtube, user_url: "https://www.youtube.com/jekyll" }
# If you want to link only specific pages in your header, uncomment this and add the path to the pages in
# order as they should show up.
#
# header_pages:
# - about.md
# Set to `true` to show excerpts on the homepage.
#
# show_excerpts: false
social_links:
- { platform: devto, user_url: "https://dev.to/anuj0456" }
- { platform: github, user_url: "https://github.com/anuj0456" }
- {
platform: linkedin,
user_url: "https://www.linkedin.com/in/anuj-gupta-9a691527/",
}
- {
platform: stackoverflow,
user_url: "https://stackoverflow.com/users/3569546/anuj0456",
}
- { platform: twitter, user_url: "https://x.com/anuj0456" }
11 changes: 5 additions & 6 deletions _includes/custom-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% comment %}
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:

1. Head over to https://realfavicongenerator.net/ to add your own favicons.
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
{% endcomment %}
{% comment %} Placeholder to allow defining custom head, in principle, you can
add anything here, e.g. favicons: 1. Head over to
https://realfavicongenerator.net/ to add your own favicons. 2. Customize default
_includes/custom-head.html in your source directory and insert the given code
snippet. {% endcomment %}
28 changes: 19 additions & 9 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
---
layout: base
---
<article class="post">

<header class="post-header">
<h1 class="post-title">{{ page.title | escape }}</h1>
<section id="main" class="wrapper style1">
<header class="major">
<h2>Blog</h2>
</header>

<div class="post-content">
{{ content }}
</div>

</article>
{% for e in site.external_feed %}
<h2>{{ e.title }}</h2>
<p>{{ e.feed_content }}</p>
{% endfor %}
<section class="special">
<ul class="actions">
<li>
<a
href="{{ site.baseurl }}{{ e.url }}"
class="button {% cycle '', 'alt'%}"
>Read More</a
>
</li>
</ul>
</section>
</section>
Loading

0 comments on commit fbf611e

Please sign in to comment.