Skip to content

Instantly share code, notes, and snippets.

View tranlehaiquan's full-sized avatar
🎏
working for new PR

Q.Tran tranlehaiquan

🎏
working for new PR
  • Viet Nam
  • 12:21 (UTC +07:00)
View GitHub Profile
@tranlehaiquan
tranlehaiquan / iterm2-solarized.md
Created July 26, 2023 09:34 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@tranlehaiquan
tranlehaiquan / Link.tsx
Created May 10, 2020 17:16
integrate Link react router to material ui Link
@tranlehaiquan
tranlehaiquan / cta.kml
Last active August 14, 2021 12:29
cta.kml
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="gadm36_VNM_3" id="gadm36_VNM_3">
<SimpleField name="NAME_0" type="string"></SimpleField>
<SimpleField name="NAME_1" type="string"></SimpleField>
<SimpleField name="NAME_2" type="string"></SimpleField>
<SimpleField name="NAME_3" type="string"></SimpleField>
</Schema>
<Folder><name>gadm36_VNM_3</name>
console.log('justATest js was import');
@tranlehaiquan
tranlehaiquan / getScrollBarWidth.js
Last active April 21, 2018 06:34
Get scroll bar width
// function from
// https://evilmartians.com/chronicles/scroll-to-the-future-modern-javascript-css-scrolling-implementations
function getScrollBarWidth() {
const outer = document.createElement('div');
const inner = document.createElement('div');
outer.style.overflow = 'scroll';
outer.appendChild(inner);
document.body.appendChild(outer);