HLHoang Laminlam.hashnode.dev·Oct 13, 2022 · 2 min readLodash DebounceThe _.debounce() method of Function in lodash is used to create a debounced function that delays the given function until after the stated wait time in milliseconds has passed since the last time this debounced function was called. The debounced func...00
HLHoang Laminlam.hashnode.dev·Jun 12, 2021 · 2 min readMarkdown Cheat SheetA quick reference to the Markdown syntax. Overview. This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. Reference Markdown Cheat Sheet - Cheat Sheet MakerTables | Column 1 Heading | Column 2 Heading | | -------...00
HLHoang Laminlam.hashnode.dev·Jun 12, 2021 · 5 min readDplyr Cheat SheetReference Dplyr Cheat Sheet - Cheat Sheet Maker Syntax dplyr::tbl_df(iris) Converts data to tbl class. tbl’s are easier to examine than data frames. R displays only the data that fits onscreen: dplyr::glimpse(iris) Information dense summary of tbl ...00
HLHoang Laminlam.hashnode.dev·Jun 11, 2021 · 6 min readRegex Cheat SheetReference Regex Cheat Sheet - Cheat Sheet MakerOther Syntax SyntaxLegendExampleSample Match \KKeep Out Perl, PCRE (C, PHP, R…), Python's alternate regex engine, Ruby 2+: drop everything that was matched so far from the overall match to be returnedpr...00
HLHoang Laminlam.hashnode.dev·May 14, 2021 · 2 min readPython Cheat Sheet[File manipulation] Context manager with open("welcome.txt", "r") as file: # 'file' refers directly to "welcome.txt" data = file.read() # It closes the file automatically at the end of scope, no need for `file.close()`. [File manipulation] W...00