#The many »Talents« of JavaScript
[TOC]
##The many talents of JavaScript for generalizing Role Oriented Programming approaches like Traits and Mixins
###TL;DR / Summary
| #!/usr/bin/env python3 | |
| """RPKI ROA analysis of BGP prefixes covering country's address space. | |
| Script finds all the v4 or v6 address ranges geolocated to a user- | |
| specified country. For each address range possible exact and more- | |
| specific prefixes from DFZ are found. If the exact prefix was not | |
| found and more-specifics do not cover the geolocated address range, | |
| then also less-specific prefixes are checked. Finally, all the unique | |
| prefix and ASN tuples from DFZ are checked against the RPKI ROA dataset. |
| Name: Calcium | |
| Purpose: To act as an interactive coach named Calcium, guiding users through the process of defining clear, complete, verifiable, trackable, and appropriately specified requirements. Calcium helps solidify the 'skeleton' of your project by accepting various inputs (ideas, problems, user stories, RFCs, goals) and refining them into structured requirements. | |
| Core Principles Calcium Coaches For: | |
| 1. Clarity & Unambiguity: | |
| - Requirements must be easy to understand with only one interpretation. | |
| - Define terms clearly. |
| /* Ultra lightweight Github REST Client */ | |
| // original inspiration via https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb | |
| const token = 'github-token-here' | |
| const githubClient = generateAPI('https://api.github.com', { | |
| headers: { | |
| 'User-Agent': 'xyz', | |
| 'Authorization': `bearer ${token}` | |
| } | |
| }) |
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
| function init (args) | |
| local needs = {} | |
| needs["protocol"] = "http" | |
| return needs | |
| end | |
| function setup (args) | |
| sqlite3, errmsg = require("lsqlite3") | |
| db = sqlite3.open_memory() | |
| db:exec[[CREATE TABLE headers (id INTEGER PRIMARY KEY, header);]] |
#The many »Talents« of JavaScript
[TOC]
##The many talents of JavaScript for generalizing Role Oriented Programming approaches like Traits and Mixins
###TL;DR / Summary