Conny – interne Infos

QSL Karten

http://www.amateurfunk-winsen.de/index.php/for-beginners/die-qsl-karte

generate JSON in PHP

you need only one function, json_encode().

When working with database, you need to get all the rows into array first. Here is a sample code for mysqli

$sql="select * from Posts limit 20"; 
$result = $db->query($sql);
$posts = $result->fetch_all(MYSQLI_ASSOC);

then you can either use this array directly or make it part of another array:

echo json_encode($posts);
// or
$response = json_encode([
    'posts' => $posts,
]);

if you need to save it in a file then just use file_put_contents()

file_put_contents('myfile.json', json_encode($posts));

Morse Code modified by Conny

Source: https://codingshiksha.com/javascript/javascript-project-to-build-morse-code-encoder-decoder-translator-web-app-in-html5/

document.getElementById("Output-Encrypted-Value").innerHTML += Alphabets[InputStringValue[IndexVal]] + " | ";
	}
}	
 
// ENCRYPTION FUNCTION CODE
 
 
// DECRYPTION FUNCTION CODE
document.getElementById("Decform").addEventListener("click", function() {
    var StartCountIndex = 0,
        InputMorseCode = document.getElementById("Input-Morse-Code").value.toString() + " ";
    // try {
	document.getElementById('Output-Decrypted-String').innerHTML = '';
    for (var IndexVal = 0; IndexVal <= InputMorseCode.length; IndexVal++) {
        if (InputMorseCode[IndexVal] === " ") {
 
            var index = IndexVal;
            var MorseCode = InputMorseCode.slice(StartCountIndex, index);
            StartCountIndex = ++index;
   StartCountIndex = ++index;
			if ( MorseCode == "") { 
				erg = " | ";
			} else {
				erg = FindKey(Alphabets, MorseCode);
				if (erg == undefined) { 
					erg = "X";
				}
			}
            document.getElementById("Output-Decrypted-String").innerHTML += erg ;
            // document.getElementById('Output-Decrypted-String').innerHTML = '';
        }
    }
});

// DECRYPTION FUNCTION CODE
function cwDecode() {
    var StartCountIndex = 0,
        InputMorseCode = document.getElementById("Input-Morse-Code").value.toString() + " ";
    // try {
	document.getElementById('Output-Decrypted-String').innerHTML = '';
    for (var IndexVal = 0; IndexVal <= InputMorseCode.length; IndexVal++) {
        if (InputMorseCode[IndexVal] === " ") {
 
            var index = IndexVal;
            var MorseCode = InputMorseCode.slice(StartCountIndex, index);
            StartCountIndex = ++index;
			if ( MorseCode == "") { 
				erg = " | ";
			} else {
				erg = FindKey(Alphabets, MorseCode);
				if (erg == undefined) { 
					erg = "X";
				}
			}
            document.getElementById("Output-Decrypted-String").innerHTML += erg;
            //document.getElementById('Output-Decrypted-String').innerHTML = InputMorseCode;
        }
    } 
}
 
// GET DATA FROM ARRAY [Alphabets]
function FindKey(Alphabets, Value) {
    for (var Keys in Alphabets) {
        if (Alphabets.hasOwnProperty(Keys)) {
            if (Alphabets[Keys] === Value) {
                return Keys.toLowerCase();
            }
        }
    }
}
// GET DATA FROM ARRAY
</script>

Laser Animation

Locator Berechnung

http://www.thestorff.de/amateurfunk-locator.php

DMR

http://www.amateurfunk-winsen.de/index.php/funkpraxis/dmr/dmr-infos

AFU Formelsammlung

https://manfredhund.de/Projekte/AFU-rechner.php

http://www.thestorff.de/elektro-formeln.php#spannung

Sicherheitsabstand von Amateurfunkantennen, Fernfeldbetrachtung, Testversion!

http://www.thestorff.de/amateurfunk-emvu-abstand.php


JSON Repeater Karten

Repeaterbook.com

https://www.repeaterbook.com

https://www.repeaterbook.com/wiki/doku.php?id=api#sample_usages

API um Repeater von Deutschland zu exportieren

https://www.repeaterbook.com/api/exportROW.php?country=Germany

Radioid.net

https://www.radioid.net/database/api

API um Repeater zu exportieren

https://radioid.net/api/rptr/map/

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert