Mix.install(
[
{:kino, "~> 0.7.0"},
{:vega_lite, "~> 0.1.6"},
{:kino_vega_lite, "~> 0.1.7"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Application.put_env(:sample, PhoenixDemo.Endpoint, | |
| http: [ip: {127, 0, 0, 1}, port: 8080], | |
| server: true, | |
| live_view: [signing_salt: "bumblebee"], | |
| secret_key_base: String.duplicate("b", 64), | |
| pubsub_server: PhoenixDemo.PubSub | |
| ) | |
| Mix.install([ | |
| {:plug_cowboy, "~> 2.6"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Mix.Tasks.ConvertToVerifiedRoutes do | |
| @shortdoc "Fix routes" | |
| use Mix.Task | |
| @regex ~r/(Routes\.)(.*)_(path|url)\(.*?\)/ | |
| @web_module MyAppWeb | |
| def run(_) do | |
| Path.wildcard("lib/**/*.*ex") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| ## | |
| # Until this commit is merged and released by rack | |
| # | |
| gem 'rack', git: 'https://github.com/rack/rack.git', ref: 'c859bbf7b53cb59df1837612a8c330dfb4147392' | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/mperham/sidekiq/blob/master/examples/systemd/sidekiq.service | |
| # | |
| # systemd unit file for CentOS 7, Ubuntu 15.04 | |
| # | |
| # Customize this file based on your bundler location, app directory, etc. | |
| # Put this in /usr/lib/systemd/system (CentOS) or /lib/systemd/system (Ubuntu). | |
| # Run: | |
| # - systemctl enable sidekiq | |
| # - systemctl {start,stop,restart} sidekiq | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * API FOR GET REQUESTS | |
| // most simple and returns iata code | |
| https://airport-autosuggest.flightright.net/v1/airports/COM?name=london | |
| // connected to kiwi.com, but you can still use it for autocompletes and has a lot of information | |
| https://api.skypicker.com/locations/?term=london | |
| * BELOW API IS FOR POST REQUESTS | |
| // related to openflights data or a simple text autocomplete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Home::IndexPage < MainLayout | |
| def content | |
| Kilt.embed "my_page.slang", io_name: @view | |
| end | |
| end |