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
| import { Api } from "@api/domains/api"; | |
| import { | |
| FetchHttpClient, | |
| HttpApiClient, | |
| type HttpClient, | |
| type HttpClientResponse, | |
| } from "@effect/platform"; | |
| import { Fetch } from "@effect/platform/FetchHttpClient"; | |
| import { | |
| type UseMutationOptions, |
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
| # Create the file repository configuration: | |
| sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' | |
| # Import the repository signing key: | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
| # Update the package lists: | |
| sudo apt-get update | |
| # Install the latest version of PostgreSQL. |
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
| sudo apt-get update -y && | |
| sudo apt-get install -y fish && | |
| chsh -s `which fish` && | |
| fish && | |
| curl -L https://get.oh-my.fish | fish && | |
| omf install bobthefish | |
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
| import axios from "axios"; | |
| const githubClient = axios.create({ | |
| baseURL: "https://api.github.com/", | |
| timeout: 1000, | |
| //headers: { "X-Custom-Header": "foobar" }, | |
| }); | |
| export default class Gist { | |
| constructor() {} |