Posts

Host ASP.NET Core on Linux with Nginx (Additional Notes)

I could submit this to the repo but like the half blood prince, I'm keeping all the good stuff for myself. Plus it would have to go through the proper channels and who's got time for that. Instead I'm just want to get back to working on my applications and handling multiple applications is time consuming. Framework Issues ran into issue where the frameworks were not the same on the linux box as my machine. However the errors were not helpful to figure this out. https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current Exporting Issues  - I just keep forgetting the command and you can ignore all the linux based ones. dotnet publish --configuration Release Is there really any difference with builds for OS versions? From what I can tell no... They probably will or should just remove it. Make the build detect the os and if its going to be cross platform just work every anyway. Aspnet 2.1 changing the port using the environment variable

Linux CLI: Tab Autocomplete broken

If your finding your command terminal acting weird like mine did, and can't seem to find out whats happening. Don't panic! Remember this wonder snippet. set show-all-if-ambiguous on set show-all-if-unmodified on Notes:  Tab does not auto-complete in terminal

PostGreSql and EFcore: Cheatsheet

Rather then writing a separate article on Postgresql and another one with Efcore, I'll place my notes here. I currently only seem myself using it with EFcore and instead using mongodb with nodejs. Redis is still on my list of things to use more extensively in the future. https://wiki.postgresql.org/wiki/First_steps https://stackoverflow.com/questions/10845998/i-forgot-the-password-i-entered-during-postgres-installation https://stackoverflow.com/questions/40614466/postgresql-9-5-allow-remote-connections-without-editing-pg-hba-conf-file https://www.thegeekstuff.com/2014/02/enable-remote-postgresql-connection/ https://stackoverflow.com/questions/18664074/getting-error-peer-authentication-failed-for-user-postgres-when-trying-to-ge http://www.postgresqltutorial.com/postgresql-insert/ https://stackoverflow.com/questions/10335561/use-database-name-command-in-postgresql https://dba.stackexchange.com/questions/1285/how-do-i-list-all-databases-and-tables-using-psql https://stacko

Postfix Cheatsheet

Updated As of 7/23/18 I'm still working on my own systems and postfix isn't easy to handle. So this article will go through multiple changes in the next year. Hopefully I will have a little more personal experience to add. -https://help.ubuntu.com/lts/serverguide/postfix.html - http://www.postfix.org/postconf.1.html -https://wiki.archlinux.org/index.php/S-nail -http://manpages.ubuntu.com/manpages/xenial/man1/s-nail.1.html -https://serverfault.com/questions/669847/how-to-disable-sslv3-in-postfix-2-11 -https://community.nodemailer.com/ https://serverfault.com/questions/632213/postfix-cannot-authenticate-against-sasl https://serverfault.com/questions/856054/postfix-authentication-not-working-from-nodemailer http://postfix.state-of-mind.de/patrick.koetter/smtpauth/postfix_configuration.html https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-16-04 -https://stackoverflow.com/questions/33792811/node-js-nodemailer-smtptransp

Working Dotnet 2.0 with Ubuntu 16.04

Image
  One of the bugs I ran into on my journey was not using the published version of my aspnet application but moving from 1.x to 2.0 of dotnet. I was already setup to use https but I don't think my nginx configs were the issue but instead the app not building a published build of the app. just use the publish command and everything worked as planned. -  https://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproduction?tabs=aspnetcore2x -  https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new?tabs=netcore2x aspnet core inside a linux system Conclusion I'm very happy with my solution, I haven't found a lot of issue except the some of the issue that were related to version differences with 1.x/2.0. I believe I've found a way to simplify the tutorial provided in the Microsoft by using docker. Running docker no whatever port you need and then from there write the configs to nginx.

Updating to ParticleSystems In Unity3D

Image
This article loosely based on a service I want created and hopefully will soon be published. I just thought it would be beneficial for some to know. Since I like to keep on top of things this is one of the many issue I run into when adapting other people's code. This is a huge jump from 2016 to the 2017 version of unity3d. Notes -  https://www.gamasutra.com/view/feature/131565/building_an_advanced_particle_.php Using the correct enable property -  https://docs.unity3d.com/ScriptReference/ParticleSystem.EmissionModule-enabled.html Max and Min Particles Seems to be gone -  http://answers.unity3d.com/questions/1136597/changing-particle-emission-rate-via-c-script.html I believe the fields move to MinMaxCurve -  http://answers.unity3d.com/questions/1395242/particlesystem-does-not-contain-a-definition-for-m.html -  https://docs.unity3d.com/ScriptReference/ParticleSystem.MinMaxCurve.html ParticleSystem.startLife Instead of this field on the particle system it is on

Research on Certbot for IIS

Image
   If you don't know the days of paying for security is over! Certbot solves the age old program for being SSL compatible for all your sites. Since I've move out of the cloud, things haven't gotten easier but for securing my websites its a snap so I couldn't recommend certbot enough. However for my personal work with employers IIS is a must and that's where things get tricky.  Since I don't have the time I wanted to bring anyone wondering about this topic up to speed. Here's the forms and ticket issues related that I'm aware of, and hopefully get finish. - https://github.com/certbot/certbot/issues/1794 - https://github.com/ebekker/ACMESharp - https://community.letsencrypt.org/t/running-certbot-on-windows-phase-1/28348/16

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql