For some reason Atlassian SourceTree not only disallows force push by default, but actively hides the feature.
I suppose this is to prevent people new to the GIT versioning system from performing destructive operations.
Unfortunately, developers often wrongfully assume SourceTree does not support this feature.
Thankfully there is a very simple way to enable force push in the UI.Read more »
Today on stream
we ran into an interesting error where we couldn’t import the electron library correctly within the render (browser) process.Read more »
fs-jetpack library is a fantastic way to interact with the filesystem in NodeJS.
Be careful, I ended up underestimating its simplicity and made the following mistake!Read more »
The Read more »RSpec for DNS
An awesome tool from Spotify for testing your infrastructure after a terraform run!
Read more »It is common to want to export variables out of the code and into the GUI. When you export variables in Godot, your normal methods of casting may not work.
export(Node2D) var gem # doesn't work >:-( Solution-ish(?):
You sometimes just can’t. Sorry. Godot only supports certain native types for exporting to the GUI.
var player : Node2D var gem : Node2D export var count : Integer # Only native types can be exported
Read more »
fs module has a delapidated syntax, and is generally just a pain to use.
There is a much better solution available now.
Had an issue where my Read more »
KinematicBody2D would only collide with
StaticBody2Ds in one direction.
Tried switching one-way collisions on and off. Nothing.
Tried changing collision shape to concave. Nothing.
Do you find working with the
aws_cloudfront_distribution resource slow and painful?
If you work with AWS and Terraform regularly, surely you’ll be familiar with the horrendous waiting times AWS callously submits us to.
A simple trick applied to your Read more »
aws_cloudfront_distribution resource should do the trick!
Don’t waste money redirecting to
https with an
Instead, set up a “viewer protocol policy” on the caching behaviour of your AWS Cloudfront distribution.
Read more »
viewer_protocol_policy = "redirect-to-https"