Skip to content

Instantly share code, notes, and snippets.

APerfectCircle thirdy

Block or report user

Report or block thirdy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View notion-custom-domain.js
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",
@thirdy
thirdy / teamleading.md
Last active Jul 15, 2019
Notes on Team Leading in Tech
View teamleading.md

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
View spiral.txt
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * *
@thirdy
thirdy / interview-ideas.txt
Created May 10, 2019
Questions and Notes during Tech Job Interview
View interview-ideas.txt
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 / IntelIJTrialReset.bat
Created Aug 13, 2018
How to Reset InteIIiJ IDEA Evaluation Key in Windows
View IntelIJTrialReset.bat
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
View f1-as-click.au3
; Bind F1 to a single Mouse Click
; This is my first AutoIt script
; Motivation for this script is to ease pressure to my right index finger
; License - GPLv3
#include <AutoItConstants.au3>
HotKeySet("{F1}", "MouseSingleClick")
While 1
View Productivity.txt
https://superuser.com/questions/468580/create-application-shortcut-chromes-feature-in-firefox
@thirdy
thirdy / readinglist.md
Last active Oct 27, 2017
List of materials read or being read
View readinglist.md

Materials being read in progress are noted, otherwise finished reading.

Blog

  1. Just Say No to More End-to-End Tests - https://testing.googleblog.com/2015/04/just-say-no-to-more-end-to-end-tests.html
  • Note on Java exceptions: One sure way to help in easily understanding problems is to have a well designed exception mechanism. You do not want generic exceptions like RuntimeException. You do not want badly wrapped exceptions - I've seen a string manipulation method that throws HttpInternalServerException. Ideally you need an exception stack trace that provides you context and a consistent way of reading them. And most important of all, you do not want exceptions getting lost somewhere. A big problem with a codebase that is already using badly designed exception is that it can be a risky change since it will probabably affect most of the existing code - imagine an exception class that is written in an xml config.
  • Note on the [linked sample source code](https://github.com/google/guava/blob/master/gu
@thirdy
thirdy / cph-bookmarklet.js
Last active May 29, 2017
Bookmarklet for assisting buy and sell decisions in coins.ph
View cph-bookmarklet.js
/* Copyright 2017 Vicente de Rivera III
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@thirdy
thirdy / free-software-notes.txt
Last active Feb 24, 2017
My notes on my brown bag talk about Free Software
View free-software-notes.txt
Buying a product and the right to know about it
* Pencil - lead
* A pet Dog
* Siopao
* Painting
* House
* Book
Copyright
* a legal right created by the law of a country that grants the creator of an original work exclusive rights for its use and distribution
You can’t perform that action at this time.