Skip to content

Instantly share code, notes, and snippets.

View olesgedz's full-sized avatar
⁉️
Nani!?

Oles olesgedz

⁉️
Nani!?
View GitHub Profile
#pragma once
#include <random>
#include <vector>
#include "../Models/Move.h"
#include "Board.h"
#include "Config.h"
const int INF = 1e9;
@olesgedz
olesgedz / multiple_ssh_setting.md
Created March 26, 2024 12:56 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@olesgedz
olesgedz / private_fork.md
Created March 26, 2024 12:15 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

# Chocolatey profile
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/agnoster.omp.json" | Invoke-Expression
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
Import-Module scoop-completion
Import-Module PSColor
Import-Module Terminal-Icons
@olesgedz
olesgedz / .gitignore
Created March 30, 2022 14:09 — forked from Yousha/.gitignore
.gitignore for C/C++ developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@olesgedz
olesgedz / emu
Last active December 26, 2021 15:10
- Huge topic & and it depends on what you want to do, but as an a general resource I've heard good things about https://beginners.re/ (older but free mirror: https://mirrors.ocf.berkeley.edu/parrot/misc/openbooks/programming/ReverseEngineeringForBeginners.en.pdf)
- In emulation, RE-ing is often needed for system BIOSes, operating systems, drivers, OS modules and games to aid in understanding of what the hardware does & emulate it properly when the documentation is insufficient or incomplete (ie. always).
- These videos from LiveOverflow & stacksmashing are a fun introduction to some fundamental concepts: https://www.youtube.com/playlist?list=PLniOzp3l9V82onKsktyyKlIenAAUj45Mk
- For static analysis, the industry standard tool is Ghidra https://ghidra-sre.org/. There are loaders/extensions for pretty much all consoles/processors, search for them.
- Sidenote: An alternative and also industry-standard tool (more on the enterprise side) is IDA Pro/HexRays https://www.hex-rays.com/ida-pro. I don't personally r
Coding Minecraft in One Week - C++/OpenGL Programming Challenge
https://youtu.be/Xq3isov6mZ8
I Made Minecraft in 24 Hours
https://youtu.be/Nj8gt_92c-M
Creating Minecraft in C++/ OpenGL - Part One
https://youtu.be/GACpZp8oquU
Minecraft in Unity 3D [Flashing Images] - One-Week Programming Challenge
https://www.youtube.com/watch?v=qdwUkYrHosk&feature=youtu.be
https://www.bfilipek.com/2014/01/simple-water-simulation.html
https://github.com/saeedmahani/SPH-3D-Fluid-Simulation
http://graphics.berkeley.edu/papers/Obrien-DSS-1995-04/Obrien-DSS-1995-04.pdf
https://nccastaff.bournemouth.ac.uk/jmacey/MastersProjects/MSc06/index.html
https://www.youtube.com/watch?v=O-52enqUSNw
https://www.youtube.com/watch?v=dH1s49-lrBk
https://www.youtube.com/watch?v=CAdufp1NCFQ
https://www.mikeash.com/pyblog/fluid-simulation-for-dummies.html
-->https://doc.magnum.graphics/magnum/examples-fluidsimulation3d.html
https://www.bfilipek.com/2014/01/simple-water-simulation.html
https://github.com/saeedmahani/SPH-3D-Fluid-Simulation
http://graphics.berkeley.edu/papers/Obrien-DSS-1995-04/Obrien-DSS-1995-04.pdf
https://nccastaff.bournemouth.ac.uk/jmacey/MastersProjects/MSc06/index.html
https://www.youtube.com/watch?v=O-52enqUSNw
https://www.youtube.com/watch?v=dH1s49-lrBk
https://www.youtube.com/watch?v=CAdufp1NCFQ
https://www.mikeash.com/pyblog/fluid-simulation-for-dummies.html
-->https://doc.magnum.graphics/magnum/examples-fluidsimulation3d.html
{
"Ansi 6 Color" : {
"Red Component" : 0.1647058823529412,
"Color Space" : "sRGB",
"Blue Component" : 0.596078431372549,
"Green Component" : 0.6313725490196078
},
"Tags" : [
],