-
After installing mitmproxy run it (just type
mitmproxy
) in a terminal session and quit. This will create the necessaries certificates files at~/.mitmproxy
. -
Extract the certificate to
.crt
format:
openssl x509 -in ~/.mitmproxy/mitmproxy-ca.pem -inform PEM -out ca.crt
-
Trust the certificate into CA:
sudo trust anchor ca.crt
-
Run the
mitmproxy
again
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
const truthSeeking = (characteristics = ['He', 'Is', 'One'], aspectsOrCases = [true, true, true]) => { | |
const | |
aspectCovered = [], | |
characteristicCovered = []; | |
const iterate = (cases, storage) => {for (let i = 0; i < cases.length; i++) { | |
if(cases[i]) storage.push(cases[i]) | |
else iterate(cases); | |
}} |
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
{ | |
"SRFIdentifier": "SR_RTE", | |
"SRFVersion": "1.0.0", | |
"games": [{ | |
"name": "Supreme Ruler Ultimate", | |
"process": "SupremeRulerUltimate", | |
"versions": [{ | |
"version": "9, 2, 4", | |
"available": true | |
}], |
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
{ | |
"SRFIdentifier": "SR_RTE", | |
"SRFVersion": "1.0.0", | |
"games": [{ | |
"name": "Supreme Ruler Ultimate", | |
"process": "SupremeRulerUltimate", | |
"versions": [{ | |
"version": "9, 2, 4", | |
"available": true | |
}], |
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
<script> | |
// Initialize the object, | |
// var React, | |
// angular, | |
// Backbone, | |
// requirejs, | |
// Vue = {}; // Initialize an object | |
// Assign a version value |
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
'use strict'; | |
var defaultColors = [ '#000', '#D00', '#00CF12', '#C2CB00', '#3100CA', | |
'#E100C6', '#00CBCB', '#C7C7C7', '#686868', '#FF5959', '#00FF6B', | |
'#FAFF5C', '#775AFF', '#FF47FE', '#0FF', '#FFF' ]; | |
function term2html(text, options) { | |
options = options || {}; | |
var colors = options.colors || defaultColors; |
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
let neededData = { | |
ajza: [ | |
1, | |
149, | |
260, | |
386, | |
517, | |
641, | |
751, | |
900, |
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
each css class name is basically a color: #53533 coding | |
/** | |
* parse the tajweed text | |
* @param quranBy | |
* @param object verseObject {surah: 2, ayah: 4, verse: 'verse text here..'} | |
* @returns {String} | |
*/ |
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
import _ from 'lodash' | |
function diff(start, end) { | |
start = start.split(':'); | |
end = end.split(':'); | |
let startDate = new Date(0, 0, 0, start[0], start[1], 0); | |
let endDate = new Date(0, 0, 0, end[0], end[1], 0); | |
let diff = endDate.getTime() - startDate.getTime(); | |
let hours = Math.floor(diff / 1000 / 60 / 60); | |
diff -= hours * 1000 * 60 * 60; | |
let minutes = Math.floor(diff / 1000 / 60); |
NewerOlder