Thanks to @jogerj and @PrimeCicada for the method! Original script: https://gist.github.com/jogerj/0339e61a92e0de2e360c5212a94854e8
Thanks to @SleepingPanda for 3.8 change info
Open powershell, then copy paste this script:
# Clone llama.cpp | |
git clone https://github.com/ggerganov/llama.cpp.git | |
cd llama.cpp | |
# Build it | |
make clean | |
LLAMA_METAL=1 make | |
# Download model | |
export MODEL=llama-2-13b-chat.ggmlv3.q4_0.bin |
Thanks to @jogerj and @PrimeCicada for the method! Original script: https://gist.github.com/jogerj/0339e61a92e0de2e360c5212a94854e8
Thanks to @SleepingPanda for 3.8 change info
Open powershell, then copy paste this script:
This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.
Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4
The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.
Add-Type -AssemblyName System.Web | |
Write-Host "Paimon.moe Wish Importer" -ForegroundColor Cyan | |
Write-Host "1. Open Genshin Impact in this PC" | |
Write-Host "2. Then open the wish history and wait it to load" | |
Write-Host "3. When you are ready press [ENTER] to continue! (or any key to cancel)" | |
Write-Host "Waiting..." | |
$keyInput = [Console]::ReadKey($true).Key | |
if ($keyInput -ne "13") { |
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019 | |
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes. | |
# This function pulls out the common ID used for most of the VMware registry entries along with the ID | |
# associated with the MSI for VMware Tools. | |
function Get-VMwareToolsInstallerID { | |
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) { | |
If ($item.GetValue('ProductName') -eq 'VMware Tools') { | |
return @{ | |
reg_id = $item.PSChildName; |
#!/usr/bin/env python3 | |
import shutil | |
from flask import Flask, Response, request | |
app = Flask(__name__) | |
@app.route('/<path:path>', methods=['GET', 'POST']) | |
def hello(path): |
💥NOTE💥: Don't do this yet, all of this stuff is still 🚑💣BLEEDING EDGE💣🚑, and you will 🔪cut yourself🔪 badly if you choose to do it. Please wait for 🗿Wilba's QMK code to be refactored prior to pushing anything to QMK, as we don't want to end up with a bunch of different forks of the code.
So you've seen VIA Configurator in action, and you want to get this magic supported for your board?
There's two main steps:
version: '3' | |
services: | |
gitlab: | |
image: gitlab/gitlab-ce:latest | |
hostname: gitlab.example.com | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com/' | |
nginx['listen_port'] = 80 | |
nginx['listen_https'] = false |
#!/usr/bin/env python | |
import cv2 | |
import sys | |
def drawBoundingBoxes(imageData, imageOutputPath, inferenceResults, color): | |
"""Draw bounding boxes on an image. | |
imageData: image data in numpy array format | |
imageOutputPath: output image file path | |
inferenceResults: inference results array off object (l,t,w,h) | |
colorMap: Bounding box color candidates, list of RGB tuples. |
::########################################################################################################################## | |
:: | |
:: This script can ruin your day, if you run it without fully understanding what it does, you don't know what you are doing, | |
:: | |
:: OR BOTH!!! | |
:: | |
:: YOU HAVE BEEN WARNED!!!!!!!!!! | |
:: | |
:: This script is provided "AS IS" with no warranties, and confers no rights. | |
:: Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section, |