This file contains 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
using Microsoft.Extensions.DependencyInjection; | |
namespace CtorDoesntThrow | |
{ | |
internal class CtorDoesntThrow | |
{ | |
static void Main(string[] args) | |
{ | |
var services = new ServiceCollection(); | |
services.AddScoped<IParent, Parent>(); |
This file contains 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
http://bfst.to/play/soccer.php |
This file contains 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
My advice is to simply walk around in the city centre and get yourself "lost" - go to Ribeira and enjoy the amazing view while drinking a nice beer and eating some tremoços (lupin beans) - careful with the prices, normally that area is very touristy and the prices are substantially higher. | |
If you are a Port wine lover, you should definitely make a visit to the Porto wine cellars. If you want to do tasting only - Kopke is a nice option. | |
On the other hand, if you have some time and want to make a visit and understand all the process and history of Port wine you can go to Sandeman or Taylor's. | |
Places to visit: | |
- São Bento train station -considered one of the most beautiful train stations in the world, mainly due to the 20,000 painted tiles, also known as "azulejos". Azulejo tiles are a classic part of Porto's contribution to art and can be seen throughout the city. You will also find them all over Portugal. | |
- Rua Santa Catarina - the shopping street of Porto - there you will find an elegant and very know |
This file contains 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
const cryptoJS = require('crypto-js'); | |
const moment = require('moment-timezone'); | |
module.exports = { | |
createEncodedOptsString(emailAddress, encryptionKey, iv, dateTime) { | |
let timestamp = null; | |
if (!dateTime) { | |
moment.locale('en-GB'); | |
timestamp = moment().tz('Europe/London').format('DD/MM/YYYY HH:mm:ss'); | |
} else { |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
[RoutePrefix("login")] | |
public class LoginController : ApiController | |
{ | |
private readonly ITokenProvider _tokenProvider; | |
private readonly IUserRepository _userRepository; | |
public LoginController(ITokenProvider tokenProvider, IUserRepository userRepository) | |
{ | |
_tokenProvider = tokenProvider; | |
_userRepository = userRepository; |