Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

178 total results found

VSCode for GoLang

GoLang Development

From this page: https://learn.microsoft.com/en-us/azure/developer/go/configure-visual-studio-code 1. Install Go Install Go from the official page. This installs the compiler, the Standard Library, and many tools to perform various common tasks during Go deve...

programming
GoLang
VSCode
debugging

Angular: Add Query Parameters without Router

Angular Dev

Sometimes it is necessary to add query parameters to a REST API url without going through the Angular router logic, such as when doing paginated lists on large tables. To make this easy to do, just use the HttpParams module. Import it with: import { HttpPar...

angular
programming
.net

Angular Dynamic Routing

Angular Dev

Here’s a technique for implementing dynamic routing, where we want a common page or component to serve multiple route paths. If you’re interested in passing query parameters through Angular routes, see this: Angular: Add Query Parameters without Router Imple...

angular
programming

Angular: Get Button Name

Angular Dev

When building navigation, or handling button clicks, it’s sometimes necessary to retrieve the name of a button (or other control) from the click event. This is done by drilling into the MouseEvent that is passed into the handler. Basically, we get the target ...

programming
angular

Angular Context Menu

Angular Dev

Here’s some notes on context menus in Angular. This article was used as basis: Context Menus Made Easy with Angular CDK The above article reference included a working StackBlitz, downloaded, here: angular-yd6ay3.zip It uses the overlay functionality from An...

angular
programming
web-dev

Typescript This

Angular Dev

Taken from an older version of the Typescript handbook, as the latest does not include this, but is still relevant. This Learning how to use this in JavaScript is something of a rite of passage. Since TypeScript is a superset of JavaScript, TypeScript develo...

angular
TypeScript
programming

HTML CSS Prevent Text Selection

Angular Dev

Here’s a simple css style you can add to your styles.scss of any project, to prevent user selection of text. .prevent-select { -webkit-user-select: none; /* Safari */ -ms-user-select: none; /* IE 10 and IE 11 */ user-select: none; /* Standard syntax ...

web-dev
html
angular

Thin Vertical Scrollbar

Html Dev

Here's a block of CSS that will generate a thin vertical scrollbar: .scroll-thin { overflow-y: auto; /* Firefox */ scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.3) transparent; } /* WebKit Browsers */ .scroll-thin::-webkit-scrollb...

Swapping Side-Nav Groups

Angular Dev

As your application grows in complexity, it will be come necessary to add layers to your side navigation menus. One way to do this, is to swap in the different layers, based on context. For example: Below is a side-nav menu with a top-level entry list: If...

OpnSense Notes

System Administration

Here’s a collection of notes and details for the house router setup. Build Software: OpnSense 24.7.4_1 Hardware: Gigabyte H97N-Wifi motherboard Processor: Intel i5-4460 Setup Base setup was done following this article: https://homenetworkguy.com/how-to/s...

Administration
infrastructure
Networking

Angular: Access CSS Variables

Angular Dev

CSS Variables can be defined in css (or SCSS) like this: NOTE: These are defines in the root element, in the styles.scss file of an app. :root { --sidenav-width: 300px; --sidenav-collapsed-width: 50px; --sidenav-background-color: var(--app-bac...

angular
programming
web-dev

Layout Service

Angular Component Book

The layout service provides the means to display and swap in outer-frames of an app. This service is given two things: Layout Anchor - that tells where to inject outer frame layouts into the DOM Layout Choices - an array list of available outer frames, or...

Runtime Security Service

Angular Component Book

Add the Library Add the library to your app. App.Config.ts (formerly App.Module.ts) Import the service and injection token: import { RUNTIMESECURITYSERVICE_INJTOKEN } from 'lib-oga-webui-sharedkernel'; import { RuntimeSecurityService } from 'lib-oga...

REST Base Service

Angular Component Book

We have a base REST API service that we can leverage in the entire app stack. It encapsulates the ceremony of dealing with backend calls, and provides us with a clean set of generic, async methods. It's located in: lib-oga-webui-sharedkernel. To use in a co...

Generic Web Reply

Angular Component Book

This is a class that is returned by the REST Base Service: Runtime Security Service It is a generic struct, returned by a web call, that contains the status of the call, any error that occurred, and the data if received. It has the following properties: d...

Web Push Notifications

Angular Dev

Here’s some initial references for setting up Push Notifications in web pages. Service Worker API - Web APIs | MDN Push API - Web APIs | MDN Push notifications overview  |  Articles  |  web.dev Push notifications are now supported cross-browser  |  Blog  |...

programming
web-dev
angular

Supermicro Fan Problems

System Administration

If you are running Noctua cooling fans in your PC and the PC is cycling fans up and down, then it’s probably because the motherboard thinks a fan has failed and is ramping them all up to compensate. This is happening because Noctua fans run a lower RPM than o...

supermicro
Administration
infrastructure

Supermicro Fan Scripting

System Administration

Some references: https://www.truenas.com/community/threads/script-hybrid-cpu-hd-fan-zone-controller.46159/ https://www.truenas.com/community/threads/script-to-control-fan-speed-in-response-to-hard-drive-temperatures.41294/ https://forums.servethehome.com/in...

Administration
infrastructure
supermicro

Good Article on Net Core With or Without IIS

.NET

Publishing and Running ASP.NET Core Applications with IIS - Rick Strahl's Web Log (west-wind.com)

programming
.net
dotnet

Raspberry PI Notes

Raspberry PI

Here’s some references and notes for PI service and IO stuff. NET Core and GPIO on the Raspberry PI - LEDs and GPIO PinNumberingScheme Enum (System.Device.Gpio) Use GPIO for binary input - .NET Blink an LED - .NET Blink an LED - .NET

RaspberryPi