Following up on Arch Linux Installation Guide , lauch VM with clean install and log in as a normal user.
Install video driver, X.Org, X.Org initialization program, wallpaper manager, compositor, text editor, terminal emulator and web browser with:
Following up on Arch Linux Installation Guide , lauch VM with clean install and log in as a normal user.
Install video driver, X.Org, X.Org initialization program, wallpaper manager, compositor, text editor, terminal emulator and web browser with:
00 | |
01 | |
02 | |
03 | |
04 | |
05 | |
06 | |
07 | |
08 | |
09 |
This guide will walk you through adding a ChatGPT-like messaging stream to your Ruby on Rails 7 app using ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind. All code included below!
First, add the ruby-openai gem! Needs to be at least version 4. Add Sidekiq too.
FROM python:3.9-slim as builder | |
RUN apt-get update -y && apt-get install -y --no-install-recommends wget make build-essential libssl-dev zlib1g zlib1g-dev | |
RUN mkdir -p /tmp/python | |
WORKDIR /tmp/python | |
RUN wget https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
require "sinatra" | |
require "mogli" | |
enable :sessions | |
set :raise_errors, false | |
set :show_exceptions, false | |
# Scope defines what permissions that we are asking the user to grant. | |
# In this example, we are asking for the ability to publish stories | |
# about using the app, access to what the user likes, and to be able |