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
public static class ProcessHelper | |
{ | |
public static ProcessResult ExecuteShellCommand(string command, string arguments, int timeout) | |
{ | |
var result = new ProcessResult(); | |
using (var process = new Process()) | |
{ | |
process.StartInfo.FileName = command; | |
process.StartInfo.Arguments = arguments; |
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
$ brew install markdown htmldoc | |
$ markdown <file.md> | htmldoc --cont --headfootsize 8.0 --linkcolor blue --linkstyle plain --format pdf14 - > <file.pdf> |
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
Shader "Custom/Glow" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_GlowColor ("Glow Color", Color ) = ( 1.0, 1.0, 1.0, 1.0 ) | |
_Frequency( "Glow Frequency", Float ) = 1.0 | |
_MinPulseVal( "Minimum Glow Multiplier", Range( 0, 1 ) ) = 0.5 | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 200 |