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
<RegistryKey Action="createAndRemoveOnUninstall" | |
Key="Software\Wixtest\ExampleKey" | |
Root="HKLM"> | |
<RegistryValue Name="Test" Type="string" Value="Test Value" /> | |
</RegistryKey> |
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 int Divide(int number, int divisor) | |
{ | |
if (divisor == 0) throw new Exception(); |
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
class ParallelTest | |
{ | |
class TestObject | |
{ | |
public string Name { get; set; } | |
public int Number { get; set; } | |
public override string ToString() | |
{ | |
return Name; |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head id="ctl00_ctl00_Head1"><title> | |
World Consumer Income and Expenditure Patterns |
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
--Calculate whitespace control | |
for m in editor:match("\n") do --count newline | |
whiteSpace = whiteSpace + 1; | |
end | |
for m in editor:match("\r") do --count carriage return | |
whiteSpace = whiteSpace + 1; | |
end | |
for m in editor:match("\t") do --count tabs | |
whiteSpace = whiteSpace + 1; | |
end |
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
function HTMLItalics() | |
local sel = editor:GetSelText() | |
editor:ReplaceSel("<i>"..sel.."</i>") | |
end |
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
javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://raw.github.com/rrreese/SafariBooksStyleReplace/master/styleReplace.js';})(); |
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
<script src="hexagon.js"></script> | |
<canvas id="HexCanvas" width="1000" height="700"></canvas> | |
<script> | |
var hexagonGrid = new HexagonGrid("HexCanvas", 50); | |
hexagonGrid.drawHexGrid(7, 10, 50, 50, true); | |
</script> |
OlderNewer