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
{ | |
"runtimeTarget": { | |
"name": ".NETCoreApp,Version=v1.1", | |
"signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" | |
}, | |
"compilationOptions": {}, | |
"targets": { | |
".NETCoreApp,Version=v1.1": { | |
"helloworld/1.0.0": { | |
"runtime": { |
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
{ | |
"version": 2, | |
"targets": { | |
".NETCoreApp,Version=v1.1": { | |
"Libuv/1.9.1": { | |
"type": "package", | |
"dependencies": { | |
"Microsoft.NETCore.Platforms": "1.0.1" | |
}, | |
"runtimeTargets": { |
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
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | |
</PropertyGroup> | |
</Project> |
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
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | |
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> | |
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> | |
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">/home/bojan/Downloads/test/TestProject/obj/project.assets.json</ProjectAssetsFile> | |
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/bojan/.nuget/packages/</NuGetPackageRoot> | |
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/bojan/.nuget/packages/</NuGetPackageFolders> | |
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> | |
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.0.0</NuGetToolVersion> |
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
using System; | |
namespace HelloWorld | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
} |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp1.1</TargetFramework> | |
</PropertyGroup> | |
</Project> |
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
#include <list> | |
#include <iostream> | |
#include <algorithm> | |
class Subject; | |
class Observer | |
{ | |
public: | |
// pointer to Subject is passed so ConcreteObserver can distinct ConcreteSubjects |
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
<html> | |
<head> | |
<title>What is my IP address</title> | |
</head> | |
<body> | |
<?php echo '<p>Your public IP address is:</p>'; ?> | |
<?php | |
$ip = ""; | |
if (!empty($_SERVER["HTTP_CLIENT_IP"])) |
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
using NUnit.Framework; | |
using MyApp; | |
namespace MyAppTests | |
{ | |
public class MyClass_Tests | |
{ | |
[TestCase(MyEnum.Value1)] | |
[TestCase(MyEnum.Value2)] |
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
using NUnit.Framework; | |
using MyApp; | |
namespace MyAppTests | |
{ | |
public class MyClass_Tests | |
{ | |
[TestCase(MyEnum.Value1)] | |
[TestCase(MyEnum.Value2)] |