Skip to content

Instantly share code, notes, and snippets.

View frizbee's full-sized avatar
🎯
Focusing

Andre frizbee

🎯
Focusing
View GitHub Profile
@frizbee
frizbee / ubuntu-20.04.sh
Created July 21, 2020 12:45
Ubuntu Desktop 20.04
#!/bin/bash
# This config file is for desktop version of Ubuntu
# Default settings
start=`date +%s`
bold=$(tput bold)
normal=$(tput sgr0)
red=`tput setaf 1`
green=`tput setaf 2`
@frizbee
frizbee / readme.md
Created June 26, 2021 19:47 — forked from maxivak/readme.md
sitemap.xml for Rails 4 application

Generate sitemap.xml in Rails app

This post shows how to make sitemap.xml for your web site. The sitemap will be accessible by URL http://mysite.com/sitemap.xml

Routes

Myrails::Application.routes.draw do
brew update
brew upgrade
rbenv install -l
# will list all latest ruby versions
# if it will not show all latest versions
# then run:
cd ~/.rbenv/plugins/ruby-build/ && git pull
# list all versions again
@frizbee
frizbee / summernote-with-image-attributes.md
Last active September 20, 2023 09:47
Summernote for Rails 6 using webpacker with Image title and alt attributes

Summernote editor for Rails 6 with webpacker and image attributes

WYSIWYG editor for website is summernote https://summernote.org

Setup

Summernote setup with webapcker, using yarn add command

yarn add summernote@0.8.16