Skip to content

Instantly share code, notes, and snippets.

@pemd-sys
pemd-sys / private_fork.md
Created December 6, 2022 21:55 — 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 git@github.com:usi-systems/easytrace.git

@pemd-sys
pemd-sys / excel.md
Created November 28, 2021 11:59
Recovering Lost Excel Sheet Passwords
@pemd-sys
pemd-sys / javaJcuda.md
Last active October 7, 2021 20:56
installing java and running jcuda application

installing java and running jcuda application

install intellj software
install visual studio c++ community
add cl.exe path to environment variables
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64

install nvidia cuda toolkit
https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local
open project folder in intellj software
add JAR dependencies by adding the JAR folder into the project

@pemd-sys
pemd-sys / openglVirtualBox.md
Last active October 7, 2021 21:01
Running opengl codes in Oracle virtualbox

Running opengl code in virtual box

Sometimes, opengl codes do not run in virtual box due to different opengl implementation. for example in my system we can find out the opengl version by running the following command

glxinfo | grep version

which gives

server glx version string: 1.4
client glx version string: 1.4
@pemd-sys
pemd-sys / readme.md
Created October 1, 2021 23:27 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@pemd-sys
pemd-sys / gist_markdown_examples.md
Created October 1, 2021 23:26 — forked from ww9/gist_markdown_examples.md
Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these:

Setup environment for opengl

sudo apt-get update
sudo apt-get install cmake pkg-config
sudo apt-get install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libglew-dev libglfw3-dev libglm-dev
sudo apt-get install libao-dev libmpg123-dev
@pemd-sys
pemd-sys / wxWidgetOpengl.md
Last active August 6, 2023 11:16
Compiling wxWidgets code with Opengl example
@pemd-sys
pemd-sys / wxWidgetCoding.md
Last active October 1, 2021 21:41
wxWidgets Compiling your Code

Compiling your own wxwidgets codes

The easiest way to see if the compile paths are setup correctly is to try building one of the samples in a new directory.

mkdir ~/minimal
cd ~/minimal

Go to the samples folder of wxwidgets source files assumed to be in ~/wxWidgets-3.0.5/samples/