При установке под линукс (проверено на Ubuntu 16):
- Устанавливаем wine
- Из папки crack копируем файл MentorKG.exe в
<install_dir>/linux
(или/linux_x86_64
) - Выполняем
sudo chown root:root ~/.wine
/* | |
Check SSE/AVX support. | |
This application can detect the instruction support of | |
SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX. | |
*/ | |
#include <iostream> | |
#ifdef _MSC_VER | |
#include <intrin.h> | |
#endif |
#!/bin/bash | |
ALTERA_PATH=~/altera/13.1/ | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install gcc-multilib g++-multilib \ | |
lib32z1 lib32stdc++6 lib32gcc1 \ | |
expat:i386 fontconfig:i386 libfreetype6:i386 libexpat1:i386 libc6:i386 libgtk-3-0:i386 \ | |
libcanberra0:i386 libpng12-0:i386 libice6:i386 libsm6:i386 libncurses5:i386 zlib1g:i386 \ |
This Gist has been transfered into a Github Repo. You'll find the most recent version here.
When creating your rules for YARA keep in mind the following guidelines in order to get the best performance from them. This guide is based on ideas and recommendations by Victor M. Alvarez and WXS.
#!/bin/sh | |
# | |
# File: macos-installer-to-iso.sh | |
# | |
# Create a bootable ISO image from a macOS installer to install VMware ESXi guests. | |
# | |
# https://gist.github.com/Kutkovsky/613e29f35d3ef420b23b59ecdf7a28e0 | |
# Debug on: set -x | |
set -eux |
# A one liner to leverage the GPU on a mac to transcribe audio files | |
# Inspired by https://simonwillison.net/2024/Aug/13/mlx-whisper/ | |
llm_transcribe_recording () { | |
local file_path="$1" | |
python3 -c " | |
import mlx_whisper | |
result = mlx_whisper.transcribe('$file_path', path_or_hf_repo='mlx-community/distil-whisper-large-v3') | |
print(result['text']) | |
" | |
} |