Code Monkey home page Code Monkey logo

lazyren.github.io's Introduction

Hello, world!

Iโ€™m DaeIn Lee, a.k.a. Lazy Ren.
You may find more about me from my blog or resume.

๐Ÿ”ญ Iโ€™m currently working on SAP Labs Korea
๐ŸŒฑ Iโ€™m currently learning Rust / Concurrent Programming / Database(Tranasction) / Modern C++

GitHub Pages Gmail LinkedIn Hits Followers Stars

lazyren.github.io's People

Contributors

dependabot[bot] avatar imgbot[bot] avatar imgbotapp avatar lazyren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lazyren.github.io's Issues

https://lazyren.github.io/review/Odyssey-G9-Review.html

49์ธ์น˜ 32:9 ๋ชจ๋‹ˆํ„ฐ ์˜ค๋””์„ธ์ด G9 ๋ฆฌ๋ทฐ(feat. Magic Borderless & PowerToys) | Lazy Ren

๋ˆ„๊ตฐ๊ฐ€๊ฐ€ ๊ทธ๋žฌ๋‹ค. TV์™€ ๋ชจ๋‹ˆํ„ฐ๋Š” ๊ฑฐ๊ฑฐ์ต์„ ์ด๋ผ๊ณ โ€ฆ ๋ธ”๋กœ๊ทธ ๋ฆฌ๋ทฐ ๊ธ€์˜ ์˜๊ด‘์Šค๋Ÿฐ ์ฒซ ํƒ€์ž๋Š” ์‚ผ์„ฑ ์˜ค๋””์„ธ์ด G9 ์ž…๋‹ˆ๋‹ค.

https://lazyren.github.io/review/Odyssey-G9-Review.html

devlog/use-utterances-for-jekyll-comments

Use Utterances for Jekyll Comments System | Lazy Ren

Disqus is used as default comments plugin for the Hydejack and most of the static site. But I had some issues with Disqus, so I looked elsewhere to find new comments plugin. Disqus loads slowly. link within comment is broken. The most important reason I chose to move on. Disqus automatically adds prefix starting with disq.us/url?, the problem isโ€ฆ. disq.us is not responding so the link gets lost. Utterances uses github issues to save & display comments. So you have to give proper permission to the github-bot. But once you set things up correctly, it works very smoothly and fast. Only downside Iโ€™ve encountered so far is that it requires user to login to the github in order to write comments, and there is

https://lazyren.github.io/devlog/use-utterances-for-jekyll-comments.html

Fix vendors~push-state-hydejack error

This error happens when you click the empty space of the blog (thus nothing happens). The sideeffect of the error is close to none - it only prints error log on console - but it's still distracting.

Simply wrapping the problematic function with if(e) statement seems to solve the issue. 42454b7

Uncaught TypeError: Cannot destructure property 'protocol' of 'e' as it is null.
    at R (vendors~push-state-hydejack-9.1.5.js:14:1496)
    at HTMLHtmlElement.<anonymous> (vendors~push-state-hydejack-9.1.5.js:14:15908)

https://lazyren.github.io/devlog/vector.html

C++ Vector ๊ตฌํ˜„ํ•˜๊ธฐ | Lazy Ren

Donโ€™t reinvent the wheel; use libraries. From <The C++ Programming Language> by Bjarne Stroustrup ๋“ค์–ด๊ฐ€๊ธฐ์— ์•ž์„œ ์•ž์œผ๋กœ ๊ฒŒ์‹œ๋  ์ผ๋ จ์˜ ๊ฒŒ์‹œ๋ฌผ๋“ค์€ STL์„ ์“ฐ์ง€ ๋ชปํ•˜๋Š” ํŠน์ • ์ƒํ™ฉ์„ ์œ„ํ•ด STL๊ณผ ๋น„์Šทํ•˜๊ฒŒ ๋™์ž‘ํ•˜๋Š” container, data structure, algorithm ๋“ฑ์„

https://lazyren.github.io/devlog/vector.html

Apply Image Gallery(popup) for each `img` in posts

#65 brought my attention to the issue.

There are several javascript/jquery extensions such as lLightbox2 / Magnific Popiop / photoswipe ...

But I've decided to go with the lightbox plugin simply because it looked easy to apply to the Jekyll.

