Skip to content

Instantly share code, notes, and snippets.


Jakub Gutkowski Gutek

View GitHub Profile
Gutek / C# Version Cheat
Last active Aug 6, 2020
Short cheat sheet of changes in C# language from version 6 to 9
View C# Version Cheat

CS 6

read-only auto properties

Small help with immutable types...

// private readonly int _age;
// public int Age { get { return _age; } }
public int Age { get; }
View deployment.yaml
apiVersion: v1
kind: Namespace
name: samples
apiVersion: v1
kind: ConfigMap
name: sample-api-cm
namespace: samples
Gutek / presentation.vssettings
Created May 9, 2017
Presentation settings for Visual Studio 2015
View presentation.vssettings
<?xml version="1.0" encoding="UTF-8"?>
<ApplicationIdentity version="14.0" />
<ToolsOptionsCategory name="Environment" RegisteredName="Environment" />
<Category name="Environment_Group" RegisteredName="Environment_Group">
<Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package">
<PropertyValue name="Version">2</PropertyValue>
<FontsAndColors Version="2.0">
View rider_info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
Gutek / SQL_EF_query_Page_1
Last active Mar 8, 2016
These two queries (generated by EF) returns same set of data (exactly). However if you change sorting from `AssessmentTypeName` to `ParameterName` paging works as expected. any ideas why?
View SQL_EF_query_Page_1
[Project1].[AutomatedComplianceAssessmentId] AS [AutomatedComplianceAssessmentId],
[Project1].[AssessmentTypeCode] AS [AssessmentTypeCode],
[Project1].[AssessmentTypeName] AS [AssessmentTypeName],
[Project1].[EmissionPointId] AS [EmissionPointId],
[Project1].[EmissionPointCode] AS [EmissionPointCode],
[Project1].[ParameterMatrixName] AS [ParameterMatrixName],
[Project1].[ParameterId] AS [ParameterId],
[Project1].[ParameterName] AS [ParameterName]
Gutek / feed_finder.fs
Created Mar 1, 2016
Finds RSS feeds for bogs
View feed_finder.fs
open System.IO
open FSharp.Data
let readLines filePath = File.ReadAllLines(filePath);;
let downloadWebAsync (links:seq<string>) =
|> HtmlDocument.AsyncLoad
let castToOption (linkElements:seq<HtmlNode>) =
Gutek / HowTo
Created Dec 12, 2013
Jak pobrać historię z konta walutowego - firmowego w mbank
View HowTo
1 Zaloguj sie
2 Zmien profil na firmowy
3 Kliknij na historie
4 Kliknij na zmien widok (gorny prawy rog pod menu)
5 Wybierz konto
6 Wybierz przedzial czasowy
7 przeszukaj
8 wejdz w szczegoly tranzakcji
9 Pobierz PDFa
Gutek / makeebooks
Created Aug 23, 2012
CQRS Journey Makeebooks
View makeebooks
#!/usr/bin/env ruby
# This script convers markdown book to one of the serveral e-book
# formats supported with calibre (
# Samples:
# Build e-book for amazon kindle
# $ make-ebook
# or
# $ FORMAT=mobi make-ebook
Gutek / bootstrap-alerts-ex-sample.htm
Created Mar 9, 2012
Twitter Bootstrap - add alert
View bootstrap-alerts-ex-sample.htm
<!-- bootstrap styles -->
<div class="alerts">
<button id="add">
Add Alert</button>
<!-- jquery js files and bootstrap files -->
You can’t perform that action at this time.