def my_function():
"just a test"
print 8/2
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 bool Is<T>(this IFeature feature) | |
{ | |
// note: this implementation is a complete hack. | |
return true; | |
} |
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 ESRI.ArcGIS.Geodatabase; | |
namespace DSredigering.ExtensionMethods | |
{ | |
public static class IRowExtension | |
{ | |
public static void SetField(this IRow row, string fieldname, object value) | |
{ | |
if (fieldname == null) throw new ArgumentNullException("fieldname"); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[diff "docx"] | |
textconv = unzip -c -a |
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 class VisualStudioReporter : GenericDiffReporter | |
{ | |
private static readonly string DEVENV_REGISTRYKEY = | |
@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe"; | |
private static readonly string PATH = (string)Registry.GetValue(DEVENV_REGISTRYKEY, "", @"Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"); | |
public static readonly VisualStudioReporter INSTANCE = new VisualStudioReporter(); | |
public VisualStudioReporter() | |
: base( | |
PATH, |
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 partial class Program | |
{ | |
private static readonly int FirstLed = 0; | |
private static readonly int LastLed = 6; | |
private int _ledNumberToModify = FirstLed; | |
// This method is run when the mainboard is powered up or reset. | |
void ProgramStarted() | |
{ | |
Debug.Print("Program Started"); |
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
Parse error: syntax error, unexpected T_FUNCTION in /plugins/wp-markdown-syntaxhighlighter/wp-markdown-syntaxhighlighter.php on line 49 |
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
namespace noget | |
{ | |
class Abe | |
{ | |
public Abe(Action anoMethod) | |
{} | |
} | |
class Chimp : Abe | |
{ |