-
liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
-
classifier-reborn: Bayesian and LSI classification
dependencies: GSL
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
# Codespaces bash prompt theme | |
__bash_prompt() { | |
local userpart='`export XIT=$? \ | |
&& [ ! -z "${GITHUB_USER}" ] && echo -n "\[\033[0;32m\]@${GITHUB_USER} " || echo -n "\[\033[0;32m\]\u " \ | |
&& [ "$XIT" -ne "0" ] && echo -n "\[\033[1;31m\]➜" || echo -n "\[\033[0m\]➜"`' | |
local gitbranch='`\ | |
if [ "$(git config --get codespaces-theme.hide-status 2>/dev/null)" != 1 ]; then \ | |
export BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || git rev-parse --short HEAD 2>/dev/null); \ | |
if [ "${BRANCH}" != "" ]; then \ | |
echo -n "\[\033[0;36m\](\[\033[1;31m\]${BRANCH}" \ |
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
# How to use this file | |
# 1) Run gem install 'json' on the command line to install the json dependency | |
# 2) Place this file in your Starbound linux32 or linux64 directory | |
# 3) Run it on the command line using 'ruby read_contexts.rb coord' without qoutes (make sure you're in the linux32/linux64 directory) | |
require 'fileutils' | |
require 'json' # gem install 'json' | |
abort("Only 1 arguement may be specified") if ARGV.length > 1 |
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
require 'fileutils' | |
require 'json' | |
template = ' { | |
"op": "replace", | |
"path": "/spawns/CREATURE/monsterParameters/aggressive", | |
"value": false | |
}' | |
puts "#{Time.now.strftime("%H:%M:%S")} : Scanning for aggressive aliens" |
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
require 'fileutils' | |
require 'json' | |
template = '[ | |
{ | |
"op": "test", | |
"path": "/actionOnReap/LOC/file", | |
"value": "PLACEHOLDER" | |
}, | |
{ | |
"op": "remove", |