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
DOMAIN=localhost | |
HTTP_PORT=12001 | |
HTTPS_PORT=12002 | |
LEGACY_SOCKET_PORT=8344 | |
NO_CDN=true | |
CA_URL=https://acme-staging-v02.api.letsencrypt.org/directory | |
CA_EMAIL= | |
TLS_TYPE=self_signed | |
EXTRA_DIR=/dev/null | |
EXISTING_CERT_DIR=/dev/null |
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
::-webkit-scrollbar { | |
background: #111; | |
border-left: 2px solid #222; | |
border-right: 2px solid #222; | |
} | |
::-webkit-scrollbar-button { | |
/* 2 */ | |
} | |
::-webkit-scrollbar-track { | |
/* 3 */ |
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
Write a BigInt class | |
A BigInt class can represent an int of any numeric value, unlike fixed width ints (for example, the primative int type). | |
Must support the following operators: | |
copy ctor, dtor, = | |
+, -, +=, -=, *, *= | |
==, !=, <, >, <=, >= | |
unary - | |
ostream >> |
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
open System | |
type Location = | |
| City of string * float | |
| State of string * Location list | |
| Country of string * Location list | |
let data = [Country("United States", [State("Wasington", [City("Anacortes", 32.0); City("Seattle", 523.0)])])] | |
let getTotalPopulation locations = |
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
<log4net> | |
<appender name="RootLogFileAppender" type="log4net.Appender.RollingFileAppender"> | |
<param name="File" value="log\<<PROJECT NAME>>.Root.log" /> | |
<param name="AppendToFile" value="true" /> | |
<param name="MaxSizeRollBackups" value="1" /> | |
<param name="MaximumFileSize" value="250MB" /> | |
<param name="RollingStyle" value="Size" /> | |
<param name="LockingModel" type="log4net.Appender.FileAppender+MinimalLock" /> | |
<layout type="log4net.Layout.PatternLayout"> | |
<param name="ConversionPattern" value="%d	[%t]	%-5p	%c	%m%n" /> |
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="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" /> | |
</configSections> | |
<connectionStrings> | |
<add name="MainDb" connectionString="Data Source=THOR\SQLEXPRESS;Initial Catalog=dev-aaron-test1;Integrated Security=SSPI;" /> | |
</connectionStrings> | |
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> | |
<session-factory> |
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.Linq; | |
using HibernatingRhinos.Profiler.Appender.NHibernate; | |
using NHibernate.Cfg; | |
using NHibernate.Mapping.ByCode; | |
using NHibernate.Linq; | |
using NHibernate.Mapping.ByCode.Conformist; | |
namespace ConsoleApplication155 |
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.Linq; | |
using System.Text; | |
using System.Collections; | |
namespace ConsoleApplication1 | |
{ | |
interface IItem | |
{ |
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.Linq; | |
using System.Text; | |
using System.Collections; | |
namespace ConsoleApplication1 | |
{ | |
interface IItem | |
{ |
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
#include <iostream> | |
#include <string> | |
using namespace std; | |
struct Product | |
{ | |
string Name; | |
}; | |
struct Inventory |
NewerOlder