Skip to content

Instantly share code, notes, and snippets.

View berkanuslu's full-sized avatar
💭
(+[](){})();

Berkan Uslu berkanuslu

💭
(+[](){})();
View GitHub Profile
@johnmcfarlane
johnmcfarlane / begin(C++).md
Last active April 10, 2025 01:06
Resources for C++ beginners
@mbinna
mbinna / effective_modern_cmake.md
Last active April 25, 2025 22:01
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@hasantayyar
hasantayyar / install-theano.sh
Last active September 5, 2019 15:25
install theano
$ sudo apt-get update && sudo apt-get install -y \
build-essential \
git \
libopenblas-dev python-dev python-pip \
python-nose python-numpy python-scipy
# or `sudo pip install ...`
$ pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
@drewsberry
drewsberry / UE4-build.bat
Last active October 31, 2024 17:01
UE4 Windows command line building
:: Build client
RunUAT BuildCookRun -project="full_path.uproject"^
-noP4 -platform=Win64^
-clientconfig=Development -serverconfig=Development^
-cook -allmaps -build -stage^
-pak -archive -archivedirectory="Output Directory"
:: Cook client
RunUAT BuildCookRun -project="full_project_path_and_project_name".uproject^
-noP4 -platform=Win64^
@sergiotapia
sergiotapia / md5-example.go
Last active March 31, 2025 17:28
Golang - How to hash a string using MD5.
import (
"crypto/md5"
"encoding/hex"
)
func GetMD5Hash(text string) string {
hasher := md5.New()
hasher.Write([]byte(text))
return hex.EncodeToString(hasher.Sum(nil))
}