# https://gist.github.com/Gazler/b4e92e9ab7527c7e326f19856f8a974a
Application.put_env(:phoenix, :json_library, Jason)
Application.put_env(:sample, SamplePhoenix.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 5001],
server: true,
Migrating background jobs to Elixir is easy with Oban because everything lives in your PostgreSQL
database. Oban relies on a structured oban_jobs
table as its job queue, and purposefully uses
portable data structures (JSON) for serialization. That makes it enqueueing jobs into Oban
simple for any language with a PostgreSQL adapter, no Oban client necessary.
As a demonstration, let's explore inserting Oban jobs from a Rails application.
To start, define a skeletal ActiveRecord
model with a few conveniences for scheduling jobs:
{-# LANGUAGE BlockArguments #-} | |
module Main where | |
main :: IO () | |
main = do | |
babyShark | |
do do do do do do babyShark | |
do do do do do do babyShark | |
do do do do do do babyShark |
- Neovim v0.4+
- Python 3.4+ and pynvim
- Kitty
- Zsh, but would probably work with any shell if configured properly
- Your favorite dark and light colorschemes
- Add below python script to
~/.config/kitty/
folder. Make sure to make it executable (chmod +x ~/.config/kitty/colors
) - Set up your dark/light colorscheme, and where to store kitty colors configuration (line 4 to 9)
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers: