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
//https://twitter.com/mormegil_cz/status/321991296019484672 | |
using System; | |
using System.Collections.Generic; | |
using System.Dynamic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Mormegill_test |
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
rodic(josef, tana). | |
rodic(josef, sona). | |
rodic(josef, petr). | |
rodic(michaela, tana). | |
rodic(michaela, sona). | |
rodic(eva, michaela). | |
rodic(pavel,michaela). | |
rodic(miluska,josef). | |
rodic(josefstarsi,josef). | |
rodic(pavel, jitka). |
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
//Pavel Machek - high level overview | |
void WcfGpsPositionService::GetPositionData(const RilSimpleInfo& info, const wstring& networkCode, GSMPosition& position) | |
{ | |
try | |
{ | |
wstring toHashValue = m_appKey + info.CellId; | |
string tempResult = MD5Hash::CalculateMD5Hash(toHashValue); |
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
%TODO: | |
:- op( 400, xfy, [equ]). | |
:- op( 300, xfy, [and, or, impl, nand, nor, xor]). | |
:- op( 200, fx, [not]). | |
and(A, B) :- A, B. | |
or(A, B) :- A. | |
or(A, B) :- B. |
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 AlesRX | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
ServicePointManager.DefaultConnectionLimit = Int32.MaxValue; | |
var specialHandler = new SpecialAvailable(); | |
specialHandler.Process(); | |
Console.ReadLine(); |
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.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Reactive; | |
using System.Text; | |
using System.Reactive.Linq; | |
namespace AlesRX |
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
//Ales Roubicek - https://gist.github.com/4059724 | |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Reactive; | |
using System.Text; | |
using System.Reactive.Linq; |
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
http://www.dotnetcurry.com/magazine/jon-skeet-quiz.aspx | |
using System; | |
using System.Collections.Generic; | |
namespace Skeetquiz | |
{ | |
public delegate void MyReferenceDelegate<TR>(TR arg) where TR : class; | |
public delegate void MyStructDelegate<TS>(TS arg) where TS : struct; |
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.Linq; | |
namespace KATA_NASA | |
{ | |
using System; | |
public class FizzBuzzKata : IFizzBuzzKata | |
{ | |
public string Answer(int i) |
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.Threading.Tasks; | |
namespace FormatTest | |
{ | |
class Program | |
{ |