Skip to content

Instantly share code, notes, and snippets.

View duymon178's full-sized avatar
🏠
Working from home

Duy Tran duymon178

🏠
Working from home
View GitHub Profile
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 22, 2025 04:18
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@staltz
staltz / introrx.md
Last active July 22, 2025 08:36
The introduction to Reactive Programming you've been missing
@BjornFridal
BjornFridal / gist:a1fac50d99d7aff40cc8
Last active November 8, 2021 17:35
Adding css classes to paragraph tag (no spans!) in RTE/TinyMCE in Umbraco v.7+
// In \Umbraco\Js\umbraco.controllers.js find this code (line 5429-5432 in version 7.1.3):
else if (rule.selector[0] == "#") {
r.inline = "span";
r.attributes = { id: rule.selector.substring(1) };
}
// directly after, add this:
else if (rule.selector.indexOf("p.") == 0) {
r.classes = rule.selector.substring(2);
r.block = 'p';