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
@mattes
mattes / check.go
Last active June 12, 2024 19:31
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
}
@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:

@onuryartasi
onuryartasi / colab_gpu.ipynb
Last active June 30, 2023 13:36
Google Colab Using GPU with Tensorflow version 1.0.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.