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
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | |
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
# OUR SERVER | |
server { | |
listen 80; | |
server_name .domain.com; | |
return 301 https://domain.com$request_uri; | |
} | |
server { |
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
<Macro DJANGO_APP $IP $PORT $DOMAIN $ADMIN_EMAIL $PROJECT_DIR $APP > | |
NameVirtualHost $IP:$PORT | |
Listen $IP:$PORT | |
<VirtualHost $IP:$PORT> | |
ServerName $DOMAIN | |
ServerAlias www.$DOMAIN *.$DOMAIN | |
ServerAdmin $ADMIN_EMAIL | |
# to allow each django project to use its own nginx daemon and thus prevent sharing settings |
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
{ | |
"published":"20 Apr, 2023", | |
"references":"", | |
"name":"HIDA: Maternal Healthcare QA", | |
"qa":[ | |
{ | |
"q":"Why do I feel tired and weak", | |
"id":45, | |
"aq":[ | |
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
{ | |
"qa": [ | |
{ | |
"aq": [ | |
"Who is your father?", | |
"Who is your dad?", | |
"Who are your parents?" | |
], | |
"id": 25, | |
"a": "Joseph Willrich Lutalo, he fathered me.", |
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
# 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 ]] |
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
/*********************** 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! | |
* |
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
[ | |
"The TATA Transform|t:\na:\nt:\na:", | |
"TAATA Pure Transform|t:\naa:\nt:\na:", | |
"The MAD MAAT Transform|m:\naa:\nt:\nd:[a-z]\\.[a-z]\ns:", | |
"The MATRiC Transform|m:\naa:\nt:\nr:00: \nr:81:9\ns:", | |
"The y-NuMATRiC Transform|m:\naa:\nt:\nr:00: \nr:81:9\nr:21:3\nr:25:Y\ns:", | |
"The sad-RNG Transformer|s:\naa:\nd:[ ]+[0-9 ]*$", | |
"The SAT Transform|s:\na:\nt:", | |
"The DIA RNG Transform|i:123456789 0\naa:\nd: [0-9]+\n", | |
"The DIA RNG Generator|i:123456789 0\naa:\nd: [0-9]+\n", |
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
<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> |
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
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 |
NewerOlder