On every machine in the cluster install openmpi
and mlx-lm
:
conda install conda-forge::openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine:
On every machine in the cluster install openmpi
and mlx-lm
:
conda install conda-forge::openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine:
<script lang="ts"> | |
import { onMount, onDestroy } from "svelte"; | |
import { Editor, type Extensions } from "@tiptap/core"; | |
import StarterKit from "@tiptap/starter-kit"; | |
import Underline from "@tiptap/extension-underline"; | |
import CharacterCount from "@tiptap/extension-character-count"; | |
import { debounce } from "$lib/utils"; | |
import { Toggle } from "$lib/components/ui/toggle"; | |
import IconBold from "@tabler/icons-svelte/icons/bold"; | |
import IconItalic from "@tabler/icons-svelte/icons/italic"; |
/** | |
* Reads the manifest file and creates a schema and table for each parquet file in the manifest. | |
* It will create a DB called `local.duckdb` in the root of the project. | |
* | |
* Usage: | |
* 1. Copy this file to the root of your project Evidence project. | |
* 2. `npm run sources` | |
* 3. `node createLocalDuckDB.js` | |
*/ |
// Author: SwiftUI-Lab (www.swiftui-lab.com) | |
// Description: This code is part of the "Advanced SwiftUI Animations - Part 5" | |
// Article: https://swiftui-lab.com/swiftui-animations-part5/ | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
DigitalRain() | |
} |
Some developers you should support:
You'll find the talks here
Approaching frontend as a backend developer, Svelte feels surprisingly pythonic. Let's take a quick look at what's familiar, what's foreign, and how to explore the gap.
/etc/init.d/tailscale | |
/etc/rc.d/*tailscale | |
/etc/tailscale/ | |
/lib/upgrade/keep.d/tailscale | |
/usr/sbin/tailscale | |
/usr/sbin/tailscaled |
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
Get the metadata and content of all files in a given GitHub repo using the GraphQL API
You might want to get a tree summary of files in a repo without downloading the repo, or maybe you want to lookup the contents of a file again without download the whole repo.
The approach here is to query data from GitHub using the Github V4 GraphQL API.
Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.
To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:
tell application "System Preferences"
set CurrentPane to the id of the current pane
set the clipboard to CurrentPane