The only problem was converting markdown image syntax (![]()) to the img tag with a parent tag. I thought of implementing a custom hook but for some reason, a hook is simply not executed at all. And custom hooks are not allowed in Github pages for security reasons.

Rustlings

Update my solution & explanation for the rustlings exercises

Topics

  • Variables
  • Functions
  • If
  • Move Semantics
  • Primitive Types
  • Structures
  • Enums
  • Modules
  • Collections
  • Strings
  • Error Handling
  • Generics
  • Option
  • Traits
  • Tests
  • Standard Library Types
  • Threads
  • Macro
  • Clippy
  • Conversions
  • Advanced Errors
  • Quiz

Resume did not work correctly

Hi Lazy Ren,

I hope you are doing well.
I just created my blog with Hydejack like you, but I can not export my resume pdf correctly.
When I used npm export with jsonresume-them-hydejack, the pdf was exported successfully, but the content of pdf didn't display that look like in the resume tab. (Image below)

I have opened issue in hydejack starter kit, but I was not received any solution.
Can you please check with that?
Thank you so much!

image

Pop up image when clicked

@LazyRen quick question, so most blogs I write require images for an explanation. The issue is the images show pretty small texts on the site and I was thinking is there a way to make images pop up once they have been clicked to give someone an opportunity to zoom and read the contents of the image better?

Need some assistance, Related posts according to categories

Hey, @LazyRen first thank you for your blog it motivated me to move my blog from blogger to this specific theme. Now I am having one issue which I think you can assist me in fixing it. I bought the pro version of hydejack my issue is that for me to have a post shown at the bottom as related I have to enter the specific path or URL of the posts manually. I find that tiresome and would love to see if there could be a way to get two posts that are in the same category apart from the current post below.

I know you haven't implemented this option on your site, but I have already seen the code responsible for this just need some help with the logic. (Would also like to note that I have seen someone who has managed to do this with tags on the same theme but I prefer the category option)

I found a way to loop through the posts with certain categories but my issue is that I am unable to assign the post to two variables... how can I achieve that?

Code location: _includes/components/related-posts.html & _includes/pro/related-posts.html

<!-- the below code is from the pro directory-->
{% assign post = page %}

{% if page.related_posts %}
  {% if major >= 4 and minor >= 1 %}
    {% assign related_posts = site.posts | where_exp:"post", "page.related_posts contains post.path or page.related_posts contains post.url" %}
  {% else %}
    {% assign related_posts_1 = site.posts | where_exp:"post", "page.related_posts contains post.path" %}
    {% assign related_posts_2 = site.posts | where_exp:"post", "page.related_posts contains post.url" %}
    {% assign related_posts = related_posts_1 | concat:related_posts_2 %}
  {% endif %}
{% elsif site.hydejack.use_lsi or site.use_lsi %}
  {% assign related_posts = site.related_posts %}
{% elsif post.categories.first %}
  <!--original code starts here-->
  {% assign related_posts = site.categories[post.categories.first] | where_exp:"post", "post.url != page.url" %}
  <!--ends here-->
  <!--help here-->
  {% capture category %}{{ page.categories | first }}{% endcapture %}
  {% for post in site.categories[category] limit: 3 %}
    <!--how can I assign post 1 and two two variables related_posts_1 and related_posts_2 respectively?-->
    {% assign related_posts = site.categories[post.categories.first] | where_exp:"post", "post.url != page.url" %}
    {% assign related_posts_2 = site.posts | where_exp:"post", "page.related_posts contains post.url" %}
    {% assign related_posts = related_posts_1 | concat:related_posts_2 %}
  {% endfor %}
  <!-end of help-->
{% elsif post.tags.first %}
  {% assign related_posts = site.tags[post.tags.first] | where_exp:"post", "post.url != page.url" %}
{% else %}
  {% assign related_posts = site.related_posts %}
{% endif %}

{% if related_posts.size > 0 %}
<aside class="other-projects related mb0" role="complementary">
  <h2>{{ site.data.strings.related_posts | default:"Related Posts" }}</h2>
  <div class="columns">
    {% for post in related_posts limit:2 %}
      <div class="column column-1-2">
        {% if post %}
          {% include_cached pro/post-card.html post=post %}
        {% else %}
          Post with path <code>{{ post_path }}</code> not found.
        {% endif %}
      </div>
    {% endfor %}
  </div>
</aside>
{% endif %}

Thank you once again, looking forward to your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.