Skip to content

Instantly share code, notes, and snippets.

View albilaga's full-sized avatar
🏠
Working from home

Albilaga Linggra Pradana albilaga

🏠
Working from home
View GitHub Profile
@LynoDesu
LynoDesu / AndroidHelpers.cs
Created June 20, 2018 19:04
Disable ShiftMode in Xamarin.Forms Android BottomNavigationView
using System;
using Android.Support.Design.Internal;
using Android.Support.Design.Widget;
namespace MyProject.App.Droid.Helpers
{
public static class AndroidHelpers
{
public static void SetShiftMode(this BottomNavigationView bottomNavigationView, bool enableShiftMode, bool enableItemShiftMode)
{
@aldy505
aldy505 / automated-deployment-systemd.md
Last active March 27, 2025 18:08
Automated deployment with systemd on remote server

Automated deployment with systemd on remote server

For any programming language, but this time, we'll do C# (ASP.NET Core backend application). I'm using GitHub Actions with no plugins or some fancy third party dependencies whatsoever, hopefully you can adapt this into your CI runner of choice.

The GitHub Actions file and the bash script file should be easily understood.

If you don't know what a certain command does, you should Google it.

Important

I would advise you to NOT use a public IP address, and you shouldn't open your port 22 publicly.