Skip to content

Instantly share code, notes, and snippets.

kongondo /
Created Mar 8, 2021 — forked from keeferrourke/
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
# Written by: Keefer Rourke <>
# Based on AUR package <>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git

Install Google Fonts

Download desired fonts

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/

kongondo / TipTapComponent.vue
Created Jan 22, 2021 — forked from zachjharris/TipTapComponent.vue
Resizable images using TipTap Editor
View TipTapComponent.vue
<div class="tiptap-content">
<editor-content :editor="editor" />
import {
kongondo /
Created Nov 13, 2020 — forked from julienbourdeau/
The seven rules of a great git commit message


  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line
  6. Wrap the body at 72 characters
  7. Use the body to explain what and why vs. how

Config Apache with /etc/apache2/conf-available/le.conf:

Alias /.well-known/acme-challenge/ "/var/www/html/.well-known/acme-challenge/"
<Directory "/var/www/html/">
    AllowOverride None
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Require method GET POST OPTIONS
kongondo / .gitignore
Created Oct 18, 2020 — forked from hieblmedia/.gitignore
Gitignore - Exclude all except specific subdirectory
View .gitignore
# If all files excluded and you will include only specific sub-directories
# the parent path must matched before.
# Un-ignore the affected subdirectory
View validate-hex-color.js
* Validates hex value
* @param {String} color hex color value
* @return {Boolean}
function isValidHex(color) {
if(!color || typeof color !== 'string') return false;
// Validate hex values
if(color.substring(0, 1) === '#') color = color.substring(1);
View CKEditor.vue
<!-- Based on -->
<div class="ckeditor">
<textarea :id="id" :value="value"></textarea>
<style scoped>
.ckeditor {
kongondo / currency_list
Created Jan 13, 2020 — forked from champsupertramp/currency_list
World Currency list in PHP Array
View currency_list
array (
'ALL' => 'Albania Lek',
'AFN' => 'Afghanistan Afghani',
'ARS' => 'Argentina Peso',
'AWG' => 'Aruba Guilder',
'AUD' => 'Australia Dollar',
'AZN' => 'Azerbaijan New Manat',
'BSD' => 'Bahamas Dollar',
'BBD' => 'Barbados Dollar',
'BDT' => 'Bangladeshi taka',
kongondo / menu-builder-getmenuitems-show-more.php
Last active Dec 17, 2019
Example Menu Builder 'Show More' Recursive Menu
View menu-builder-getmenuitems-show-more.php
* Builds a nested list (menu items) of a single menu.
* A recursive function to display nested list of menu items.
* @param integer $parent ID of menu item to start build.
* @param WireArray $menu WireArray Object of menu items to display.
* @param integer $first Helper variable to designate first menu item and <ul></ul>.