This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# init git repo | |
git init | |
# start git ignore | |
touch .gitignore | |
# clone repo | |
git clone <remote-repo-link> <local-repo-folder-name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mount annonymous smb share | |
mount -t cifs //<your shareserver name or ip>/sharefolder -o username=guest,password="" /path_to_mountpoint | |
# access annonymous smb share | |
smbclient //host/share -U " "%" " | |
smbclient //host/share -U guest% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### https://www.gitignore.io/ ### | |
## git config --global core.excludesfile ~/.gitignore_global ## | |
# LaTeX | |
*.aux | |
*.synctex.gz | |
*.gz | |
*.log | |
*.toc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("------") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for each loop | |
var a = ["a", "b", "c"]; | |
a.forEach(function(entry) { | |
console.log(entry); | |
return true; // works like break | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.14) | |
project(ProjectName) | |
set(CMAKE_CXX_STANDARD 14) | |
include_directories(OpenGL) | |
include_directories(OpenGL/include) # OpenGL/include has to contain the required OpenGL's .h files | |
include_directories(OpenGL/lib) # OpenGL/lib has to contain the required OpenGL's .lib files | |
# glut32.dll must be present in "project-directory/OpenGL/dll/" | |
add_custom_target(glutdlllib |
NewerOlder