Skip to content

Instantly share code, notes, and snippets.

View slavikdev's full-sized avatar
🇺🇦
Donate to protect Europe: https://u24.gov.ua

Slavik Shynkarenko slavikdev

🇺🇦
Donate to protect Europe: https://u24.gov.ua
View GitHub Profile
@onuryartasi
onuryartasi / colab_gpu.ipynb
Last active June 30, 2023 13:36
Google Colab Using GPU with Tensorflow version 1.0.0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aalhour
aalhour / README.md
Last active March 9, 2018 09:19
BrainFuck Interpreter and REPL in Python 3

PBFI: Pythonic BrainFuck Interpreter

Yet another educational interpreter for the BrainFuck Programming Language, written in Python 3. This might not be the shortest BrainFuck interpreter that you had come acorss, however the style of programming is for educational purposes only.

USAGE:

Help:

@mattes
mattes / check.go
Last active May 3, 2024 22:20
Check if file or directory exists in Golang
if _, err := os.Stat("/path/to/whatever"); os.IsNotExist(err) {
// path/to/whatever does not exist
}
if _, err := os.Stat("/path/to/whatever"); !os.IsNotExist(err) {
// path/to/whatever exists
}