Skip to content

Instantly share code, notes, and snippets.

@HimDek
HimDek / Install Android apps or apk files in Windows using Windows Subsystem for Android (No Emulator).md
Last active May 10, 2024 13:33
This Guide will show you how to install and run apk files or Android apps in any Edition of Windows 11 using Windows Subsystem for Android. WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator.

Install Android apps or apk files in Windows using Windows Subsystem for Android

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow my guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • Windows Subsystem for Android or WSA must be Installed.

Click here to view the guide that shows how to install Windows Subsystem for Android in any Edition of Windows 11 (including Windows 11 Home) non Inider or stable release.

How to Install Android Apps or apk files in Windows Subsystem for Android:

@nh2
nh2 / tcp-nodelay.md
Last active May 10, 2024 13:26
Understanding TCP_NODELAY

I believe the following is the best way to work with Nagle's algorithm / TCP_NODELAY / TCP_CORK.

It is described in this RedHat manual and the verdict is:

  • Set TCP_NODELAY = 1, always.
  • If you can batch data for sending by creating a buffer manually, or using writev(), prefer that.
  • If you cannot (e.g. "when using different libraries that provides abstractions for layers" from the above manual):
    • Set TCP_CORK = 1, then write the data, then set TCP_CORK = 0.
  • This builds a packet in kernel space and then flushes it out.
@sheepla
sheepla / LinuxユーザーのためのWindowsカスタマイズガイド.md
Last active May 10, 2024 13:25
LinuxユーザーのためのWindowsカスタマイズガイド

LinuxユーザーのためのWindowsのおすすめツール・アプリケーション+個人的なカスタマイズガイド

これはなに?

普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。

ターミナル

@ID-JA
ID-JA / Program.cs
Last active May 10, 2024 13:25
Send Email using FluentEmail package (SMTP)
using FluentEmail.Core;
using FluentEmail.MailKitSmtp;
using Microsoft.AspNetCore.Mvc;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
// register service
@diegofcornejo
diegofcornejo / 1. GRAFANA.md
Last active May 10, 2024 13:25
Setting Up a Monitoring Stack with Grafana, Prometheus, Node Exporter, and cAdvisor in Docker Compose, Exposed via NGINX

Setting Up a Monitoring Stack with Grafana, Prometheus, Node Exporter, and cAdvisor in Docker Compose, Exposed via NGINX

This guide provides instructions on setting up a comprehensive monitoring stack using Grafana, Prometheus, Node Exporter, and cAdvisor. These components are orchestrated with Docker Compose and exposed via an NGINX reverse proxy, making them accessible through a single domain.

Components

  • Grafana: The analytics and monitoring solution with support for multiple data sources, including Prometheus.
  • Prometheus: The monitoring and alerting toolkit, collecting metrics from configured targets at specified intervals.
  • Node Exporter: A Prometheus exporter for hardware and OS metrics exposed by *NIX kernels.
  • cAdvisor: Analyzes resource usage and performance characteristics of running containers.
{
"editor.stickyScroll.scrollWithEditor": true,
"editor.showFoldingControls": "always",
"explorer.compactFolders": false,
"workbench.tree.indent": 15,
"workbench.tree.renderIndentGuides": "always",
"diffEditor.diffAlgorithm": "advanced",
"diffEditor.experimental.showEmptyDecorations": true,
"diffEditor.experimental.showMoves": true,
"editor.guides.bracketPairs": true,
@pratyakshm
pratyakshm / Sideloading_apps_in_WSA.md
Last active May 10, 2024 13:22
Sideloading apps on Windows Subsystem for Android in Windows 11

Sideloading APKs in to Windows Subsystem for Android

Update (9th July, 2022): An app is available that does just this.

Check out WSATools by Simone Franco: https://www.microsoft.com/store/apps/9N4P75DXL6FG


Setting up ADB to work with WSA

  • Launch Windows Subsystem for Android.
@boaglio
boaglio / atalhos-ij.md
Last active May 10, 2024 13:17
Atalhos do IntelliJ - para quem veio do Eclipse

Atalhos do IntelliJ

Principais

Caiu no IntelliJ agora?

Aprenda só esses:

Tipo de Atalho IntelliJ IDEA
@TimKraemer
TimKraemer / trip2excel.py
Last active May 10, 2024 13:17
python script to create a driver's log book "Fahrtenbuch" for Excel based on Google's Maps Timeline takeout data
import json
import sys
from datetime import datetime
import csv
import os
from geopy.geocoders import Nominatim # pip install geopy
def convert_date(date_str):
# Parse the ISO 8601 format date string
@githubcom13
githubcom13 / Protonmail.md
Last active May 10, 2024 13:12 — forked from ibaiul/Protonmail.md
Configure the protonmail bridge linux client on Ubuntu 20.04 and Debian 10 server

Protonmail on Ubuntu 20.04 and Debian 10 server

#protonmail #debian #linux

Before you start

Currently protonmail bridge for linux is distributed as part of an open beta program, but soon it will be made public (https://protonmail.com/bridge/install).

Consider that the bridge linux client requires a paid protonmail account to work.

Get the protonmail bridge linux installer