Skip to content

Instantly share code, notes, and snippets.

@thirdy
thirdy / IntelIJTrialReset.bat
Created August 13, 2018 10:10
How to Reset InteIIiJ IDEA Evaluation Key in Windows
cd "C:%HOMEPATH%\.IntelliJIdea*\config"
rmdir "eval" /s /q
del "options\options.xml"
reg delete "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\jetbrains\idea" /f
:: It is Highly Advised to Purchase the JetBrain Softwares
:: This is only for the case You just want to Extend the
:: Trial Period and Evaluate the IDE for some more Time
@thirdy
thirdy / interview-ideas.txt
Created May 10, 2019 09:06
Questions and Notes during Tech Job Interview
Whats the worst part of working here?
Answer:
if they say 'nothing' - then they are lying or not aware
Do your engineers write unit test?
Do you write unit test?
- Idea is to open up discussion about Unit Testing
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * *
@thirdy
thirdy / teamleading.md
Last active July 15, 2019 10:58
Notes on Team Leading in Tech

Team Leading

  1. Get to know members individually so they can easily communicate complex issues
  2. Regularly assess individual progress, provide guidance and coaching
  3. Clearly communicate goals and context
  4. Regularly inform management of progress and potential risk
  5. Shield team from feature creep and premature requirements
  6. Establish clear development process
  • All code committed must be code reviewed
  • Maintain reliable automated test suite and act as living documentation
@thirdy
thirdy / notion-custom-domain.js
Created September 12, 2019 02:14 — forked from mayneyao/notion2blog.js
notion.so custom domain
const MY_DOMAIN = "your domain"
const START_PAGE = "start page url"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
1. When getting an error. Google the error first before suspecting any other causes.
2. Do not git pull when you are independently working on another feature. Other changes might delay you, e.g. DB changes that needs extra setup.