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
# Install node.js (With npm) | |
# Install angular-cli. | |
npm install -g @angular/cli | |
# Init new angular-cli project. | |
# Use the --style=scss flag if you want to use scss. | |
# Use the --routing flag if you want to use angular routing by default. | |
ng new my-project --style=scss --routing |
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
gource -f -960x540 --disable-progress --seconds-per-day 0.5 --stop-on-idle --auto-skip-seconds 0.1 --title project --file-idle-time 0 --hide filenames,progress,mouse --output-ppm-stream - | ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4 |
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 System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.Text.Encodings.Web; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Identity; | |
using Microsoft.AspNetCore.Identity.UI.Services; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.RazorPages; |
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.AspNetCore.Identity.UI.Services; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace MailSenderApp.Services { | |
public class EmailSender : IEmailSender { | |
public Task SendEmailAsync(string email, string subject, string htmlMessage) { | |
throw new NotImplementedException(); |
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
// ... Usings | |
using Microsoft.AspNetCore.Identity.UI.Services; | |
using MailSenderApp.Services; | |
namespace MailSenderApp { | |
public class Startup { | |
// ... Startup initializer and other methods | |
public void ConfigureServices(IServiceCollection services) |
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.AspNetCore.Identity.UI.Services; | |
using System; | |
using System.Collections.Generic; | |
using System.Net; | |
using System.Net.Mail; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace MailSenderApp.Services { | |
public class EmailSender : IEmailSender { |
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
{ | |
"ConnectionStrings": { | |
"DefaultConnection": "Server=myHost\\SQLINSTANCE;Database=myDataBase;Trusted_Connection=True;MultipleActiveResultSets=true" | |
}, | |
"EmailSender": { | |
"Host": "smtp.yourprovider.com", | |
"Port": 587, | |
"EnableSSL": true, | |
"UserName": "[email protected]", | |
"Password": "Y0urP4ssw0rd!!!" |
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
// ... Usings | |
using Microsoft.AspNetCore.Identity.UI.Services; | |
using MailSenderApp.Services; | |
namespace MailSenderApp { | |
public class Startup { | |
// ... Startup initializer and other methods | |
public void ConfigureServices(IServiceCollection services) |
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
<?php | |
phpinfo(); | |
?> |
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
[XDebug] | |
xdebug.remote_enable = 1 | |
xdebug.remote_autostart = 1 |
OlderNewer