Skip to content

Instantly share code, notes, and snippets.

View xmesaj2's full-sized avatar
🆗

Mesaj xmesaj2

🆗
View GitHub Profile
@xmesaj2
xmesaj2 / anbox-build.sh
Last active January 5, 2023 12:34 — forked from sr229/install-anbox-dkms-fedora.sh
Automated Script to Install Anbox Ashmem and Binder to WSL2 Linux Kernel
#!/bin/bash
sudo apt install build-essential cmake cmake-data debhelper dbus google-mock \
libboost-dev libboost-filesystem-dev libboost-log-dev libboost-iostreams-dev \
libboost-program-options-dev libboost-system-dev libboost-test-dev \
libboost-thread-dev libcap-dev libexpat1-dev libsystemd-dev libegl1-mesa-dev \
libgles2-mesa-dev libglm-dev libgtest-dev liblxc1 \
libproperties-cpp-dev libprotobuf-dev libsdl2-dev libsdl2-image-dev lxc-dev \
pkg-config protobuf-compiler python3-minimal
@xmesaj2
xmesaj2 / Dockerfile
Created April 25, 2020 08:38 — forked from kevnord/Dockerfile
Debugging .NET Core in Docker Container with Visual Studio Code. Based on https://github.com/Microsoft/generator-docker/issues/130#issuecomment-287222915
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 AS base
WORKDIR /app
EXPOSE 80
# DEBUG
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS debug
WORKDIR /app
@xmesaj2
xmesaj2 / CertHelpers.cs
Created December 26, 2019 11:08 — forked from TimHess/CertHelpers.cs
Postgres Client Certs
using Microsoft.Extensions.Configuration;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Security;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace PostgreEFCore
@xmesaj2
xmesaj2 / CustomFragmentsPresenter.cs
Created August 9, 2019 10:03 — forked from martijn00/CustomFragmentsPresenter.cs
Custom fragment handling in MvvmCross and Xamarin
public class CustomFragmentsPresenter : MvxFragmentsPresenter
{
public interface IMvxFragmentHostEx : IMvxFragmentHost
{
void Close(IMvxViewModel viewModel);
void ChangePresentation (MvxPresentationHint hint);
}
private IMvxNavigationSerializer _serializer;
//main
ServerToClient: SMSG_GUILD_ROSTER (0x008A) Length: 1349 ConnIdx: 0 Time: 02/02/2019 22:57:47.000 Number: 144
Number Of Members: 28
MOTD: Please remember that it is expected from every gm to be active and pay in mind that Yggr is handsome
Info: Click here to set message
Number Of Ranks: 5
[0] Rights: 913919 (GuildChatListen, GuildChatSpeak, OfficerChatListen, OfficerChatSpeak, Invite, Remove, Roster, Promote, Demote, SetMOTD, EditPublicNote, ViewOfficerNote, EditOfficerNote, ModifyGuildInfo, WithdrawRepair, WithdrawGold)
[0] Money Per Day: -1
[0] [0] Tab Rights: 255 (255)
[0] [0] Tab Slots: -1