The most beautiful clock in the world
Popsicle Clock by Vitra
Popsicle Clock by Vitra
When you do localization in Visual Studio you need a tool to check which labels are not translated in other languages and to generally overview translations. This is a good VS exstension: https://github.com/tom-englert/ResXResourceManager/wiki/Usage
The default providers are: QueryStringRequestCultureProvider CookieRequestCultureProvider AcceptLanguageHeaderRequestCultureProvider Most likely the culture is determined from the Accept-Language HTTP header that the browser is sending. In Startup.cs put this fro Slovenian: and in Configure method just use app.UseRequestLocalization(); before app.UseMvc();
To have identity tables in MySQL install Pomelo package, set the connection string and DBContext in Startup.cs like this: services.AddDbContext(options => options.UseMySql(Configuration.GetConnectionString(“MySqlConnection”)); Open NuGet > Package Manager ConsoleRun: EntityFrameworkCore\Update-Database -VerboseRun: update-database
This post was inspired by great this find, which I managed to search while working on one project. It happens few times in the past that some interested content was not available any more and in order to save this great cheatsheet I am copying it from LeCoupa
As much as I loved Adidas sneakers (since I was kid, from original Wimbledon and Universal model) I must tell you that I hate this “shit quality” direction they are aiming. By devoting so much money in marketing and paying these professional athletes ridiculous amount of money they are directly failing us, old customers. You can not remove all you production facilities into Asia (China, Bangladesh, Vietnam…) and sell us some shitty plastic low quality products. Don’t be a hunk, open only 1 factory in Europe and start producing jus…read more
Latest Toyota cars or let’s say last two generations are the worst designed cars in the whole world (my personal opinion). I got angry every time when I spot some new Toyota model in daily traffic. I can not describe why I got angry when I look this Quasimodo ugliness but I found out that it is Toyota design that makes me angry. I am not specialized in design, but the rules how these cars are designed, influence my calmness in a bad way. Few days ago, I was behind…read more
This Friday, 16th March 2018 it was all working well and today on Monday 19th March 2018 it stopped working and Firefox and Chrome are redirecting my development websites to HTTPS. After searching what could be thee cause I found out that if your development website ends with .dev domain extension then both browsers demand that you have commercial SSL and not self-signed. The solution of this problem was to change all my projects and settings from .dev to .test and now it is working again. I hate these kind…read more
Strange behaviour – it just stopped working 10 days ago and after a long search found a solution in specifying additional parameters in SSL connection, so working example should be like this: try { $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 2; $mail->SMTPAuth = true; $mail->SMTPSecure = ‘ssl’; $mail->SMTPOptions = array ( ‘ssl’ => array ( ‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true ) ); $mail->Host = “smtp.gmail.com”; $mail->Port = 465; $mail->IsHTML(true); $mail->Username = GOOGLE_SMTP_USERNAME; $mail->Password = GOOGLE_SMTP_PASSWORD; $mail->SetFrom(SMTP_USERNAME); $mail->Subject = “Test”; $mail->Body = “hello”; $mail->AddAddress(YOUR_RECEIVING_EMAIL); if(!$mail->Send()) {…read more
You probably accidentally deleted some important files more then once. It is especially sensitive when it comes to photos from your family trip and when you deleting by instinct with SHIFT+Delete (avoiding Recycle Bin). I did that today and I needed some simple data recovery software. I remembered that there is File Scavenger who can restore accidentally deleted files and I installed it. Scanned the drive, found my photos and when I wanted to recover them I found out that I need to buy the licence for 55$. I didn’t…read more