Skip to content

Instantly share code, notes, and snippets.

View HORKimhab's full-sized avatar

HORKimhab HORKimhab

View GitHub Profile

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@HORKimhab
HORKimhab / Sync_Async_loading_handlebars.js
Created January 26, 2021 06:57 — forked from utsengar/Sync_Async_loading_handlebars.js
synchronous and asynchronous loading of handlebars templates
/*
* This decorates Handlebars.js with the ability to load
* templates from an external source, with light caching.
*
* To render a template, pass a closure that will receive the
* template as a function parameter, eg,
* T.render('templateName', function(t) {
* $('#somediv').html( t() );
* });
* Source: https://github.com/wycats/handlebars.js/issues/82
import contextlib
import ctypes
import ctypes.wintypes
import io
import json
import os
import re
import socket
import socketserver
import threading
@HORKimhab
HORKimhab / php_crash_course.md
Last active October 27, 2021 15:23
PHP Crash Course

PHP Crash Course

+ ព័ត៌មានទូទៅ (General Information)

  • រៀនតាម Online
  • ម៉ោងសិក្សា 7:10pm-8:10pm
  • តម្លៃសិក្សា 99$
  • ចូលរៀនថ្ងៃទី 9-11-2021
  • មេរៀនភាគច្រើនចេញពី w3school ឬ w3resource
  • រយៈពេលសិក្សា ២ខែ និង Support ការធ្វើ Project (E-Ecomerce)(១ខែ)
  • រៀនបានមួយជីវិត (Life time access with video)
<?php
/* Require file config */
require_once('../resources/config.php');
/* Include file headers */
include(Templates_Front . DS . 'headers.php');
?>
<body>
@HORKimhab
HORKimhab / Upgrade ERPNext V-11 to V-12.md
Last active December 6, 2021 07:39
production-setup

If there no installed git Install or Update to Last Version Git

  • sudo add-apt-repository -y ppa:git-core/ppa

  • sudo apt-get update

  • sudo apt-get install git -y

  • su {user_name}

  • enter password

  • cd {user_name}

  • cd {folder_frappe}

{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"