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
| $ErrorActionPreference = "Stop" | |
| Import-Module -Force (Join-Path (Split-Path -parent $PSCommandPath)'Util.psm1') | |
| $config = Load-Config | |
| $installerUrls = Load-InstallerUrls | |
| Do-Elevate ($myInvocation.MyCommand.Definition + " -noprofile") | |
| $scratchDir = (Get-ScratchPath) |
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
| import os | |
| import fnmatch | |
| import OpenEXR | |
| import Imath | |
| def WriteEXR(file, header, channels): | |
| f = OpenEXR.OutputFile(file, header) | |
| f.writePixels(channels) | |
| def CombineEXR(outFile, inLayers): |
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
| template<t> struct Meta {}; | |
| enum myEnum { | |
| Success, | |
| Failure | |
| }; | |
| template<> | |
| struct Meta<myEnum> { | |
| using type = Meta<myEnum>; |
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
| { | |
| rocmSupport, | |
| cudaSupport | |
| } : | |
| import ../nixpkgs { | |
| config.cudaSupport = cudaSupport; | |
| overlays = [ | |
| (final: prev: { | |
| python3 = prev.python3.override { | |
| packageOverrides = finalPy: prevPy: { |
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
| float4x4 WorldViewProjection : WorldViewProjection < string UIWidget = "None"; >; | |
| struct app2vert { | |
| float4 position : POSITION; | |
| }; | |
| struct vert2pixel { | |
| float4 position : POSITION; | |
| }; |
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
| <log4net> | |
| <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | |
| <layout type="log4net.Layout.PatternLayout"> | |
| <conversionPattern value="%date %-5level %thread %logger - %message%newline" /> | |
| </layout> | |
| </appender> | |
| <appender name="FileAppender" type="log4net.Appender.FileAppender"> | |
| <file value="C:\logs\cm.log.txt" /> | |
| <appendToFile value="true" /> |
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
| [Unit] | |
| Description=Generate Unique Hostname | |
| DefaultDependencies=no | |
| Wants=local-fs.target swap.target network-pre.target | |
| After=local-fs.target swap.target | |
| Before=network-pre.target | |
| ConditionPathExists=!/etc/hostname | |
| ConditionPathExists=!/boot/hostname | |
| [Service] |
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
| // write the data to one end of the pipe | |
| auto writer_seq = | |
| sequence( | |
| lazy([&]{ | |
| printf("writes starting!\n"); | |
| }), | |
| transform_done( | |
| repeat_effect( | |
| typed_via( | |
| defer( |
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
| @(at-point 'surface-struct | |
| '( | |
| (float3 albedo1 ;) | |
| (float3 albedo2 ;) | |
| (float blend ;))) | |
| @(at-point 'surface-calc | |
| '( | |
| (surface . albedo1 = ... ;) | |
| (surface . albedo2 = ... ;) |
NewerOlder