See how a minor change to your commit message style can make a difference. Examples
<type>(<optional scope>): <subject>
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
case @obat | |
when "sering sakit" | |
"puasa sunnah" | |
when "wajah terlihat murung tidak bercahaya" | |
"shalat malam tahajud" | |
when "hati sempit" | |
"baca Al-Quran dan maknanya" | |
when "tidak bahagia" | |
"shalat diawal waktu" |
$ wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--domains website.org \ | |
--no-parent \ | |
www.website.org/tutorials/html/ |
var crypto = require("crypto"); | |
function encrypt(key, str) { | |
var hmac = crypto.createHmac("sha512", key); | |
var signed = hmac.update(new Buffer(str, 'utf-8')).digest("base64"); | |
return signed | |
} |
See how a minor change to your commit message style can make a difference. Examples
<type>(<optional scope>): <subject>
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/
is intended for code that can run as-issrc/
is intended for code that needs to be manipulated before it can be usedeach 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} | |
*/ |
'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; |
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