Posts
customize broken links when publishing org files
I use org-roam to connect my notes/documents and it uses id to link them.org mode plot data and save to file
Properly plot data in [[id:6460f771-fc41-4b14-b7b0-a06416e628eb][org mode]] with version <= 9.6. I was doing it manually by plotting it and screenshot the plot.Org mode python code block with session does not return a failed result
The following fails in [[id:6460f771-fc41-4b14-b7b0-a06416e628eb][org mode]] but never tells you that it failed!Use AWS SES to receive and parse emails
Use [[id:076ee161-8194-4860-895e-e2346436cf7f][AWS SES]] to receive emails and save attachments to an [[id:de2a176e-3c76-475f-852f-325b3fdb4201][AWS S3]] bucket.From 0 to 1: How to build a full-stack application with ReactJS and amplify
Building an application is hard, and it's even harder when you try to build it to serve actual users who knows nothing about the app, instead of yourself who understands the app inside out.在 Emacs org mode 中进行文学编程 (Literate Programming with org mode in Emacs)
笔者自使用 Emacs 以来,最离不开的功能就是在 org mode 中进行文学编程,来做快速的数据分析以及文档撰写。孙子兵法
是故百战百胜,非善之善者也;不战而屈人之兵,善之善者也。年终总结
2022年在我的职业生涯里可能是非常不同寻常的一年,这一年我离职四次。Death
Death kills a man, but the idea of death can save him - [[https://en.wikipedia.org/wiki/E._M._Forster][E.M.Forster]].Emacs copy/delete/count/sort (matching) line functions
Collection of ways to manipulate lines based off regex. All of these functions/tips were compiled from the links in [[*Source][Source]].Intelligently select a node in Emacs with tree-sitter
Sometimes it's annoying having to manually select a variable name and copy it, especially when you deal with multiple languages.
Emacs reference manual read
Notes from reading [[https://www.gnu.org/software/emacs/manual/html_node/elisp/index.html][Emacs Lisp Reference Manual.]]AWS Solutions Architect Professional Exam
OK, today I started another course to get my Solutions Architect Professional certificate.
org-export-before-processing-hook
So we can use this code to insert some front matter before exporting org file to HTML, specifically for Jekyll.
pandas apply function to column to create multiple new columns
A trick to generate multiple columns from a function used in ~df.apply~.pandas convert booleans to integer (1 or 0)
Here's how to convert a series of booleans to 1 or 0 (integer) in Pandas.
pandas melt
1. "unpivot" a dataframe to a pseudo-series
Today I had to convert something like below:
567 Permutation in String
1. Description
Given two strings
s1
ands2
, returntrue
ifs2
contains a permutation ofs1
, orfalse
otherwise.3. Longest Substring Without Repeating Characters
Medium19. Remove Nth Node From End of List
This one I wasn't able to finish167 Two Sum II - Input Array is Sorted
167 Two Sum II - Input Array is Sorted283 Move Zeroes
I didn't know it was spelled "Zeroes"189 Rotate Array
Harder than meets the eye.977 Squares of a Sorted Array
Two pointers.35 Search Insert Position
Binary search is just tricky278 First Bad Version
Tricky...704 Binary Search
想了一个记忆口诀441 Arranging Coins
Math magic.Leetcode 20 Valid Parentheses
Figure out if parentheses are valid.List of my failures
Learn to fail, or fail to learn.Code highlighting in Jekyll
Took me a while to understand this.musics I like
A list of musics that I like(d)python shuffle string
Can't believe I never noted this down.pandas shuffle dataframe
In Pandas you can shuffle your DataFrame like below with
sample
.df = df.sample(frac=1)
AWS Solutions Architect Associate Exam 30 小时通关体验
30小时一次通关AWS SAA (Solutions Architect Associate) 考试经验分享。
CIDR (Classless Inter-Domain Routing)
Useful website: https://cidr.xyz/
Elastic Load Blancing
Elastic load balancing course notes.Blog with org mode
My rather twisted setup犯错
人是一定会犯错的政治的人生
政治的人生Atomic Habits
One of the best books in 2021 (2021年读过的最好的书之一)How to generate random uuid in Emacs
How to generate random uuid in Emacspost process results from async call from EIN
A quick hack.The Road to Serfdom (Reader's Digest Condensed version)
Where are we going?《如何阅读一本书》读书笔记
《如何阅读一本书》读书笔记Leetcode challenges
Old Leetcode challenges that I did.subscribe via RSS