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
| /* Copyright 1993-2009 NVIDIA Corporation. All rights reserved. | |
| Modified by Mark Zwolinski, December 2009 | |
| Modified by Robert McGibbon, August 2013 | |
| */ | |
| #define CL_TARGET_OPENCL_VERSION 220 | |
| #ifdef __APPLE__ | |
| #include <OpenCL/opencl.h> | |
| #else | |
| #include <CL/cl.h> |
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
| These commands are based on a askubuntu answer http://askubuntu.com/a/581497 and https://askubuntu.com/questions/26498/choose-gcc-and-g-version | |
| To install gcc-7 (gcc-7.2.0), I had to do more stuff as shown below. | |
| USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING. | |
| ABSOLUTELY NO WARRANTY. | |
| If you are still reading let's carry on with the code. | |
| sudo apt-get update && \ | |
| sudo apt-get install build-essential software-properties-common -y && \ | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ |
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
| #!/usr/bin/env zsh | |
| # Currently the script will choke on tilde characters used in either search or | |
| # replace terms | |
| # inspired by | |
| # https://gist.github.com/hlissner/db74d23fc00bed81ff62 | |
| # https://gist.github.com/kates/5915285 | |
| # ag |
Script to add all items from quixel
As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)
Note: This script only tested in the latest version of Chrome.
- Copy the script from below (
run.js) - Login into https://quixel.com
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
| #!/usr/bin/env python3 | |
| # Ref: https://github.com/HearthSim/UnityPack/issues/74 | |
| import sys | |
| import os | |
| from unitypack.utils import BinaryReader | |
| SIGNATURE = 'UnityWebData1.0' | |
| class DataFile: |
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
| #!/usr/bin/env bash | |
| # Remove old versions | |
| for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do | |
| sudo apt-get remove $pkg | |
| done | |
| # Update Kali repository signing key | |
| sudo wget https://archive.kali.org/archive-keyring.gpg -O /usr/share/keyrings/kali-archive-keyring.gpg |
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
| #!/bin/bash | |
| set -e | |
| source /venv/main/bin/activate | |
| WORKSPACE=${WORKSPACE:-/workspace} | |
| COMFYUI_DIR="${WORKSPACE}/ComfyUI" | |
| echo "=== ComfyUI запускает ( x-mode) ===" | |
| APT_PACKAGES=() # если нужно — добавь sudo apt install . |

