I have had a rough week as a hobby Android developer. TLDR: My app has been rejected from Google Play because it requires the read call log permission, and I’m going crazy trying to get Google to restore it.
Author Archives: Bjarte Aune Olsen
Build, test and deploy a dotnet core website using Cake, TeamCity and Octopus Deploy
I have just completed setting up a simple deploy pipeline for a dotnet core project where I use TeamCity to build the project and run xUnit tests and then Octopus Deploy to deploy. One of the things I wanted to try out for this project, was to use Cake Build to make a build script. […]
Use WordPress on HTTPS site with load balancer
WordPress by default uses a pretty simple test to check if your site is running on https or http . In wp-includes/load.php we find the following method:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
function is_ssl() { if ( isset( $_SERVER['HTTPS'] ) ) { if ( 'on' == strtolower( $_SERVER['HTTPS'] ) ) { return true; } if ( '1' == $_SERVER['HTTPS'] ) { return true; } } elseif ( isset($_SERVER['SERVER_PORT'] ) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { return true; } return false; } |
In short, if either server variable HTTPS is “on” or “1” or if server variable SERVER_PORT is “443”, assume the site is running on https A sexual […]
Xamarin: Reload an iOS CallKit call directory extension from the app
I you want to make a call directory extension for iOS, for identifying or blocking certain phone numbers, you need a way to reload the extension every time you want to add or remove from the list of phone numbers you are blocking . To reload the extension, you can either get your users to […]
How to create an iOS call directory extension in Xamarin for blocking thousands of phone numbers
AÂ call directory extension is used to block or identify phone numbers on an iPhone, phone numbers the user don’t have in their contact list . TL;DR: Because iOS app extensions have very limited resources, it is difficult to load many thousand phone numbers into the call directory without the extension crashing . This is my […]
How to enable loopback adapter in Windows 10
common usage. Injection therapy with alprostadil or a• Lifestyle factors How to get viagra.
Use C# interactive in Visual Studio to experiment with your code on the fly
I needed to quickly test a regular expression, and the new feature of Visual Studio 2015 came to the rescue: C# Interactive
Visual Studio Code and AutoHotkey
2016-02-10 Update: This post is about how to get around a bug in Visual Studio Code. This bug is now fixed, and my automatic text replacement (described in this blog post), works just as well in Visual Studio Code as in other applications. In my previous post, Use automatic text replacement to speed up your coding […]
Use automatic text replacement to speed up your coding and typing
In programming, and probably in most other lines of work where you work with text on a computer, there are some symbols and special characters that you use a lot, but that are quite difficult to type. Perhaps you need to hit a combination of keys to produce the symbol, or even more time-consuming, you might […]
Live preview of website when editing in Visual Studio Code
VSCode, being extremely lightweight (at least compared to Visual Studio), does not come with its own web server. This can be a bit confusing for those of us used to just hitting F5 in Visual Studio and getting our website launch in a browser. When using VSCode, you have to rely on the power of […]