Skip to content

Instantly share code, notes, and snippets.

View eldhosejoys's full-sized avatar
😊
rethinking the code

eldhose eldhosejoys

😊
rethinking the code
View GitHub Profile
@eldhosejoys
eldhosejoys / abbrevs.json
Created August 21, 2025 18:05
To convert openbible.info cross-references to json files (https://www.openbible.info/labs/cross-references/)
{
"Genesis": 1, "Gen": 1, "Ge": 1, "Gn": 1,
"Exodus": 2, "Exod": 2, "Exo": 2, "Ex": 2,
"Leviticus": 3, "Lev": 3, "Le": 3, "Lv": 3,
"Numbers": 4, "Num": 4, "Nu": 4, "Nm": 4, "Nb": 4,
"Deuteronomy": 5, "Deut": 5, "De": 5, "Dt": 5,
"Joshua": 6, "Josh": 6, "Jos": 6, "Jsh": 6,
"Judges": 7, "Judg": 7, "Jdg": 7, "Jg": 7, "Jdgs": 7,
"Ruth": 8, "Rth": 8, "Ru": 8,
"1 Samuel": 9, "1 Sam": 9, "1Sam": 9, "1S": 9, "1Sm": 9, "1Sa": 9,
@eldhosejoys
eldhosejoys / fhir-json-validator.js
Created July 21, 2025 17:12
FHIR JSON validator for the version R4 Schema json from https://hl7.org/fhir/R4/downloads.html and ajv npm library in Express JS
// server.js
const express = require('express');
const Ajv = require('ajv');
const fhirSchema = require('./fhir.schema.json'); // Import the saved FHIR schema
// Initialize Express app
const app = express();
app.use(express.json()); // Middleware to parse JSON bodies
// Initialize Ajv
@eldhosejoys
eldhosejoys / genealogy-min
Created April 18, 2025 04:58
genealogy in bible
{"name":"Adam","age":"930","class":"major messianicLine","birth":"3924","death":"2994","spouse":"Eve (Genesis 3:20)","detail":"Adam was created by G-d on the sixth day (Genesis 2:19, Genesis 5:5)","children":[{"name":"Abel","class":"base","detail":"(Genesis 4:2, Genesis 4:8)"},{"name":"Cain","class":"base","detail":"(Genesis 4:1, Genesis 4:16)","children":[{"name":"Enoch","class":"base","detail":"(Genesis 4:17)","children":[{"name":"Irad","class":"base","detail":"(Genesis 4:18)","children":[{"name":"Mehujael","class":"base","detail":"(Genesis 4:18)","children":[{"name":"Methushael","class":"base","detail":"(Genesis 4:18)","children":[{"name":"Lamech","class":"base","spouse":"Adah and Zillah (Genesis 4:19)","detail":"(Genesis 4:18)","children":"","_children":[{"name":"Jabal","class":"base","detail":"He was the father of those who dwell in tents and have livestock (Genesis 4:20)"},{"name":"Jubal","class":"base","detail":"He was the father of all those who play the lyre and pipe (Genesis 4:21)"},{"name":"Tubal-C
@eldhosejoys
eldhosejoys / bible_books.json
Created April 18, 2025 03:05
Bible Books with number from OpenBooks.info Cross Reference
[
{
"number": 1,
"book": "Gen"
},
{
"number": 2,
"book": "Exod"
},
{
@eldhosejoys
eldhosejoys / gist1.html
Created March 22, 2024 10:28
Cookie Policy
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
<script async src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script async>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
palette: {
popup: {
background: "#445",
text: "#fff"
},
http://s3-us-west-1.amazonaws.com/umbrella-static/index.html
https://www.domcop.com/openpagerank/documentation
https://www.domcop.com/top-10-million-websites
https://commoncrawl.org/?s=webgraph
https://majestic.com/reports/majestic-million
https://host.io/rankings
https://tranco-list.eu/
@eldhosejoys
eldhosejoys / index.php
Last active February 4, 2023 07:54
Simple URL Generator for Google Redirect Notice Links. This may be useful in case of building backlinks (for increasing DR in Ahrefs), etc... Demo: http://siteurls.22web.org
<?php
$url = $_GET['url'];$url =htmlspecialchars($url);
$subdomains = array("maps","www","images","image","cse");
$tlds = array("com","it","co.in","cl","cr","pl","ch","br","com.au","es","co.ao","ca","be","com.au","com.br","ru","co.uk","ae","com.co","ee","gr","com.hk","hr","hu","lt","com.mx","no","com.ph","pt","ro","rs","se","si","sk","co.th","com.tw","com.ua","com.ar","ie","co.nz","com.vn","cz","fi","com.ng","com.ag","com.ai","co.ao","as","ba","com.bd","bf","bg","com.bh","bi","bj","com.bn","bs","bt","co.bw","by","com.bz","cat","cf","cg","ci","co.ck","cm","co.cr","com.cu","dj","dm","com.do","dz","com.eg","com.et","com.fj","ga","ge","gg","com.gh","com.gi","gl","gm","gp","com.gt","gy","hn","ht","im","is","je","com.jm","jo","co.ke","kg","ki","com.kw","kz","la","com.lb","li","lk","co.ls","lv","com.ly","mg","mk","ml","com.mm","mn","ms","com.mt","mu","mv","mw","co.mz","ne","com.np","nr","nu","com.om","com.pa","com.pg","pn","com.pr","com.py","com.qa","rw","com.sa","com.sb","sc","sh","com.sl","sm","sn","so","st","com.
@eldhosejoys
eldhosejoys / character count jquery
Last active December 16, 2019 06:36
count the characters in the textarea using jquery
<center>
<textarea maxlength="100"></textarea>
<div id="charNum" class="text-light"></div></center>
<script>
// character counting
$('textarea').on("input", function(){
var maxlength = $(this).attr("maxlength");
var currentLength = $(this).val().length;
if( currentLength >= maxlength ){
@eldhosejoys
eldhosejoys / URL Page
Created November 5, 2019 00:55
html of the URL Page
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#clearAll").click( function() {
$("#input").val("");
$("#output").attr("src","about:blank");
<script>
if(window!=window.top) { document.getElementById('watermark').style.display = 'block';
};
if(window.location.host!= 'example.com'){ document.getElementById('watermark').style.display = 'block';
};
</script>
<a href="https://example.com" id="watermark" style="display:none; position: fixed; bottom: 3px; text-align: center;font-size:14px; width: 100%;" target="_blank"><span style="background-color:#fff; color:#000"
href="https://example.com" >Example.com</span></a>