The JSON data is in the following format
{
"Genesis": {
"1": {
"1": "In the beginning..." ,
"2": "..."
| """ | |
| This snippet shows how to listen for the SIGTERM signal on Unix and execute a | |
| simple function open receiving it. | |
| To test it out, uncomment the pid code and kill the process with: | |
| $ kill -15 pid | |
| """ | |
| import signal | |
| import sys |
| // Source: http://www.1stclassmedia.co.uk/developers/clean-ms-word-formatting.php | |
| function CleanWordHTML( str ) | |
| { | |
| str = str.replace(/<o:p>\s*<\/o:p>/g, "") ; | |
| str = str.replace(/<o:p>.*?<\/o:p>/g, " ") ; | |
| str = str.replace( /\s*mso-[^:]+:[^;"]+;?/gi, "" ) ; | |
| str = str.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, "" ) ; | |
| str = str.replace( /\s*MARGIN: 0cm 0cm 0pt\s*"/gi, "\"" ) ; | |
| str = str.replace( /\s*TEXT-INDENT: 0cm\s*;/gi, "" ) ; |
| books = [ | |
| "Genesis", | |
| "Exodus", | |
| "Leviticus", | |
| "Numbers", | |
| "Deuteronomy", | |
| "Joshua", | |
| "Judges", | |
| "Ruth", | |
| "1 Samuel", |
| Word | Explanation | |
|---|---|---|
| Adria | the Adriatic sea. | |
| After this manner | in this way. | |
| Alleluia | praise the LORD. | |
| Anathema | under a curse. | |
| Away with | take away. | |
| Away with him | take him away. | |
| Barbarian | foreigner. | |
| Barbarians | foreigners. | |
| Bishop | overseer. |
| [ | |
| { | |
| "name": "Matthew", | |
| "entries": [ | |
| { | |
| "chapter": "1", | |
| "verse": "7", | |
| "text": "‘Asa’ is changed to ‘Asaph’ [often this error is printed in the margin rather than in the text]", | |
| "is_serious": false | |
| }, |
| # -*- coding: utf-8 -*- | |
| """ | |
| Idle-Fingers Colorscheme | |
| ~~~~~~~~~~~~~~~~~~~~~~~~ | |
| Converted by Vim Colorscheme Converter | |
| """ | |
| from pygments.style import Style | |
| from pygments.token import Token, Comment, Name, Keyword, Generic, Number, Operator, String |
Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos is the number of positive votes, n is the total number of votes.
| git clone https://github.com/openshift/machine-api-operator.git | |
| cd machine-api-operator/ | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_00_namespace.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_01_images.configmap.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_02_machine.crd.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_03_machineset.crd.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_04_machinedeployment.crd.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_05_cluster.crd.yaml | |
| oc --as system:admin apply -f install/0000_30_machine-api-operator_06_machineclass.crd.yaml |
| { | |
| "apiVersion": "v1", | |
| "items": [ | |
| { | |
| "apiVersion": "metalkube.org/v1alpha1", | |
| "kind": "BareMetalHost", | |
| "metadata": { | |
| "annotations": { | |
| "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"metalkube.org/v1alpha1\",\"kind\":\"BareMetalHost\",\"metadata\":{\"annotations\":{},\"name\":\"example-baremetalhost\",\"namespace\":\"bmo-project\"},\"spec\":{\"bmc\":{\"credentialsName\":\"bmc1-secret\",\"ip\":\"192.168.100.100\"},\"online\":true}}\n" | |
| }, |