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
.wrapper | |
span(class='indicator minus') - | |
- for(var i = 1; i <= 100; i++) | |
- i++ | |
label( | |
class="label-rank-"+i | |
for="radio-"+i | |
) | |
if i == 50 | |
input( |
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
gn gen out\Debug --args="extra_cflags=\"/MTd\" target_cpu=\"x86\"" | |
gn gen out\Debug_x64 --args="extra_cflags=\"/MTd\"" | |
gn gen out\Release --args="extra_cflags=\"/MT\" target_cpu=\"x86\"" | |
gn gen out\Release_x64 --args="extra_cflags=\"/MT\"" |
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
// @bobbyg603 | |
// 04-21-2021 | |
// bugsplat.com | |
import { StackConverter } from '@bugsplat/stack-converter'; | |
(async () => { | |
try { | |
crash(); | |
} catch(error) { | |
console.log(error.stack) |
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
private byte[] CaptureInMemoryPngScreenshot() | |
{ | |
// TODO BG the example calls Destory on texture, do we need to do that? | |
var texture = new Texture2D(Screen.width, Screen.height, TextureFormat.RGB24, false); | |
texture.ReadPixels(new Rect(0, 0, Screen.width, Screen.height), 0, 0); | |
texture.Apply(); | |
return texture.EncodeToPNG(); | |
} |
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
module.exports = { | |
extends: [ | |
'@commitlint/config-conventional' | |
], | |
rules: { | |
'body-max-line-length': [0, 'always'], | |
'footer-max-line-length': [0, 'always'] | |
} | |
}; |
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
# Based on https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml | |
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: |
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
# Based on https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml | |
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: |
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
# Based on https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml | |
name: CD | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
cd: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup Label="ProjectConfigurations"> | |
<ProjectConfiguration Include="Debug|Win32"> | |
<Configuration>Debug</Configuration> | |
<Platform>Win32</Platform> | |
</ProjectConfiguration> | |
<ProjectConfiguration Include="Release|Win32"> | |
<Configuration>Release</Configuration> | |
<Platform>Win32</Platform> |
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
// | |
// This sample project illustrates how to capture crashes (unhandled exceptions) in native Windows applications using BugSplat. | |
// | |
// The shared sample database 'Fred' is used in this example. | |
// You may view crashes for the Fred account by logging in at https://www.bugsplat.com: | |
// Account (Email Address): Fred@bugsplat.com | |
// Password: *** | |
// | |
// In order to assure that crashes sent to the BugSplat website yield exception stack traces with file/line # information, | |
// just rebuild this project. A Visual Studio post build event is configured to send the resulting .exe and .pdb files |
OlderNewer