Skip to content

Instantly share code, notes, and snippets.

View msarit's full-sized avatar
☀️
Ready for Spring!

Arit Developer msarit

☀️
Ready for Spring!
View GitHub Profile
@chair28980
chair28980 / new_rails_app.md
Last active June 15, 2022 16:36
New rails 6 app with postgresql and heroku deployment

Create a new rails 6 app with postgresql and heroku deployment

Before we begin

@esteedqueen
esteedqueen / fix_rbenv.md
Last active July 12, 2024 13:25
How to fix rbenv: version `x.x.x` is not installed

So, you just cloned an existing project's repo and you run bundle install but you got the error: rbenv: version x.x.x is not installed....

What the issue means? The project uses a specific ruby version that you do not have on your system.

Here's how to fix it:

  • Install the Ruby build for the specified version using:
rbenv install x.x.x
@abhisheknaik96
abhisheknaik96 / twitterJekyllEmbed.md
Last active September 5, 2023 05:26
A tutorial on embedding a twitter stream to a Jekyll project.

Embedding a twitter stream in Jekyll

  1. Create a _plugins folder in your root.
  2. Add the following to _config.yml
plugins:
  - jekyll-gist
  1. If you don't have a Gemfile associated with your Jekyll project, create one with the following text
@sharu725
sharu725 / subscribe-form.html
Last active July 9, 2024 02:04
Jekyll Subscribe Form using Mailchimp
<!--
Before implementing this jekyll snippet make sure
1. you have signed up with Mailchimp.
2. you have created a list in Mailchimp.
3. you have defined the list in _config.yml,
for ex: "mailchimp-list: //redgadgets.us10.list-manage.com/subscribe/post?u=210acce5db69d3d4a04b0e25d&amp;id=08c6708f40"
-->
<form action="{{site.mailchimp-list}}" method="post" name="mc-embedded-subscribe-form" class="wj-contact-form validate" target="_blank" novalidate>
<div class="mc-field-group">
@elfrank
elfrank / collaborate_on_branches.md
Last active May 7, 2024 00:29
How to work on someone else's branch

#How to work on someone else's branch

Let's assume you need to collaborate with Batman on his forked repository.

  • First, you need to add his fork as a remote.
git remote add batman git@github.com:batman/iambatman.git
  • Now, you can fetch, pull and push to his fork (if you have permissions to do so).