VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
| # This script will transcribe an audio file (mp3, wav, etc.) to text and then clean the text using a local LLM model via Ollama. Technically, this script will work with any LLM that supports the standard OpenAI bindings with minor adjustments. | |
| # GETTING STARTED: | |
| # 1. Install required python packages (pip install openai python-dotenv) | |
| # 2. Git clone a copy of ggerganov/whisper (https://github.com/ggerganov/whisper.cpp) | |
| # 3. Build the whisper binary (see the whisper.cpp README for instructions) | |
| # 4. Download one of the whisper models (largev2 is the most accurate for all languages, though the base model works reasonably well for English). | |
| # 5. Install ffmpeg (brew install ffmpeg on macOS, apt-get install ffmpeg) | |
| # 6. Install ollama (https://ollama.com/download) | |
| # 7. Download an LLM model (https://ollama.com/library) |
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
| import tkinter as tk | |
| from tkinter import * | |
| from tkinter import messagebox, simpledialog, filedialog, StringVar, ttk | |
| import os | |
| import sys, platform, traceback | |
| import time | |
| /* global gapi */ | |
| const API_KEY = 'YOURAPIKEYHERE'; | |
| import React, { Component } from 'react'; | |
| class App extends Component { | |
| loadYoutubeApi() { | |
| const script = document.createElement("script"); |
| export default class GeoJsonMapLayer extends React.Component { | |
| render() { | |
| return ( | |
| <div> | |
| </div> | |
| ); | |
| } | |
| componentWillUnmount() { | |
| if (this.layer) { |
| #!/bin/bash | |
| # | |
| # Restart Bluetooth Module on Mac OS X | |
| # | |
| # Requires Blueutil to be installed: http://brewformulas.org/blueutil | |
| BT="/usr/local/bin/blueutil" | |
| log() { | |
| echo "$@" |
| export const GoogleApi = function(opts) { | |
| opts = opts || {} | |
| const apiKey = opts.apiKey; | |
| const libraries = opts.libraries || []; | |
| const client = opts.client; | |
| const URL = 'https://maps.googleapis.com/maps/api/js'; | |
| const googleVersion = '3.22'; | |
| let script = null; |
| #!/bin/bash -e | |
| # Make sure you have installed ImageMagick | |
| # http://cactuslab.com/imagemagick/ | |
| # Ensure we're running in location of script. | |
| cd "`dirname $0`" | |
| for f in *; do | |
| if [[ $f == *@3x* ]]; | |
| then |
| import { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |