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
1. Obtain a sufficiently new version of WINE. | |
Any version >= 6.0 should work. You may need to build this from source if your distro doesn't offer up to date packages for it. | |
Ubuntu and Mint users can read this page for how to install new versions of wine: https://github.com/Winetricks/winetricks/pull/1873 | |
2. Install wintricks. | |
This is technically optional, if you want to install things manually skip this and move onto the next step. | |
Winetricks can usually be obtained through your distro's package manager. `winetricks --self-update` can be | |
used to update it to the latest 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
#!/usr/bin/env python | |
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.cli import CLI | |
class Lab1Topology(Topo): | |
def __init__(self): | |
Topo.__init__(self) | |
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
/* Simple logical expression evaluator */ | |
#pragma once | |
#include <ctype.h> | |
#include <stdio.h> | |
#include <memory.h> | |
#define PARAM_MAX (('Z' - 'A')+1) |
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
# Ignore certain bad files | |
.vscode/ | |
.vscode/ipch | |
bin/ | |
lib/ | |
__pycache__ | |
*.o | |
*.a | |
*.so | |
*.d |
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/sh | |
export STEAM_COMPAT_DATA_PATH="$HOME/.config/ChaosSDKLauncher/pfx/" | |
export PROTON_USE_WINED3D=1 | |
export SteamGameId=440000 | |
export STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam" | |
export PROTON_DIR="/media/ExtraDisk/SteamLibrary/steamapps/common/Proton 5.0" | |
"$PROTON_DIR/proton" run bin/win64/hammer.exe -game p2ce $@ |
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
// Compile time info | |
#pragma once | |
//==========================================================// | |
// Feature test macros. Enjoy (or not) | |
//==========================================================// | |
// FORBID_XXX stuff is used to force disable various intrinsics | |
// See the OS_XXX section (near the bottom) to find which OS you're using | |
#if ( defined(__AVX__) ) && !( defined(FORBID_SIMD) || defined(FORBID_AVX) ) |
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
--- | |
Language: Cpp | |
# BasedOnStyle: Microsoft | |
AccessModifierOffset: -2 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveMacros: false | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveBitFields: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: Right |
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
" Vim Syntax file for VPC (Valve Project Creator) files | |
" Author: JJL77 | |
" Common keys | |
syn match vpcCommand "\$ImpLib" | |
syn match vpcCommand "\$ImportLibrary" | |
syn match vpcCommand "\$AdditionalDependencies" | |
syn match vpcCommand "\$POSIX_RPaths" | |
syn match vpcCommand "\$SymbolVisibility" | |
syn match vpcCommand "\$AdditionalOutputFiles" |
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
r-value to l-value binding. | |
template specialization in the class scope. (Normally this must be done at namespace scope, so not in a class!) | |
template specialization without the template<> keyword | |
function template partial specialization | |
explicit template specializations can have storage classes (e.g. explicit specialization on static function) |
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
--- | |
BasedOnStyle: Microsoft | |
FixNamespaceComments: 'true' | |
IndentCaseLabels: 'true' | |
IndentPPDirectives: BeforeHash | |
IndentWidth: '4' | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SortIncludes: 'false' | |
Standard: Cpp11 |