• Privacy Policy
Chia sẻ kiến thức công nghệ
  • Home
  • Lập trình
  • Chia sẻ
  • Blog
No Result
View All Result
  • Home
  • Lập trình
  • Chia sẻ
  • Blog
No Result
View All Result
Duy PT Blog
No Result
View All Result
Home Chia sẻ

Hướng dẫn reset trial cho các sản phẩm IntelliJ trên MacOS

Duy Solo by Duy Solo
September 24, 2021
in Chia sẻ
Reading Time: 2 mins read
A A
Share on FacebookShare on Twitter

Mở một cửa sổ terminal, sau đó gõ lệnh sau

$ cd ~
$ nano reset-trial.sh

Copy đoạn bash script bên dưới, sau đó paste vào cửa sổ terminal

#!/bin/bash

for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine Rider; do
  #force close product
  ps aux | grep -i MacOs/$product | cut -d " " -f 5 | xargs kill -9

  #removing evaluation key
  rm -rf ~/Library/Preferences/$product*/eval
  rm -rf ~/Library/Application\ Support/JetBrains/$product*/eval

  #removing all evlsprt properties in options.xml...
  sed -i '' '/evlsprt/d' ~/Library/Preferences/$product*/options/other.xml
  sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/$product*/options/other.xml

  echo
done

#removing additional plist files...
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist
rm -f ~/Library/Preferences/com.jetbrains.*.plist
rm -f ~/Library/Preferences/jetbrains.*.*.plist

#restarting cfprefsd
killall cfprefsd

echo
echo "Done!"

Để lưu lại file, bạn bấm Control + X nhé.

Để sử dụng, bạn mở terminal và chạy câu lệnh sau

$ sh ~/reset-trial.sh

Mỗi lần reset bạn sẽ có thêm 1 tháng dùng thử sản phẩm ^_^.

Kết

Cách reset trial này tuy không phải là hack, nhưng mình không khuyến khích các bạn sử dụng.

Chắc hẳn ai trong chúng ta cũng đều không muốn người khác xài chùa sản phẩm của mình đâu nè. Hãy cố gắng mua license sản phẩm bạn nhé ^_^.

Tags: ideintellijmacosphpstormreset trialreset trial datagripreset trial intellijreset trial phpstormreset trial webstormwebstorm

Related Posts

Cài đặt LEMP stacks trên CentOS 8
Blog

Cài đặt LEMP stacks trên CentOS 8

by Duy Solo
October 25, 2021
0

Bài hướng dẫn này sẽ hướng dẫn các bạn cài đặt LEMP stack (Linux - Nginx - MySQL - PHP)...

Read more
Blog

Áp dụng quy tắc IRAC trong công việc cho developers

by Duy Solo
August 29, 2021
0

IRAC (Issue - Rule - Analysis - Conclusion) là một phương pháp phổ biến và quen thuộc với sinh viên...

Read more
Chia sẻ

Làm thế nào để team member và khách hàng lắng nghe bạn?

by Duy Solo
August 28, 2021
0

Kỹ năng lập trình không phải là thứ quan trọng nhất. Ở bất cứ ngành nghề nào, giao tiếp giữa...

Read more
Chia sẻ

Phong cách thiết kế button

by Duy Solo
August 28, 2021
0

Button là một trong những yếu tố quan trọng trong thiết kế UI/UX. Button được thiết kế tốt sẽ thể...

Read more
Load More
Next Post

NestJS - Controllers

Các design pattern cần biết khi làm việc với NestJS

Discussion about this post

POPULAR POST

  • LocalStorage và Cookies – chọn cái nào để lưu JWT Tokens hiệu quả và an toàn?

    1066 shares
    Share 426 Tweet 267
  • Hướng dẫn reset trial cho các sản phẩm IntelliJ trên MacOS

    933 shares
    Share 373 Tweet 233
  • Repository Design Pattern và ứng dụng của nó trong Laravel

    919 shares
    Share 368 Tweet 230
  • Decorators trong Typescript

    848 shares
    Share 339 Tweet 212
  • Các thư viện Date Pickers tốt nhất cho React

    743 shares
    Share 297 Tweet 186
Duy PT Blog

© 2021 Duy PT Blog

Liên kết

  • Lập trình
  • Chia sẻ
  • Blog
  • Privacy Policy

Theo dõi

No Result
View All Result
  • Home

© 2021 Duy PT Blog