silvercircle/github/io
Twitter Facebook Google+ Google+ Email

Category: Development - overview

12 articles in this section. Page 1 of 2

Serving .NET Core apps on Linux with nginx and Kestrel

Last modified:
1430 Words
23:00 | by Alex Vie in SiteDevelopment
Reading time: approx. 5 minute(s)

A small explanation how to configure the Kestrel .NET Core web server to use Unix domain sockets on Linux, when acting as a backend server behind Nginx.

Code taken from the default .NET Core MVC application template and only slightly modified.


uWSGI configuration example for a Django/Wagtail app

Last modified:
2519 Words
17:00 | by Alex Vie in SiteDevelopment
Reading time: approx. 9 minute(s)

uWSGI is a widely accepted standard for deploying web applications in many different frameworks and languages, though it is particularly popular in the Python and to some lesser extent, the Ruby ecosystems.

This example shows a typical configuration for a Django web application in Python 3, using uWSGI in emperor mode.


Go cheat sheet and tips

Last modified:
512 Words
22:00 | by Alex Vie in SiteDevelopment
Reading time: approx. 1 minute(s)

A curated list of things I encountered when using the Go language. Most of this stuff is probably mentioned elsewhere, so this should be seen as some kind of personal reference. You may or may not find anything useful here.

This will be updated frequently or occasionally, depending on what I may find noteworthy.


FreeBSD Cheat Sheet

Last modified:
1487 Words
03:02 | by Alex Vie in Development
Reading time: approx. 5 minute(s)
FreeBSD small daemon logo
FreeBSD small daemon logo

This is a personal collection of items I took note of for later reference, after I recently picked up FreeBSD again.

May not be useful at all for anyone except myself and is kept here for personal reference mainly.

freebsd

Diving into the D language

Last modified:
687 Words
17:51 | by Alex Vie in Development
Reading time: approx. 2 minute(s)

I’m currently in curious mode, trying out some new things. After learning the basics of Rust a couple of months ago, I’m now back to a language I had first contact with many years ago - D.

Lots of progress has apparently been made in recent years and D presents itself as a complete language with high productivity value. At least, that’s what D apologets claim.


Cygwin and ZSH - Delete, Home and End keys

Last modified:
223 Words
15:09 | by AlexVie in Development
Reading time: approx. 0 minute(s)

Under certain configurations, the Home, End and Delete keys will insert arbitrary characters (in most cases, the tilde symbol) when using the popular ZSH under Cygwin.

This is caused by a wrong or missing keyboard configuration and easy to fix by adding a few lines to the .zshrc.


How to set global font scale for Qt applications

Last modified:
349 Words
10:25 | by AlexVie in DevelopmentQtC++
Reading time: approx. 1 minute(s)
Qt Logo
Qt Logo

Sometimes, fonts appear to small in Qt applications. If that is the case, a simple solution is possible, either globally for all Qt applications or per application.


Using AGG with buffered paint

Last modified:
818 Words
13:02 | by AlexVie in C++Development
Reading time: approx. 2 minute(s)

AGG is a cross-platform, high performance and high-quality 2d vector graphics library. It is written in C++ and comes as a collection of template classes with no dependencies except STL.

In this example, we look how we can use it with the buffered paint API in Windows.


Rendering to a device context with AGG (AntiGrain)

Last modified:
1476 Words
00:36 | by AlexVie in C++Development
Reading time: approx. 5 minute(s)

AGG is a cross-platform, high performance and high-quality 2d vector graphics library. It is written in C++ and comes as a collection of template classes with no dependencies except STL.


WTF is a Yoda condition?

Last modified:
535 Words
09:18 | by AlexVie in DevelopmentFun
Reading time: approx. 1 minute(s)

What is a “Yoda condition” and do I really need it? In short, it is a reverse notation of certain conditional statements in C/C++.