Link: https://github.com/itzg/docker-minecraft-server
Start:
cd ./MinecraftJavaServer/
docker compose up -d
File ./MinecraftJavaServer/data/eula.txt
contains eula=true
HF_API_URL = "https://api-inference.huggingface.co/models/" | |
HF_API_TOKEN = os.getenv("HF_API_TOKEN") # Токен Hugging Face | |
HF_MODEL_NAME = "mistralai/Mistral-7B-Instruct-v0.3" | |
HF_GENERATION_SETTINGS = { | |
"max_length": 100, | |
"do_sample": True, | |
"top_p": 0.95, | |
"temperature": 0.9, | |
"repetition_penalty": 1.2, | |
} |
Link: https://github.com/itzg/docker-minecraft-server
Start:
cd ./MinecraftJavaServer/
docker compose up -d
File ./MinecraftJavaServer/data/eula.txt
contains eula=true
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import logging | |
import git | |
logger = logging.getLogger('scratch') | |
logger.setLevel(logging.INFO) |
#!/bin/bash | |
function cpufreq() { | |
cat /proc/cpuinfo | grep MHz | awk -F ': ' '{print $2}' | sort -u | |
} | |
function temperature() { | |
sensors | awk -F ':' '{print $2}' | awk '{print $1}' | grep "°C" | sed "s/+\|°C//g" | sort -u | |
} |
#!/bin/bash +x | |
# Source: http://www.gabsoftware.com/tips/automatically-reconnect-to-your-vpn-on-linux/ | |
# Description: | |
# Make the script executable "chmod +x /path/to/the/script.sh | |
# Put the script in .profile or .bashrc so it can be run on user login: | |
# Example: echo "/path/to/the/script.sh start &" >> .bashrc | |
# The script can be bound to shortcut keys with these commands: | |
# /path/to/the/script.sh start # starts and monitors VPN connection |
resetQueue(); | |
var PAUSE_INTERVAL = 500; //Wait for this many milliseconds between each request | |
function resetQueue() { | |
//Perform initial request | |
jQuery.get("https://store.steampowered.com/dynamicstore/userdata/", {t: new Date().getTime()}, function(data) { | |
// @xorbis: The data.rgIgnoredApps is now an object, should use Object.keys(data.rgIgnoredApps) instead. | |
var totalItems = data.rgIgnoredApps.length; | |
if (totalItems == 0) { | |
alert("There are no items in your Not Interested list."); |
Ryzen Blender Test | |
X5450 + GTX 750 ... 02:48.98 time | |
7700K + HD 630 ... 01:06.87 time | |
7700K + GTX 750 ... 00:52.59 time | |
Cinebench OpenGL | |
X5450 + GTX 750 ... 59.77 fps ... Ref. Match 99.6 % | |
7700K + HD 630 ... 43.38 fps ... Ref. Match 97.7 % | |
7700K + GTX 750 ... 103.71 fps ... Ref. Match 99.6 % | |
[email protected] + GTX 750 ... 100.09 fps ... Ref. Match 99.6 % |
dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase/ |