Lightbulb
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
# 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
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
{ | |
"branches": [ | |
"main" | |
], | |
"plugins": [ | |
"@semantic-release/release-notes-generator", | |
"@semantic-release/changelog", | |
[ | |
"@semantic-release/npm", | |
{ |
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 |
OlderNewer