This is a short document describing the preferred coding style for this project. I've tried to cover the major areas of formatting and naming. When something isn't covered by this guide you should stay consistent with the code in the other modules.
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
// Decompiled with JetBrains decompiler | |
// Type: NuGet.VersionUtility | |
// Assembly: NuGet.Core, Version=2.8.50313.46, Culture=neutral, PublicKeyToken=31bf3856ad364e35 | |
// MVID: 4404F95E-CF52-4857-811C-40FE351F2921 | |
// Assembly location: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\i5o50bmq.ucl\NuGet.Core.dll | |
using NuGet.Resources; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics.CodeAnalysis; |
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
{-# LANGUAGE OverloadedStrings, ScopedTypeVariables #-} | |
module AccountSite where | |
import Control.Monad.Trans (liftIO) | |
import Control.Exception (Exception, catch, throwIO) | |
import Control.Monad.Base (liftBase) | |
import qualified Data.Text as T | |
import Test.WebDriver (WDConfig(..), defaultConfig, chrome, | |
Capabilities(..), defaultCaps, | |
runSession, |
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
# This Makefile uses gcc's -MM-flag to scan your source tree for dependencies | |
# Other compilers may or may not have this feature. Adjust the DEPS | |
# definition accordingly. | |
CC := gcc | |
RM := rm | |
CFLAGS := -pedantic -Wall -Wextra -g | |
LIBS := |
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
{-# LANGUAGE ForeignFunctionInterface #-} | |
module Foo where | |
import Foreign.C.String | |
import Foreign.C.Types | |
foreign export ccall start_server :: CInt -> CString -> IO () | |
foreign export ccall start_client :: CString -> IO () | |
start_server :: CInt -> CString -> IO () |
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
GCC=gcc | |
RM=rm | |
SRC=$(wildcard *.c) | |
OBJ=$(SRC:.c=.o) | |
FLAGS= | |
EXEC=main | |
all : $(EXEC) |
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
#r "../packages/Nuget.Core.2.8.2/lib/net40-Client/Nuget.Core.dll" | |
#r "System.Xml.Linq" | |
open NuGet | |
let repository = PackageRepositoryFactory.Default.CreateRepository "https://nuget.org/api/v2" | |
let aspnet = query { | |
for p in repository.GetPackages() do | |
where (p.Title.Contains "ASP.NET") | |
count |
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
open Accord.MachineLearning.FSharp | |
open Deedle | |
let data = [ ("D1", "Sunny", "Hot", "High", "Weak", "No" ) | |
("D2", "Sunny", "Hot", "High", "Strong", "No" ) | |
("D3", "Overcast", "Hot", "High", "Weak", "Yes") | |
("D4", "Rain", "Mild", "High", "Weak", "Yes") | |
("D5", "Rain", "Cool", "Normal", "Weak", "Yes") | |
("D6", "Rain", "Cool", "Normal", "Strong", "No" ) | |
("D7", "Overcast", "Cool", "Normal", "Strong", "Yes") |
WARNING This list outdated, for the up to date version visit https://haskellcosm.com
Types of work:
- RD - research&development
- PR - product
- IP - in-house product
- CO - consulting
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
namespace TestiOS | |
open System | |
open MonoTouch.UIKit | |
open MonoTouch.Foundation | |
open System | |
open System.ComponentModel | |
open Xamarin.Forms |