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
CTRl+SHIFT+F | |
tick "Look In" to current document | |
tick regular expression | |
tick match whole word | |
Filetype *.cs | |
find: | |
(NotifyPropertyChanged|RaisePropertyChanged|ArgumentNullException|ArgumentOutOfRangeException)\(([\s\t\r\n]?)\"\b(_\w+|[\w-[0-9_]]\w*)\b\" |
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
https://userstyles.org/styles/37035/github-dark |
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
export default Ember.Controller.extend({ | |
center: L.latLng(56, 10.3), | |
zoom: 7, | |
statusText: Ember.computed('center', function() { | |
var c = this.get('center'); | |
return c ? `${c.lat}, ${c.lng}` : ''; | |
}), | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// | |
// URLResponse+Extensions.swift | |
// | |
import Foundation | |
extension URLResponse { | |
var lastModifiedHeader: String? { | |
get { | |
if let httpResp = self as? HTTPURLResponse, let lastMod = httpResp.allHeaderFields["Last-Modified"] as? String { |
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
import SwiftUI | |
import MapKit | |
import PlaygroundSupport | |
struct FontContantsListView: View { | |
var body: some View { | |
VStack { | |
Section(header: Text("Font weights").font(.headline).padding()) { | |
List { | |
Text("\(String(describing: Font.Weight.black))").fontWeight(Font.Weight.black) |
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
public class CustomLoggingScopeHttpMessageHandler : DelegatingHandler | |
{ | |
private readonly ILogger _logger; | |
public CustomLoggingScopeHttpMessageHandler(ILogger logger) | |
{ | |
_logger = logger ?? throw new ArgumentNullException(nameof(logger)); | |
} | |
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, |
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
.post-body img { | |
box-shadow: 0 2px 4px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%); | |
} | |
img { | |
border: 0; | |
max-width: 100%; | |
height: auto; | |
vertical-align: middle; | |
} |
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
dotnet new web -o Service1 | |
dotnet new web -o Service2 | |
dotnet new sln | |
dotnet sln add Service1 | |
dotnet sln add Service2 |
OlderNewer