Text
https://github.com/donnemartin/system-design-primer
https://github.com/xingshaocheng/architect-awesome
2 notes
·
View notes
Text
Lsource
Source learn algorithms faster:
https://www.youtube.com/user/tusharroy2525/videos?view=0&sort=dd&shelf_id=3 -> 100 videos, 1 videos/day
https://www.youtube.com/user/petrmitrichev/videos -> 60 videos, 2h30/1video -> get 2x speed and 1 video/day on the bus.
https://www.youtube.com/channel/UC0RhatS1pyxInC00YKjjBqQ -> 400 vid, 20 min/1vid -> 2 vid/day
https://www.youtube.com/channel/UCBLr7ISa_YDy5qeATupf26w -> 33 ep, 1h40/ep -> 1 ep a day
https://www.youtube.com/channel/UCOf7UPMHBjAavgD0Qw5q5ww/videos -> mix tum lum thu
https://www.youtube.com/channel/UCMNkvKnD3mo3Jj9eTwJllWw/videos -> 90 vid
https://www.youtube.com/channel/UC1kBxkk2bcG78YBX7LMl9pQ/videos -> 180 vid
http://e-maxx.ru/algo/
Resolve it again ...
0 notes
Text
Doer to Knower
https://dev.to/shemthedev/i-m-a-doer-how-do-i-become-a-knower-kip/comments
- Make conversations, explain habit
- Say to yourself each line of code is doing, Blog it
- Different way? Which prefer ?
- Do more katas, exercises
- Go slow, not try to be effective. Slow is smooth, smooth is fast
0 notes
Text
Tối giản
- Công việc cần làm, ít nhất để tập trung hơn, sâu hơn :
+ Code software hiện tại
+ Code xong nghỉ giữa giờ lướt tìm hiểu:
1. dev.to
2. stackoverflow
3. github (read doc of popular project and scan or skim or dive into detail what is core of that project, what is important and also special, intelligence of developers)
Note lại những thứ đã tìm hiểu để Revise
Thời gian code xong hơi đuối có thể giải trí bằng cách:
+ Đọc sách nhanh hoặc luyện trí nhớ (30 phút)
+ Ghi nhớ lại sách hay, đi lại đường cũ
+ Tầm nhìn: Luyện tầm nhìn hệ thống nhỏ đến lớn, tầm nhìn business, làm ra hệ thống work cả trăm năm, effective in all aspects. Đặt câu hỏi và trả lời : Điều gì làm họ quyết định như vậy ? Điều gì làm họ suy nghĩ như vậy và động lực như vậy ? Đưa suy luận vào thực tiễn cuộc sống bản thân. Tầm nhìn quản lý, phát triển, bảo trì dự án.
- Done...!
0 notes
Text
Auto
5.- System:
+ Requirement:
1. Add your keyword to learn
2. Go to search from website that are popular and favourite by me,
3. some introduction about that web, ranking
4. AI text manipulation and analysis.
5. Presentation awesome.
+ eng skill and voca
+ Get news from dev.to, stack ex, stacov, cc, cf, feedspot, java site, quora, libg-> presentation daily in my android
+ Get news from github, doing thing with project and set schedule learning and send notification to gmail, accept or usesing,
0 notes
Text
IDE, Editor
- IDE sử dụng:
+ Netbeans
+ VS Code
+ Nano, Vim
- Nano: Ctrl W tìm kiếm, Ctrl X, copy chưa biết, paste chưa biết, move line chưa biết -> nên sử dụng vscode thay thế tạm thời trước khi tìm ra text editor mạnh.
- Tìm hiểu sâu:
+ VSCode: hotkey hay, tìm kiếm, tìm toàn project, find usage, hierachies, define point, debug, break point, run, plugins kết nối với các tool khác như git, jenkins, ci/cd, github, terminal trick, window organizing, project management (waterfall and agile, testing, automation, deploy), rsync file để edit 1 file nó nhảy qua edit file kia làm a/b test
- Terminal linux: cmd, những cmd line hay, sử dụng cheat sheet và rem
0 notes
Text
maven jump
- mình sẽ thử chuyển project sang maven, mục tiêu để:
+ sử dụng thư viện dễ hơn.
+ test nhiều thư viện vào chung.
+ CI/CD cũng dễ, việc code này kia k cần vào netbeans để cập nhật file jar khá là cồng kềnh.
+ ide ngon ko mới đc, thời gian tìm hiểu ngắn nhất mà giá trị lớn.
+ DO thôi nèo
0 notes
Text
Effective
- Requirement Gather and notes (Functional and non Functional) All and one
- System UML, System document
- New System UML, early document
- Code (Autocomplete, Tool Lombok, Snippet)
- Unit Test (Validate with Requirement), Generate test for all parameter? is there a lib in java?
- Load test, Performance test (JProfiler Premium, Netbeans profiler, cmd line java)
- Code doc -> Generate javadoc every day -> rsync to git
- Generate UML in eclipse, do not manual write.
- Manual deploy: build -> run test -> run script pass -> rsync to server -> test + script again -> performance (deploy 2 ver - old and new) -> compare perf -> note -> decision -> release.
- CI/CD Test Environment / Deployment
- Get Feed back from client (Message, Note one times to self doc update to zgit)
- Git Commit (6h - 12h - 3h - 6h)
- Kanban, Scrum (o365)
-> Guideline:
https://github.com/alibaba/Alibaba-Java-Coding-Guidelines#1-programming-specification
https://google.github.io/styleguide/javaguide
https://petroware.no/javastyle.html
Reference:
https://dev.to/edwardgunawan/how-to-maintain-clean-code-in-your-projects-22cb
Define Rules -> Write Code -> Use Static Code Checker -> Code Review -> Merge
0 notes
Text
Blog
Các topic blog:
- vọc maven và các lib để đời
+ Vọc cái gì:
1. Maven: Tạo project, add thư viện, chạy thư viện, run project, test project, cài plugin
Vì sao? vì cài lib dễ tự động down
2. Lib: Logger, Debug, Lombok, Viết code nhanh, review code (static và runtime), Profiler, đo performance, Unit test, intergrate test, Web test, Design pattern, best practice (alibaba, google), find bugs, smart bugs, lib hay khác như spring, spring boot, mockito ...
3. CI/CD tool như jenkins: chạy thử một server để code lên đó cho test và deploy
4.
0 notes
Text
Cff
Hôm nay sẽ giải quyết de cf45, cf46, xong xem solution. Chốt lại nhanh. Và dua ra heuristic cho sau này.
Ve nha dien thoai cho nha khoa td. Nau com an trong 40 phut. Nau com 20 ph. An com 10 phut. Tieu hoa, gym 10 phut.
0 notes
Text
Ngu ít. Thuc sớm 6h30 thuc bam dien thoai ma 6h50 moi bat day.
-- ky luat ...
-- bat dau code tiep
8h-9h 4 bai codef. Suy nghi loi giai
12h 2h xem nhung code hay. Kien thuc. Blog. Solutions.
18h 19h, 4 bai codef. Suy nghi loi giai
20h - 23h giai 2 de thi codef. Xem solution 2 de thi va note lai. Cuoi tuan suy nghi them. 🤔🤔🤔
23h30 di ngu thoi
0 notes
Text
Kỹ luật
1. Tín
2. Chí
3. Dung
4. Nang lượng
5. Dong luc
Kích thích nhiều giac quan...
0 notes
Text
Lập trình viên
1. Luôn học hỏi
2. Kỹ luật cao
3. Có tinh to chuc
4. Quan lý thời gian
5. Chiến lược gia
6. Macro và micro
7. Ghi chú
8. Ghi nhớ
9. Suy nghĩ nhanh
10. Tập trung
0. Dao duc. Loi sống tốt
12. Thu gian dau oc
....
7 Ghi chú bằng tumblr mỗi ngày 200 từ. Không cần so tay.
8 luyện ghi nhớ mỗi ngay 3 lần sáng trưa chiều công việc kiến thức
9suy nghĩ nhanh ve thuật toán không dứt ra cho tới khi sáng tỏ, rõ ràng, rành mạch toàn bộ flow,implement 10 tập trung
10 luôn hoc hỏi : github, producthunt, hackernews, feedspot.
4 quan lý thời gian bằng google lich nhắc nhở. Luôn sắp xếp thời gian cho cả tuần và dieu chinh mỗi ngày.
12 thu gian dau óc bằng tập gym, chơi game ít, code vui, dọc sách, yêu em, mua sắm ít . di ngắm cảnh. Tro chuyen voi moi nguoi trong club gym. mỗi ngay 1h thôi.
13 giu gin sức khỏe : tập thể dục chạy xe dap. Tập gym. Uống nước cam. Ngu sớm thuc sớm.
14 tự nhiên khiêm tốn hài hước trẻ trâu 👶
0 notes
Text
Docker
https://www.tutorialspoint.com/docker/
"To run Jenkins, you need to run the following command −
sudo docker run -p 8080:8080 -p 50000:50000 jenkins Note the following points about the above sudo command −
We are using the sudo command to ensure it runs with root access.
Here, jenkins is the name of the image we want to download from Docker hub and install on our Ubuntu machine.
-p is used to map the port number of the internal Docker image to our main Ubuntu server so that we can access the container accordingly." "sudo docker pull jenkins " "Step 5 − Now, go to the Ubuntu server and run the following command −
" "Step 4 − If you scroll down on the same page, you can see the Docker pull command. This will be used to download the Jenkins image onto the local Ubuntu server.
" "Step 3 − Next, let’s browse and find the Jenkins image.
" "Step 2 − Once you have signed up, you will be logged into Docker Hub." "Step 1 − First you need to do a simple sign-up on Docker hub."
----
"sudo docker inspect jenkins " "docker rmi ImageID" "Removing Docker Images The Docker images on the system can be removed via the docker rmi command. Let’s look at this command in more detail.
docker rmi" "The following syntax is used to run a command in a Docker container.
docker run image "
https://www.tutorialspoint.com/docker/docker_containers.htm
0 notes
Text
FFmpeg
http://keycorner.org/pub/text/doc/ffmpeg-tutorial.htm
"ffmpeg -i inputfile.avi -r 1 -f image2 image-%3d.jpeg
Now, let us see what all these different flags in the above command means.
-r This is used to set the frame rate of video. i.e. no. of frames to be extracted into images per second. The default value is 25, using which, would have yielded a large number of images. -f This option defines the format we want to force/use, although removing this option shouldn't cause any problem. image-%3d.jpeg By %3d, we mean that we want the naming of the image files to be of the format \"image-001.jpeg, image-002.jpeg..\" and so on. If we had used image-%2d the names would have been image-01.jpeg, image-02.jpeg. You can use any format as per your choice."
"ffmpeg -i inputfile.flv -sameq outputfile.mpeg"
"ffmpeg -i input.avi -b 200k output.avi"
"ffmpeg -i input.mp3 -b 128k output.ogg"
"ffmpeg -i input.fmt1 -t 30 output.fmt2"
"ffmpeg -i input.avi -sameq output.mpg"
"ffmpeg -i inputfile.fmt1 outputfile.fmt2"
"[shredder12]$ ffmpeg -i input.avi output.mpg"
0 notes