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 HelloWorld | |
Sub Main() | |
System.Console.WriteLine("Hello World") | |
End Sub | |
End Module |
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 is an example of using the Ohloh API from Java. | |
Detailed information can be found at the Ohloh website: | |
http://www.ohloh.net/api | |
This examples retrieves a account and simply shows the name associated. | |
Pass your Ohloh API key as the first parameter to this example. | |
Ohloh API keys are free. If you do not have one, you can obtain one |
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 is an example of using the Ohloh API from C#. | |
Detailed information can be found at the Ohloh website: | |
http://www.ohloh.net/api | |
This example retrieves an account and simply shows the name associated. | |
Pass your Ohloh API key as the first parameter to this example. | |
Ohloh API keys are free. If you do not have one, you can obtain one |
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="ISO-8859-1"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="/"> | |
<html> | |
<body> | |
<h2>MSDN Product Keys</h2> | |
<table border="1"> | |
<tr bgcolor="#cccccc"> | |
<th align="left">Product Name</th> | |
<th align="left">Key Type</th> |
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"?> | |
<MMC_ConsoleFile ConsoleVersion="3.0" ProgramMode="Author"> | |
<ConsoleFileID>{01801879-32DE-4F21-9E1C-497141CCAD41}</ConsoleFileID> | |
<FrameState ShowStatusBar="true"> | |
<WindowPlacement ShowCommand="SW_SHOWNORMAL"> | |
<Point Name="MinPosition" X="-1" Y="-1"/> | |
<Point Name="MaxPosition" X="-1" Y="-1"/> | |
<Rectangle Name="NormalPosition" Top="203" Bottom="945" Left="154" Right="1414"/> | |
</WindowPlacement> | |
</FrameState> |
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"?> | |
<MMC_ConsoleFile ConsoleVersion="3.0" ProgramMode="Author"> | |
<ConsoleFileID>{549E388B-04AD-48CA-B7AC-4A781F265215}</ConsoleFileID> | |
<FrameState ShowStatusBar="true"> | |
<WindowPlacement ShowCommand="SW_SHOWNORMAL"> | |
<Point Name="MinPosition" X="-1" Y="-1"/> | |
<Point Name="MaxPosition" X="-1" Y="-1"/> | |
<Rectangle Name="NormalPosition" Top="145" Bottom="761" Left="110" Right="1129"/> | |
</WindowPlacement> | |
</FrameState> |
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
/// <summary> | |
/// Gets or sets a value indicating whether top-level menu items should be rendered upper case or not. | |
/// </summary> | |
/// <remarks> | |
/// Setting this property to <c>true</c> helps in simulating a VS2012/2013 style. | |
/// </remarks> | |
public bool EnableUpperTopLevelCaseMenuItems { get; set; } | |
protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e) |
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
using System; | |
namespace ConsoleApplication1 | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
var s1 = "Immutable String"; | |
var s2 = "Immutable String"; |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace GithubWikiDoc | |
{ |
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
# NB: "Time Synchronization" is "Synchronisation date/heure" in French | |
$principal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
if (-Not $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
Write-Host "Elevated privileges are required." | |
Start-Process -FilePath "powershell" -ArgumentList "$('-File ""')$(Get-Location)$('\')$($MyInvocation.MyCommand.Name)$('""')" -Verb runAs | |
exit | |
} | |
Write-Host "--- Synchronizing your docker time ---" |
OlderNewer