Skip to content

Instantly share code, notes, and snippets.

View erkantaylan's full-sized avatar
🫖
I'm a teapot

erkan erkantaylan

🫖
I'm a teapot
  • TURKEY
  • 04:35 (UTC +03:00)
View GitHub Profile
@erkantaylan
erkantaylan / dotnet.gitignore
Last active January 29, 2020 23:24
gitignore for dotnet environment (visual studio / gitflow / jetbrains products / mono / xamarin)
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.suo
*.user
*.userosscache
@erkantaylan
erkantaylan / multipart.cs
Created November 15, 2019 13:51 — forked from subena22jf/multipart.cs
c# download multi part
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace TestApp
{
internal class Program
{
{
"customers": [
{
"anydesk_id": "111 222 333",
"cell_phone": "+9088899977564",
"name": "Mr Jonathan",
"pc_name": "Jonathans Pc",
"time": "24.09.2019 13:25:57"
},
{
@erkantaylan
erkantaylan / Visual Studio Extension List.md
Created December 18, 2018 14:50
Visual Studio Extension List

Code alignment

Viasfora

VSRestart2017

Keyboard Shortcuts Manager

Visual Commander

@erkantaylan
erkantaylan / KeyExtensions.cs
Created November 30, 2018 14:20
converting Keys to Key and Key To Keys
public static class KeyExtensions
{
public static System.Windows.Input.Key ToKey(this System.Windows.Forms.Keys keys)
{
return System.Windows.Input.KeyInterop.KeyFromVirtualKey((int) keys);
}
public static System.Windows.Forms.Keys ToKeys(this System.Windows.Input.Key key)
{
return (System.Windows.Forms.Keys) System.Windows.Input.KeyInterop.VirtualKeyFromKey(key);
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Input;
using MahApps.Metro.Controls;
namespace ChangeThis
{
public class AutohotkeyToMahappsHotKeyConverter : IValueConverter
{
@erkantaylan
erkantaylan / ColorTypes.cs
Last active October 30, 2018 11:29
Show Enum Description on View, Converter and Sample Enum
public enum ColorTypes
{
[Description("Mavi")] Blue,
[Description("Kırmızı")] Red,
[Description("Yeşil")] Green,
[Description("Sarı")] Yellow
}
@erkantaylan
erkantaylan / FolderTree.xaml
Created July 26, 2018 14:48 — forked from jsonw23/FolderTree.xaml
Folder Tree WPF Control: Part 1 - Lazy Loading
<TreeView ItemsSource="{Binding Path=Drives}" TreeViewItem.Expanded="FolderTree_Expanded">
<TreeView.ItemContainerStyle>
<Style TargetType="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding Path=IsExpanded, Mode=TwoWay}" />
</Style>
</TreeView.ItemContainerStyle>
<TreeView.ItemTemplate>
<HierarchicalDataTemplate ItemsSource="{Binding Path=Folders}">
<TextBlock Text="{Binding Path=Label}" />
</HierarchicalDataTemplate>
[
{
"enabled": false,
"id": 1,
"installDate": 1515832296049,
"md5Url": "https://update.userstyles.org/125466.md5",
"name": "Asana - Dark Cobalt",
"originalDigest": "91e4d298597d8a2ea4bea164a193e2c9476caff8",
"originalMd5": "98b7a7d600069c3521161538ed24a799",
"sections": [
@erkantaylan
erkantaylan / richhickey.md
Created April 20, 2018 12:33 — forked from prakhar1989/richhickey.md
richhickey.md

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following: