Skip to content

Instantly share code, notes, and snippets.

View diziaq's full-sized avatar
⚜️
do more with less

diziaq diziaq

⚜️
do more with less
View GitHub Profile
@diziaq
diziaq / SmartGit Trial
Created October 14, 2025 08:58 — forked from thanhtam92/SmartGit Trial
Changing SmartGit Free Trial License to Non-Commercial
Changing SmartGit Free Trial License to Non-Commercial
Some developers might overlook the license selection when using the SmartGit. Instead of choose non-commercial, they by default clicked Next on the “30 days Free Trial”. Worse thing is reinstall the SmartGit won’t get you to change the license.
To alter the license. First, go to
Windows: %APPDATA%\syntevo\SmartGit\<main-smartgit-version>
OS X: ~/Library/Preferences/SmartGit/<main-smartgit-version>
Unix/Linux: ~/.smartgit/<main-smartgit-version>
@diziaq
diziaq / Parser.java
Last active August 6, 2022 15:40
Code review sample
/**
* This class is thread safe.
*/
public class Parser {
private File file;
public synchronized void setFile(File f) {
file = f;
}
public synchronized File getFile() {
return file;