This file contains hidden or 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 hidden or 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 hidden or 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 |
This file contains hidden or 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
function sloc() | |
{ | |
(find $1 -type f \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" -o -iname "*.cc" -o -iname "*.hxx" -o -iname "*.c" \) -print0 | xargs -0 cat) | wc -l | |
} |
This file contains hidden or 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
from pydm.widgets.qtplugins import * |
This file contains hidden or 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
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_size = 8 | |
indent_style = tab |
This file contains hidden or 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 | |
TOP=$(cd `dirname $0`;cd ..;pwd) | |
SRCDIR="$TOP/src/" | |
files=`find "$TOP" -iname "*.c" -o -iname "*.cpp" -o -iname "*.cc" -o -iname "*.h"` | |
for file in $files; do | |
clang-format -i $file | |
done |
This file contains hidden or 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: 8 | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SortIncludes: false | |
Standard: Latest |
This file contains hidden or 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 | |
if [ $EUID -ne 0 ]; then | |
echo "Please run script as root" | |
exit 1 | |
fi | |
function download_runtime() | |
{ | |
URLROOT=https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-steam-client-general-availability/ |
This file contains hidden or 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
/** | |
* | |
* math_proxy.cpp - Implements certain unresolved symbols and points them to their proper endpoints | |
* | |
*/ | |
#include <math.h> | |
#if __GNUC__ > 5 | |
extern "C" float __powf_finite(float x, float y) |