Skip to content

Instantly share code, notes, and snippets.

View dangdungcntt's full-sized avatar
🇻🇳
Online

Nguyễn Đăng Dũng dangdungcntt

🇻🇳
Online
View GitHub Profile
@dangdungcntt
dangdungcntt / embedded-file-viewer.md
Created October 17, 2022 14:28 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@dangdungcntt
dangdungcntt / cookie_flags.conf
Created May 6, 2021 05:52 — forked from nginx-gists/cookie_flags.conf
Announcing NGINX Plus R24
@dangdungcntt
dangdungcntt / Trie.js
Created September 2, 2020 00:13 — forked from tpae/Trie.js
Trie.js - super simple JavaScript implementation
// Trie.js - super simple JS implementation
// https://en.wikipedia.org/wiki/Trie
// -----------------------------------------
// we start with the TrieNode
function TrieNode(key) {
// the "key" value will be the character in sequence
this.key = key;