This file contains 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
nssm.exe install ollama C:\ollama\ollama.exe | |
nssm.exe set ollama AppParameters serve | |
nssm.exe set ollama AppDirectory C:\ollama\ | |
nssm.exe set ollama AppExit Default Restart | |
nssm.exe set ollama AppEnvironmentExtra ^":OLLAMA_TMPDIR=^\^"C:^\ollama^\^"^" | |
nssm.exe set ollama AppPriority REALTIME_PRIORITY_CLASS | |
nssm.exe set ollama AppStdout C:\ollama\ollama.log | |
nssm.exe set ollama AppStdoutCreationDisposition 2 | |
nssm.exe set ollama AppStderr C:\ollama\error.log | |
nssm.exe set ollama AppStderrCreationDisposition 2 |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.evrima.rssh</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/ssh</string> | |
<string>-T</string> |
This file contains 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
From 1a723fd375a530781d344a1315c55467ae9dbb1f Mon Sep 17 00:00:00 2001 | |
From: Geoffrey McRae <[email protected]> | |
Date: Wed, 27 Nov 2019 00:32:23 +1100 | |
Subject: [PATCH] quirk: AMD Navi 10 series vendor specific reset (v2) | |
Signed-off-by: Geoffrey McRae <[email protected]> | |
--- | |
drivers/pci/quirks.c | 132 +++++++++++++++++++++++++++++++++++++++++++ | |
1 file changed, 132 insertions(+) |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>DATA_DIR</key> | |
<string>/usr/local/var/dgraph</string> | |
</dict> | |
<key>Label</key> |
This file contains 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 | |
echo "Checking 18.204.236.41" && nmap 18.204.236.41 | grep open | |
echo "Checking 116.203.90.92" && nmap 116.203.90.92 | grep open | |
echo "Checking 116.203.189.147" && nmap 116.203.189.147 | grep open | |
echo "Checking 159.69.25.31" && nmap 159.69.25.31 | grep open | |
echo "Checking 159.69.196.145" && nmap 159.69.196.145 | grep open | |
echo "Checking 159.69.201.152" && nmap 159.69.201.152 | grep open | |
echo "Checking 159.69.203.214" && nmap 159.69.203.214 | grep open | |
echo "Checking 178.157.82.70" && nmap 178.157.82.70 | grep open |
This file contains 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 | |
set -e | |
# http://nginx.org/download/nginx-1.16.0.tar.gz | |
SRC_ROOT=/usr/src | |
NSRC_ROOT=/usr/src/nginx | |
NPS_VERSION=1.13.35.2 | |
NGINX_VERSION=1.16.1 |
This file contains 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 | |
### Builds PHP from source on Ubuntu 18 | |
set -e | |
echo "Prepairing build tools" | |
DEBIAN_FRONTEND=noninteractive apt update -y && apt install -y build-essential \ | |
bison autoconf bison re2c pkg-config libsystemd-dev libxml2-dev \ | |
libssl-dev libsqlite3-dev libcurl4-openssl-dev libcurl4 \ | |
unzip libenchant-dev libffi-dev libpng-dev libgmp-dev libonig-dev \ | |
libpq-dev libedit-dev librecode-dev libargon2-0-dev libzip-dev |
This file contains 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
[Unit] | |
Description=Elasticsearch | |
Documentation=http://www.elastic.co | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Environment=ES_HOME=/usr/share/elasticsearch | |
Environment=CONF_DIR=/etc/elasticsearch | |
Environment=DATA_DIR=/var/lib/elasticsearch |
This file contains 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/python2.7 | |
import os | |
import sys | |
import fnmatch | |
import subprocess | |
import traceback | |
# whichever directory is running on. | |
cwd = os.getcwd() |
This file contains 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
# make 2 partitions on the disk. | |
parted -s /dev/sda mktable msdos | |
parted -s /dev/sda mkpart primary 0% 100m | |
parted -s /dev/sda mkpart primary 100m 100% | |
# make filesystems | |
# /boot | |
mkfs.ext2 /dev/sda1 | |
# / | |
mkfs.ext4 /dev/sda2 |
NewerOlder