Application.put_env(:sample, Sample.Repo, database: "oban_dev")
Application.put_env(:phoenix, :json_library, Jason)
Application.put_env(:sample, Sample.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 5001],
server: true,
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
| #!/bin/bash | |
| sudo apt-get update && sudo apt-get upgrade | |
| sudo apt-get install git | |
| sudo apt-get install build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev | |
| sudo add-apt-repository ppa:chris-lea/libsodium | |
| sudo apt-get update | |
| sudo apt-get -f install | |
| sudo apt-get install libsodium-dev | |
| sudo pip install cryptography |
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
| require 'anemone' | |
| #The below count is manually extracted from https://www.linkedin.com/directory/topics-X where 'X' is the alphabet | |
| word_to_char = { | |
| a: 98, b: 100, c: 99, d: 99, e: 99, f: 97, g: 96, h: 95, i: 100, j: 88, k: 92, l: 97, m: 100, | |
| n: 94, o: 99, p: 99, q: 87, r: 100, s: 100, t: 100, u: 94, v: 96, w: 100, x: 73, y: 53, z: 0 | |
| } | |
| all_urls, skipped_urls = [], [] | |
| word_to_char.each{ |char, count| 1.upto(count) { |num| all_urls << "https://www.linkedin.com/directory/topics-#{char}-#{num}/" } } |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| DOCUMENTATION = ''' | |
| --- | |
| module: scw_facts | |
| ''' | |
| EXAMPLES = ''' | |
| # To see the list of all the facts use command below: |
As of August 28th, 2025, Expert LSP has been released: https://github.com/elixir-lang/expert
Although still a work in progress, the plan is for the other three LS implementations to be archived. I may try to come up with a new way to track Expert's featureset, but I would probably contribute that back to Expert as documentation.
As of August 15, 2024, it's been announced that the three projects bein compared here will soon merge! See the official Elixir blog post for more details: https://elixir-lang.org/blog/2024/08/15/welcome-elixir-language-server-team/
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 MemoryMonitor do | |
| @moduledoc """ | |
| This module implements a GenServer that monitors the memory usage of a process. | |
| It periodically checks the memory consumption. | |
| """ | |
| use GenServer | |
| @time_to_check :timer.seconds(10) |