Skip to main content

Tip, trick, mini software


Mini tools.
Some software is really impressed to me. It's so convenience, stable and FREE.

NOTEPAD++ Free editor
1. How to insert date and time to notepad plus plus like notepad by press F5.
(Thêm thông tin thời gian vào file text)
Step 1: Select Plugin Manager then click on ‘Show Plugin Manager’In the ‘Available’ tab select ‘TextFX Characters’ and click the Install button at the bottom
Restart Notepad++

Step 2: Click on ‘Shortcut Mapper’
Click on the ‘Plugin Commands’ tab
Scroll down to line 162, You should see ‘I:Date & Time – short format’
Select it and click the ‘Modify’ button at the bottom
In the popup window you can configure the shortcut you want to insert the data & time
Click OK.

Example: I set Ctr+F5 to insert short date time like that: 9:36 AM 5/5/2013
2. Select paragraph in rectangular 
(Bôi đen 1 đoạn văn bản theo 1 hình chữ nhật, giống chức năng Mark của MS-DOS)
Step x: Ctrl + Alt + Drag left mouse.
Example:
Drag left mouse
Ctrl + Alt + Drag left mouse
3. Search for multiple keyword
(Tìm kiếm nhiều keyword trong 1 file)
Step x: Ctrl +F
Type your words. For below example: I find "cat" and "bird". So that, Use this regex bird|card and make sure you enabled the "regular expression" radio button.
If you want mark your keyword. You just click Mark tab.

Other interesting function:
http://techbrij.com/10-notepad-tips-tricks-fast-development

STICKIES Note everything what you want :D
Phần mềm này hỗ trợ việc take note trên PC. Rất đơn giản, bạn chỉ cần copy 1 đoạn text, hoặc 1 cái picture, ở đâu đó, rồi ấn tổ hợp phím Ctrl + Alt + S. Thế là bạn có 1 cái note mới. Tất nhiên, còn 1 số tính năng khá hay khác nữa, các bạn tự khám phá nhé. (Ví dụ như backup lại cấu hình đã thiết lập, chia sẻ note cho bạn bè....)
1. Take note from clipboard
Step1: Ctrl + C your clipboard (like as picture, text, whatever...)
Step2: By default, create new stickies from your clipboard by press Ctrl + Alt + S 
For example:
Clipboard is picture
Clipboard is text
2. Other functions (back-up, sharing, retore configuration)
You can set up many other function by press right mouse in Stickies Icon what is always placed on task bar

Web hỗ trợ những thao tác tính toán bít, chuyển đổi giữa các đơn vị đo
Ví dụ: Thao tác dịch bít (Bit shift)
http://www.miniwebtool.com/bitwise-calculator/bit-shift/?data_type=10&number=3&place=6&operator=Shift+Left
Code for fun

1. C/C++ short paragraph
a. How to convert from byte array to float number?
(Cách chuyển 1 mảng byte thành 1 số float)
Assume, you have 4 bytes array like that:
[0x0] 0x67 'g' unsigned char
[0x1] 0xab '«' unsigned char
[0x2] 0xa7 '§' unsigned char
[0x3] 0x41 'A' unsigned char
and you want convert them to float number. This is simple solution:
typedef union test
02{
03   unsigned char buf[4];
04   float number;
05}test;
06
07test.buf[0] = 0x67;
08test.buf[1] = 0xAB;
09test.buf[2] = 0xA7;
10test.buf[3] = 0x41;
11
12printf("%f\n",test.number);
Result is: 20.958693

Comments

Popular posts from this blog

[STM32] How to configure Timer 1, Channel 3 is PWM 1kHz, duty cycle 20% to control BLDC motor

 To configure Timer1 for a 1 kHz PWM signal with a 20% duty cycle on an STM32H7S3L8 microcontroller, follow these steps: 1. Understand the Timer Parameters PWM Frequency : 1 kHz → Period = 1 ms. Duty Cycle : 20% → ON time = 0.2 ms. The timer’s clock frequency is derived from the APB clock (e.g., TIMCLK). Let’s assume you know the APB clock frequency. The Timer prescaler and auto-reload register (ARR) define the PWM frequency. 2. Compute Timer Parameters Formula: PWM Frequency = Timer Clock (Prescaler + 1) * (ARR + 1) \text{PWM Frequency} = \frac{\text{Timer Clock}}{\text{(Prescaler + 1) * (ARR + 1)}} PWM Frequency = (Prescaler + 1) * (ARR + 1) Timer Clock ​ For 1 kHz PWM: A R R = Timer Clock PWM Frequency ∗ ( Prescaler + 1) − 1 ARR = \frac{\text{Timer Clock}}{\text{PWM Frequency} * (\text{Prescaler + 1)}} - 1 A RR = PWM Frequency ∗ ( Prescaler + 1) Timer Clock ​ −...

[CanadaLife] Example of answers for final test in Smart Service Ontario 2024

If you have failed the final exam in the first attempt. Congratulations, you are not odd. Here, take a look and grab some corrected answers for your next attempt.  Don't waste your money and time for more failure.  Good luck bros. Quick note: remember that, the system will change the bunch of questions after each attempt. Then your next questionnaire will be different compared with the first trial. ========================================== =============FINAL TEST=================== ========================================== TIP: Here is a list of questions you did not answer correctly. *Please note: You will only be able to view this list immediately following your test attempt. ========================================== Alcohol slows down the central nervous system and impacts how a person thinks, acts, and moves. This means alcohol is a: depressant ========================================== Alcohol is metabolized in the body at a set rate. For most people, that rate is: one...

How to use ChatGPT to get your resume shortlisted?

How to use ChatGPT to get your resume shortlisted? Core steps: Chat GPT -> Resume Creator -> LinkedIn(Copy the job description to ChatGPT) -> Add your personal information -> Copy output from ChatGPT to Instaresume.io to make the template -> Goto SkillSyncer to check ATS(Applicant Tracking Software) score, point out the missing keywords. Detail ☑️In my pursuit of job #opportunities, I encountered a familiar challenge - my resume seemingly disappeared into oblivion, yielding no responses despite my diverse skill set and numerous applications. ☑️As I delved into my research, I uncovered the existence of ATS software, the automated gatekeeper of #resumes, which swiftly filtered out those lacking relevant keywords. ☑️The outcome? Not just one #company, but over a dozen organizations recognized the potential in my resume, resulting in multiple shortlists and promising #job prospects! 💻If you want to supercharge your resume and unlock countless opportunities, don't miss o...