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
pushd "%~dp0" | |
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt | |
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" | |
del hyper-v.txt | |
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL |
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
#include<GL/glew.h> | |
#include <GLFW/glfw3.h> | |
//for input and output | |
#include<iostream> | |
#include<stdlib.h> | |
#include<Windows.h> | |
#include<conio.h> | |
using namespace std; | |
#include<fstream> | |
#include<string> |
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
# I Used GLEW and GLFW for this | |
# @Note I used MSYS2 for this , to download glfw and glew using MSYS2 use below commands | |
# pacman -S mingw-w64-x86_64-glfw and pacman -S mingw-w64-x86_64-glew | |
# for cpp compiler I used MinGW which can also be downloaded in MSYS2 | |
# Step 1: to generate obj file , basically only compiling | |
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o main.obj main.cpp | |
## Command 1 description | |
## -O0 means optimisation level 3 , -g3 debugging level 3, -Wall to print all warnings, -c only compile | |
# Step 2: |
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
After creating a project follow these steps | |
1) create a c# script in the Assests folder or somewhere in the project you wish | |
2) Goto Edit preferences -> External Tools -> select vs code | |
3) double click on the script (it open vscode) | |
4) In the Extension tab search C# (install official one by Microsoft) | |
5)goto Link: -(https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net471-developer-pack-offline-installer) | |
6)Install It | |
7)goto Link: -(https://dotnet.microsoft.com/en-us/download/visual-studio-sdks) | |
8)Install any sdk (I recommend to go for LTS version) |
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
# WHOAMI | |
# To know copy this entire text and paste it in https://www.onlinegdb.com/online_python_compiler and run the code.. | |
# I assure you that running this code cause nothing except printing | |
# text on the screen. | |
# NOTE: RUN THE CODE. | |
# by GALI RAVI PRAVEEN, CSE. | |
import sys | |
import time |
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
Tmux is a terminal multiplexer – a popular (even essential) command-line tool that allows one to divide a console/terminal window | |
into multiple “panes” and render the output of a shell and/or tool in each “pane”, and to switch input between each pane. | |
After some browsing and researching I finally got a way to run tmux in windows. | |
Download or install git of version 2.27 | |
http://www.npackd.org/p/git64/2.27 | |
and copy the files tmux.exe,msys-event-2-1-7.dll and msys-event_core-2-1-7.dll into | |
C:\Program Files\Git\usr\bin this path.Then simply rerun the git bash. | |
Link for dll and tmux files: https://github.com/grpnpraveen/Dependencies_To_run_Tmux/tree/main | |
Done 💯 |