Skip to content

Instantly share code, notes, and snippets.

View florian-s-code's full-sized avatar

Florian S. florian-s-code

View GitHub Profile
@KreAch3R
KreAch3R / adb-ssh.md
Last active October 30, 2024 23:16
SSH: connect to a remote ADB server

Case:

A laptop running Android Studio and a linux server somewhere (office, basement, other side of the world) with connected Android devices. (No Android device connected on local laptop). Normally, you would have to unplug the device from the server, plug it into the laptop, continue development.

Now you can skip this.

(From now on, local is the laptop. The machine which doesn't have anything connected. remote is the machine which has the adb devices but doesn't have anything useful to do with them)

It can work both for Windows WSL and Linux local.

@kenpower
kenpower / gist:eaaecda932c6f2e7852c
Last active January 10, 2018 17:43
Manipulate a SFML vertex array using transforms
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include "stdafx.h"
#ifdef _DEBUG
#pragma comment(lib,"sfml-graphics-d.lib")
#pragma comment(lib,"sfml-audio-d.lib")
#pragma comment(lib,"sfml-system-d.lib")
#pragma comment(lib,"sfml-window-d.lib")
#pragma comment(lib,"sfml-network-d.lib")