Your cart is currently empty!
Category: Programming
-
Download JSON data dynamically in Angular
Here is a quick code snippet that shows how we can download JSON data. This is useful for saving the application ‘state’ kind of like a save feature ๐ผ I hope this helps you create a component that allows you to save JSON data โ
-
Star Haulers
Inspired by the hit game Lovers in a Dangerous Spacetime, our game offers a unique local co-op experience that will test your teamwork and communication skills like never before. With a fun and engaging learning curve, this game is perfect for families who want to bond and have fun together. Rally your family and work…
-
Cant push to git? Maybe you need this…
If you cant push to GIT, it may be something as simple as configuring your git settings. You can do the following by typing these commands in git bash:
-
How to map from one dynamic object to another in typescript ๐
I wanted users to be able to select a style from a drop down at GeoJson-Styler (jcianci12.github.io) The user can choose how they want their geoJSON objects styled. at the moment the options are colour, text, and opacity. The classes look as follows: As you can see the text class is different to the other…
-
Fixing MVC 5 Intellisense false errors (erroneous errors) ๐ข๐ฃ๐
This one really had me scratching my head. My error was looking similar to this stack overflow post – like this: The type ‘Expression<>’ is defined in an assembly that is not referenced Here is what worked for me… Locate the Web.Config in the root of your project (not the one in the views folder)…
-
Angular CSV to JSON ๐
Here is a handy little pipe that allows csv to JSON (Usefull for importing CSV files into your angular app)
-
Unity Get Closest Object ๐ฎ
-
Angular behind NGINX blank page
TLDR:- Try your site in edge OR reset your cache like so: Click on the hamburger menu Click settings In the search box enter “cache” You should see the option to “Clear Data” click this! Now you should be fetching all fresh data. And if the issue is resolved, the page should load. Otherwise likely…
-
Angular Getters and Setters on @Input() fields
Here is a handy cheat sheet… I kept forgetting the syntax of when an @input() decorator was used with a setter ๐คฆโโ๏ธ Getter Setter The cool thing is that when you set the value of the variable, you can trigger a function call as above ๐
-
Leaflet Types for Angular๐ฉโ๐ป
When developing angular applications that use leaflet, you can run into some issues. ๐ฃ Perhaps you are trying to import leaflet like this One of the most common issues (perhaps when developing with later versions of angular which use strict typescript rules by default) is you run into an error where you receive the error:…