Skip to content

Instantly share code, notes, and snippets.

View chaliy's full-sized avatar

Mykhailo Chalyi (Mike Chaliy) chaliy

  • Ukraine, Lviv
  • 20:12 (UTC +03:00)
  • X @chaliy
View GitHub Profile
процедура MergeSort (мод a: t) це
процедура Merge(арг a: t; Size: нат; рез b: t) це
змін i, j, k, r1, r2: нат;
поч
k <- 1;
поки k<=n повт
{визначення границь підмасивів}
i <- k; r1 <- i+Size-1;
якщо r1>n то r1 <- n кр;
j <- r1+1; r2 <- j+Size-1;
# You should have pswatch installed (http://psget.net/directory/pswatch/)
# You need small modification to the FSharpKoans/PathToEnlightenment.fs to make sure that you will not need to press any key
# Comment out
# printf "Press any key to continue..."
# System.Console.ReadKey() |> ignore
# 1. Open separate powershell window
# 2. Make sure you are in FSharpKoans solution folder
# 3. Run watch_fsharpkoans.ps1
# 4. Make both your visual studio and powershell window visitble at the same time
# 5. Enjoy!
namespace Utils
{
using System.Collections.Generic;
using System.Threading.Tasks;
public static class TaskExtensions
{
public static Task<T[]> WhenAll<T>(this IEnumerable<Task<T>> tasks)
{
return Task.WhenAll(tasks);
@chaliy
chaliy / SetupDev.ps1
Last active December 19, 2015 04:48
cinst git
cinst gitextensions
cinst paint.net
cinst Inkscape
cinst skydrive
cinst sublimetext2
cinst VisualStudio2012Professional # requires modification to install web tools
cinst resharper
cinst winmerge
cinst 7zip

Google Reader replacements

Feedly

http://feedly.com/

  • Requires Google Chrome or Firefox on Desctop
  • Has iPad and Android apps, does not have WindowsRT app
  • Syncs read items with Google Reader
  • Guys does not like Windows

Some Chocolatey installs

Install F# Tools for Visual Studio Express 2012 for Web

NOTE that this install is good to have F# on your build server, it does not require Visual Studio.

cwebpi FSharpVWD11

Install Azure components with Chocolatey

Azure SDK 2.0

cwebpi VWDOrVs11AzurePack_2_0

Cross-platform Command Line Interface

cwebpi WindowsAzureXPlatCLI
@chaliy
chaliy / tpl_async_problem.fs
Created March 24, 2013 17:51
F# async does not support .NET TPL async
open System
open System.Net
let download(url : string) =
async {
let client = new WebClient()
let! html = client.DownloadStringTaskAsync(url)
return html
}
<Exec Command="
robocopy bin\ Package\bin\ ^
*.* ^
/S /PURGE /NS /NJH /NJS /NP /NDL ^
/XF *.vshost.exe,*.vshost.exe.*, *.svclog
robocopy wsp Package\wsp\ ^
Axiomatics.Acps.SharePoint.wsp *.ps1 ^
/S /PURGE /NS /NJH /NJS /NP /NDL
Основи роботи з Windows XP
Контрольні запитання
1. Яка різниця між Піктограмою та Ярликом?
2. Як відрізнити папку від файлу?
3. Що таке Робочий стіл?
4. Що таке Панель задач?
5. Що таке заголовок вікна у Windows?
6. Як відрізнити активне вікно від неактивного?
7. Як змінити розміри вікна?