Skip to content

Instantly share code, notes, and snippets.

View CharlesOkwuagwu's full-sized avatar

Charles CharlesOkwuagwu

View GitHub Profile
@CharlesOkwuagwu
CharlesOkwuagwu / 2019-https-localhost.md
Created January 17, 2020 16:39 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@CharlesOkwuagwu
CharlesOkwuagwu / tailwind.config.js
Created May 29, 2019 09:56
Tailwind CSS config for current project
module.exports = {
theme: {
screens: {
sm: '1081px',
md: '1281px',
lg: '1441px',
xl: '1601px',
},
colors: {
'transparent': 'transparent',
@CharlesOkwuagwu
CharlesOkwuagwu / README.md
Last active August 14, 2018 14:40 — forked from kerryboyko/README.md
VueJS Best Practices Guide

Deverus Vue.js Style Guide

Guide for developing Vue.js applications.

v. 0.0.2

Section 1: The Basics

  • Prop definitions should be very detailed, including, if possible, 'type', 'required', and 'validator' information.
@CharlesOkwuagwu
CharlesOkwuagwu / index.html
Created April 7, 2018 16:59 — forked from jazzido/index.html
Webcam barcode reading (zbar, emscripten)
<!DOCTYPE html>
<html>
<head>
<title>JS in-browser barcode reader</title>
<style type="text/css">
body > div {
position: relative;
width: 320px; height: 240px;
}
video { position: absolute; top: 0; left: 0; width: 320px; height: 240px; }