Code alignment
Viasfora
VSRestart2017
Keyboard Shortcuts Manager
Visual Commander
Code alignment
Viasfora
VSRestart2017
Keyboard Shortcuts Manager
Visual Commander
| 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 | |
| { |
| public enum ColorTypes | |
| { | |
| [Description("Mavi")] Blue, | |
| [Description("Kırmızı")] Red, | |
| [Description("Yeşil")] Green, | |
| [Description("Sarı")] Yellow | |
| } |
| <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": [ |
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:
https://github.com/Fody/PropertyChanged
https://github.com/yusuf-gunaydin/Bindables
https://github.com/Fody/Anotar
https://github.com/Fody/Validar
https://github.com/JeremySkinner/FluentValidation
https://github.com/aljazsim/defensive-programming-framework-for-net
| //----------------------------------------------------------------------- | |
| // <copyright file="SingleInstance.cs" company="Microsoft"> | |
| // Copyright (c) Microsoft Corporation. All rights reserved. | |
| // </copyright> | |
| // <summary> | |
| // This class checks to make sure that only one instance of | |
| // this application is running at a time. | |
| // </summary> | |
| //----------------------------------------------------------------------- |
| eyJ2ZXJzaW9uIjoxLjMsImZlYXR1cmVzIjp7ImxvY2F0aW9uIjp7InJvb20iOnRydWUsIm91dHNpZGUiOnRydWUsIndvcmxkIjp0cnVlfX0sInN0b3JlcyI6eyJ3b29kIjo5OTk5NTgxNCwiZnVyIjo5OTk3MjI4OCwiYmFpdCI6OTk5OTkyNTMsImNsb3RoIjo5OTk5MTQ2LCJtZWF0Ijo5OTk4NDkyOCwidGVldGgiOjk5OTQ0NDUsInNjYWxlcyI6OTg4NDQzLCJsZWF0aGVyIjo5OTk5NjcwLCJjdXJlZCBtZWF0Ijo5OTkxODEsImNvbXBhc3MiOjEsInRvcmNoIjo0LCJib25lIHNwZWFyIjowLCJ3YXRlcnNraW4iOjEsIm1lZGljaW5lIjo5OTk2LCJydWNrc2FjayI6MSwiY2hhcm0iOjUsImwgYXJtb3VyIjoxLCJpcm9uIjo5OTk5MjQsIndhZ29uIjoxLCJpcm9uIHN3b3JkIjowLCJjYXNrIjoxLCJpIGFybW91ciI6MSwiYm9sYXMiOjk5OTk5LCJzdGVlbCI6MTAwMDAwLCJzdGVlbCBzd29yZCI6OTk5OTQsImNvYWwiOjEwMDAwMCwid2F0ZXIgdGFuayI6MSwiY29udm95IjoxLCJzIGFybW91ciI6MSwiYWxpZW4gYWxsb3kiOjEwMDAxNywiZW5lcmd5IGNlbGwiOjEwMDAwMCwiYnVsbGV0cyI6MTAwNDI4LCJyaWZsZSI6MTAwMDAwLCJncmVuYWRlIjo5OTk3NywiYmF5b25ldCI6MTAwMDAxLCJzdWxwaHVyIjo5OTk5OX0sImNoYXJhY3RlciI6eyJwdW5jaGVzIjo0LCJwZXJrcyI6eyJldmFzaXZlIjp0cnVlLCJiYXJiYXJpYW4iOnRydWUsInNjb3V0Ijp0cnVlLCJwcmVjaXNlIjp0cnVlLCJnYXN0cm9ub21lIjp0cnVlfSwic3RhcnZlZCI6NCwiZGVoeWRyYXRlZCI6 |