- LLama.cpp
- git clone [email protected]:ggerganov/llama.cpp.git
- pip install -r llama.cpp/requirements.txt
- Compile llama.cpp a) cd llama.cpp b) make
- wikiextractor (this is used for creating imatrix files from wikipedia dumps)
- git clone [email protected]:attardi/wikiextractor.git
- cd wikiextractor
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> Assignment Check Test</title> | |
</head> | |
<body> | |
<div id="myValue"> | |
</div> |
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
package com.thesven.game.core.time; | |
import static playn.core.PlayN.*; | |
import playn.core.util.Callback; | |
public class Time { | |
public boolean running = false; | |
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 | |
#requires the following: | |
#download and install macports - http://www.macports.org/install.php (.pkg installer) | |
#Install ImageMagick though macports - sudo port install ImageMagick | |
GIF_FILE=$1 | |
ROOT_EXPORT_NAME=$2 | |
convert $GIF_FILE -coalesce $ROOT_EXPORT_NAME%04d.png |
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
var enums = {}; | |
enums.map = {}; | |
enums.map.keys = [ | |
"SPACE_BAR", | |
"BACKSPACE", | |
"TAB", | |
"ENTER", | |
"SHIFT", | |
"CTRL", | |
"ALT", |
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
echo "Hello Michael, You are great at turning me on." | |
### ---------- | |
### PATH SETTINGS | |
### ---------- | |
PATH=/applications/MacVim/:$PATH | |
### ---------- | |
### Archive | |
### ---------- | |
alias tarc="tar -zcf" |
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 | |
# Upgrade and install required packages. | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install lamp-server^ | |
sudo apt-get install php5-cli php5-gd php5-curl phpmyadmin | |
# Configure Apache | |
sudo sed -ie 's/AllowOverride None/AllowOverride All/g' /etc/apache2/sites-available/default |
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
<?php | |
for($i = 1; $i <= 100; $i += 1){ | |
echo("<option value='{$i}'>{$i}</option>"); | |
} | |
?> |
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
<select id="state" name="state"> | |
<option value="">Select One</option> | |
<optgroup label="Canadian Provinces"> | |
<option value="AB">Alberta</option> | |
<option value="BC">British Columbia</option> | |
<option value="MB">Manitoba</option> | |
<option value="NB">New Brunswick</option> | |
<option value="NF">Newfoundland</option> | |
<option value="NT">Northwest Territories</option> | |
<option value="NS">Nova Scotia</option> |