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 <time.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#define MILLION 1000000 | |
#define BILLION 1000000000 | |
int main(void) | |
{ | |
struct timespec start, end; |
This guide should remove all Intellisense errors from your project. I've recently finished a Udemy series and had no problems fixing any Intellisense errors with this guide.
I've tested this in both Visual Studio 2019 and VSCode (Latest Microsoft C++ plugin). They both work. (Windows 10)
Some other compilers, with their version of Intellisense, may still be helped by some of this info.
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
#!/bin/bash | |
# Builds Wine-staging | |
# Notes: | |
# 1. Targeted for usage inside a VM (use shared directory $HOME/mnt/vmshare between host and guest). | |
# 2. You'd need to separately push the result on the host to whatever location you want (like to /opt). | |
# 3. Place any manual patches in ${HOME}/build/patches | |
# 4. Override arch to something else if you aren't using Ryzen. | |
# |
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
#!/bin/bash | |
# Notes: | |
# | |
# For Debian build of dxvk and vkd3d-proton. | |
# | |
# 1. To build 64-bit and 32-bit dxvk: | |
# | |
# for bitness in 64 32; do project=dxvk bitness=$bitness dxvk_build.sh; done | |
# |
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
#!/bin/bash | |
# Notes: | |
# | |
# 1. Works for tags and specific hash commits too (override mesa_branch variable with needed value). | |
# | |
# 2. By default builds for /opt/mesa-<branch> and places the result in ${HOME}/mnt/vmshare/mesa-<branch> | |
# You can override the build deployment location by setting dest_dir. For example this should put it right away | |
# in /opt/mesa-<branch> | |
# |
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
#!/bin/bash | |
# Builds Wine | |
# Notes: | |
# 1. Targeted for usage inside a VM (use shared directory $HOME/mnt/vmshare between host and guest). | |
# | |
# 2. You'd need to separately push the result on the host to whatever location you want (like to /opt). | |
# | |
# 3. Place any manual patches in ${HOME}/build/patches |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using UnityEngine; | |
/// <summary> | |
/// A simple free camera to be added to a Unity game object. | |
/// | |
/// Keys: |