mkdir -m 700 ~/.ssh; curl https://github.com/aidik.keys >> ~/.ssh/authorized_keys
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
goto ExecutePowershell | |
cls | |
#Powershell code block begining | |
#LINK http://www.bryanvine.com/2016/02/powershell-quick-script-wrap-any.html | |
0..2 | %{ | |
"Loop: $($_+1)" | |
[System.Console]::Beep(450, 110);[System.Console]::Beep(500, 110);[System.Console]::Beep(550, 110);[System.Console]::Beep(450, 110) | |
[System.Console]::Beep(675, 200);[System.Console]::Beep(675, 200);[System.Console]::Beep(600, 300);[System.Console]::Beep(450, 110) | |
[System.Console]::Beep(500, 110);[System.Console]::Beep(550, 110);[System.Console]::Beep(450, 110);[System.Console]::Beep(600, 200) | |
[System.Console]::Beep(600, 200);[System.Console]::Beep(550, 300);[System.Console]::Beep(525, 110);[System.Console]::Beep(450, 300) |
In addition, substitution of FOR variable references has been enhanced. You can now use the following optional syntax:
%~I - expands %I removing any surrounding quotes (")
%~fI - expands %I to a fully qualified path name
%~dI - expands %I to a drive letter only
%~pI - expands %I to a path only
%~nI - expands %I to a file name only
%~xI - expands %I to a file extension only
%~sI - expanded path contains short names only
%~aI - expands %I to file attributes of file
Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962
In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.
See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix
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
@echo off | |
setLocal enableDelayedExpansion | |
:: === ADAPTING THIS TEMPLATE (for help, see bottom or invoke with "help") === | |
:: * Step 1 of 3: CLONE THIS BATCH FILE and give it a name of your choice. | |
:: * Step 2 of 3: Set the TARGET LANGUAGE on the next line. | |
:: One of: "ps1" "vbs" "js" (PowerShell, VBScript, JScript) | |
:: OR: "all" (runs ALL embedded snippets, in sequence) | |
:: NOTE: To add support for a new language, search for "NEW LANGUAGE" | |
:: below and follow the instructions there. | |
set "WRAPPER_LANG=ps1" |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
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
prompt_question | |
"Write a detailed essay on Dependency Injection. The essay should demonstrate your understanding of Dependency Injection, highlight its practical applications, and discuss the risks or challenges associated with Dependency Injection. Ensure your explanation is thorough and clear." | |
"Write a detailed essay on RESTful API Design. The essay should demonstrate your understanding of RESTful API Design, highlight its practical applications, and discuss the risks or challenges associated with RESTful API Design. Ensure your explanation is thorough and clear." | |
"Write a detailed essay on Event-Driven Architecture. The essay should demonstrate your understanding of Event-Driven Architecture, highlight its practical applications, and discuss the risks or challenges associated with Event-Driven Architecture. Ensure your explanation is thorough and clear." | |
"Write a detailed essay on Continuous Integration/Continuous Deployment (CI/CD). The essay should demonstrate your understanding of Continuous Integratio |
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
# This is just a cheat sheet: | |
# On production | |
sudo -u postgres pg_dump database | gzip -9 > database.sql.gz | |
# On local | |
scp -C production:~/database.sql.gz | |
dropdb database && createdb database | |
gunzip < database.sql.gz | psql database |
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 | |
############################################################################## | |
# An rclone backup script by Jared Males ([email protected]) | |
# | |
# Copyright (C) 2018 Jared Males <[email protected]> | |
# | |
# This script is licensed under the terms of the MIT license. | |
# https://opensource.org/licenses/MIT | |
# |
Standard set of Common Gateway Interface environment variable are described in RFC3875. For example:
CONTENT_TYPE=application/x-www-form-urlencoded
GATEWAY_INTERFACE=CGI/1.1
REMOTE_ADDR=192.168.1.180
QUERY_STRING=Zbr=1234567&SrceMB=&ime=jhkjhlkh+klhlkjhlk+%A9%D0%C6%AE%C6%AE&prezime=&sektor=OP
REMOTE_PORT=2292
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
' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
' | |
' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
' Now, when you double-click the local script file an alertbox pops up | |
' displaying the product key stored in the machine's Windows registry. | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |
NewerOlder