Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
DNAP hackathons on days with good weather ;-)

Nemesis Fixx mcnemesis

💭
DNAP hackathons on days with good weather ;-)
View GitHub Profile
@mcnemesis
mcnemesis / vosac_default_knowledgebase.json
Last active Aug 15, 2022
Default AI Knowledge Model Config for the VOSAC robot
View vosac_default_knowledgebase.json
{
"qa": [
{
"a": "Joseph Willrich Lutalo, he fathered me.",
"id": 25,
"q": "Who is your parent?",
"aq": [
"Who are your parents?",
"Who is your dad?",
"Who is your father?"
@mcnemesis
mcnemesis / fun.sh
Created Jun 10, 2022
Have Fun in Bash Shell
View fun.sh
# place the following into somewhere like /etc/bash.bashrc.local
# then import into your bash terminals via ~/.bashrc with:
# source /etc/bash.bashrc.local
function fun {
R=$(($RANDOM % 4))
if [[ $R -eq 1 ]]
then
sl
elif [[ $R -eq 2 ]]
@mcnemesis
mcnemesis / code_poem--the-table-craftsman--JWL.js
Created Jan 28, 2022
Tale of The Table Maker --- a code poem by JWL (nemesisfixx)
View code_poem--the-table-craftsman--JWL.js
/*********************** Tale of The Table Maker **********************
***********************************************************************
* CODE POET: nemesisfixx
***********************************************************************
*
* Once, when presented with a box of obscure things,
* and a style of table desired,
* the craftsman had to do his magic on them, then
* hand back a brand-new table, ready to be used!
*
@mcnemesis
mcnemesis / TTTT.Default.EXAMPLE.TEAS.json
Created Jun 5, 2021
TEA Text Transformer Terminal (TTTT) standard starter TEAS (TExt Alternator Scripts) --- from Nuchwezi Research
View TTTT.Default.EXAMPLE.TEAS.json
["Ryf Transform|r:[lL]:R\nr:[aeio]:U","Garagu Script|r:[uU]{1}:a\nR:A:U\naa:","Raid Transform|r:[ae]d:id\na:","Ryf Transform RIz|r:[uU]:A\nr:[lL]:R\nr:[aeio]:U","Condenser Scrypt|r:[Ww]hat:whT\nr:how:hw\nr:[ ]*are[ ]: r \nr:why:y\n","Ryf Transform RIzA-1|r:[uU]:A\nr:[lL]:R\nr:[aeio]:U\na:","Ryf Transform RIzA-2|r:[uU]:A\nr:[lL]:R\nr:[aeio]:U\na:\nr:[xX]:J\nr:,: ","The Basic RZA Transform|r:z:a\nr:y:b\nr:x:c\nr:w:d\nr:v:e\nr:u:f\nr:t:g\nr:s:h\nr:r:i\nr:q:j\nr:p:k\nr:o:l\nr:n:m\nr:m:n\nr:l:o\nr:k:p\nr:j:q\nr:i:r\nr:h:s\nr:g:t\nr:f:u\nr:e:v\nr:d:w\nr:c:x\nr:b:y\nr:a:z","The Shuffle RZA Transform |r:z:a\nr:y:b\nr:x:c\nr:w:d\nr:v:e\nr:u:f\nr:t:g\nr:s:h\nr:r:i\nr:q:j\nr:p:k\nr:o:l\nr:n:m\nr:m:n\nr:l:o\nr:k:p\nr:j:q\nr:i:r\nr:h:s\nr:g:t\nr:f:u\nr:e:v\nr:d:w\nr:c:x\nr:b:y\nr:a:z\ns:","Ryf Transform Quertzcolt|r:z:a\nr:y:b\nr:x:c\nr:w:d\nr:v:e\nr:u:f\nr:t:g\nr:s:h\nr:r:i\nr:q:j\nr:p:k\n#r:o:l\nr:n:m\nr:m:n\nr:l:o\nr:k:p\nr:j:q\nr:i:r\nr:h:s\nr:g:t\nr:f:u\n#r:e:v\nr:d:w\nr:c:x\nr:b:y\nr:a:z\n#a:\ns:\n\nr:[a]:A\nr:[lL]:
@mcnemesis
mcnemesis / index.html
Created Nov 23, 2020
SQUIZ Book Search
View index.html
<div class="container">
<span class="hbar"></span>
<input type="text" placeholder="Search..." id="query" onkeypress="return runScript(event)" >
<div class="search"></div>
<div class="results">
<div class="rlist">
<h4 id="status">Welcome to the SQUIZ book search interface.</h4>
<ul id="list">
</ul>
<small>Designed by <a class="alink" href="https://nuchwezi.com" target="_blank">NuChwezi</a></small>
View TestXLiteDatabaseActivity.java
package com.nuchwezi.nulabs;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.nuchwezi.xlitedatabase.DBAdapter; // <-- get the DAL
@mcnemesis
mcnemesis / DRAMON.default.config.json
Last active Jul 6, 2020
Sample DRAMON Configuration
View DRAMON.default.config.json
{"DRINK":["Soda","Water","Something Hot","Tea","Some Wine","Milk","Yorghurt","Beer","Spirit","Porridge","A Herb.","some Fresh Juice","Bushera","Warm Water"],"CALL":["A Girlfriend","A Relative","Your Friend","someone you miss."],"EAT":["A Fruit","Leafy Vegetables","Fish","Nuts","Something Starchy","No meat","Chicken","some Seeds"],"GO TO":["Entebbe","A Forest","The Lake","Kampala","Home","School","a dance floor.","Bed.","work. "],"Summon":["God","Guardian Angel","Allself","Certain","your muse."],"LISTEN TO":["Some Nu Music","A Podcast","Old Hip Hop","Ragga!","Jazz","Some music.","Something you can play yourself, using things around you.","Traffic"],"WATCH":["A Music Video","A Science Video","Some News","A Cartoon","A Movie","A Comedy","Nature","Your Inner World","Something Erotic","The Skies."],"READ":["from SHRINES, by JWL.","a Holy Scripture.","One of your old documents.","Poetry","A Novel","the News","the Clouds","that book. "],"RITE":["Alone","With Someone else. (No more than 5).","With Someone else. (No m
@mcnemesis
mcnemesis / MainActivity.java
Last active Nov 2, 2020
Example Activity using the DNAP Histrion as an embed
View MainActivity.java
package com.nuchwezi.nulabs;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@mcnemesis
mcnemesis / lines_to_pythonic_list.sh
Created Feb 20, 2020
Transform a file of lines into a pythonic-list of comma delimited strings on the command line
View lines_to_pythonic_list.sh
cat old_db_tables.list.txt |sed -e 's/^/"/;s/$/"/'| tr '\n' ','|sed 's/^/[/;s/$/]/'
@mcnemesis
mcnemesis / generate_rand_bool_matrix.r
Last active Apr 23, 2019
A method to generate stochastic boolean matrices in R
View generate_rand_bool_matrix.r
library(openssl)
matrix(sapply(c(rand_num(100)), (function(n) (round(n*100)%%2))), nrow=5)