Tips and Traps¶
Type hints cheat sheet (Python 3) is a quick cheat sheet showing how the PEP 484 type annotation notation represents various common types in Python 3.
Notice that the annotation on List and Tuple are different.
List[T]
stands for a variable length list of elements with typeT
Poker Game in Casinos
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Vegas
Best place for gambling games in the US.
Washington
Max bet is 300 in non-tribals, 500 on tribal casinos. There is a 4-bet cap (3 raises) in both types of …
Operators in Different Programming Languages
Python | Bash | C/C++ | Java | Julia | |
---|---|---|---|---|---|
and | and | -a | && | && | && |
or | or | -o | || | || | || |
not | not | ! | ! | ! | ! |
bit and | & | & | & | & | & |
bit or | | | | | | | | | | |
bit not | ~ | ~ | ~ | ~ | ~ |
bit xor | ^ | ^ | ^ | ^ | ^ |
vector and | |||||
vector or | |||||
vector not | |||||
equals | == | -eq | == | == | == |
not equal | != | -ne | != | != | != |
greater than | > | -gt | > | > | > |
less than | < | -lt | < | < | < |
greater than or equal to | >= | -ge | >= | >= | >= |
less than or equal to … |
Gitignore Examples
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
- You can ignore files in the root directory only by prefixing a pattern with
/
. For example, if you want to ignore the file features.txt in the root …
Visual Studio Code for Java Development
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Java Development in Visual Studio Code
https://code.visualstudio.com/docs/languages/java
https://www.youtube.com/watch?v=RJIfsSmU9zk
https://iseif.dev/2019/06/05/vscode-as-java-ide/
https://github.com/redhat-developer …
Visual Studio Code for Kotlin Development
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Extensions
Other Potentially Useful Extensions
References
https://www.davideaversa.it/blog/kotlin-development-in-vscode/
https …