Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| (ns my.namespace.uppy | |
| (:require [re-frame.core :as rf] | |
| [reagent.core :as r] | |
| [cs2.handlers :refer [debug-panel]] | |
| [cs2.i18n :refer [tr]] | |
| [clojure.string :as string] | |
| [cs2.util :as util] | |
| [cs2.components.widgets.modal :as modal] | |
| [taoensso.timbre :refer [debug info error fatal warn]])) |
| # Collection of one line text art (◕‿◕✿) | |
| Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗 | |
| ּבּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ |
This guide was written because I don't particularly enjoy deploying Phoenix (or Elixir for that matter) applications. It's not easy. Primarily, I don't have a lot of money to spend on a nice, fancy VPS so compiling my Phoenix apps on my VPS often isn't an option. For that, we have Distillery releases. However, that requires me to either have a separate server for staging to use as a build server, or to keep a particular version of Erlang installed on my VPS, neither of which sound like great options to me and they all have the possibilities of version mismatches with ERTS. In addition to all this, theres a whole lot of configuration which needs to be done to setup a Phoenix app for deployment, and it's hard to remember.
For that reason, I wanted to use Docker so that all of my deployments would be automated and reproducable. In addition, Docker would allow me to have reproducable builds for my releases. I could build my releases on any machine that I wanted in a contai
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitHub |
| http://stackoverflow.com/questions/22667401/postgres-json-data-type-rails-query | |
| http://stackoverflow.com/questions/40702813/query-on-postgres-json-array-field-in-rails | |
| #payload: [{"kind"=>"person"}] | |
| Segment.where("payload @> ?", [{kind: "person"}].to_json) | |
| #data: {"interest"=>["music", "movies", "programming"]} | |
| Segment.where("data @> ?", {"interest": ["music", "movies", "programming"]}.to_json) | |
| Segment.where("data #>> '{interest, 1}' = 'movies' ") | |
| Segment.where("jsonb_array_length(data->'interest') > 1") |
| # https://minhajuddin.com/2016/03/03/put-this-in-your-code-to-debug-anything | |
| require 'rouge' | |
| require 'method_source' | |
| require 'pp' | |
| class Dbg | |
| def initialize(object, to:) | |
| @object, @stream = object, to | |
| end |
| 0 22 * * 1,2,3,4,5 /path/to/git_changes.sh /path/to/projects/ # Sends 5 PM EST if server time is UTC | |
| 0 21 * * 5 /path/to/git_changes.sh -w /path/to/projects # Sends Friday @ 4PM EST if server time is UTC |
| # And, to activate, you need to tell Rails to load it up: | |
| # config/application.rb | |
| config.middleware.insert_before 0, Rack::Attack |