Skip to content

Instantly share code, notes, and snippets.

@neilser
neilser / ed_notes.md
Created March 26, 2022 13:14 — forked from corenting/ed_notes.md
Elite: Dangerous APIs findings
View ed_notes.md
@neilser
neilser / xbox_test.c
Created March 12, 2022 14:42 — forked from mmozeiko/xbox_test.c
Getting xbox controller input without xinput
View xbox_test.c
// cl.exe xbox_test.c /link setupapi.lib user32.lib
#include <windows.h>
#include <setupapi.h>
#include <dbt.h>
#include <stdio.h>
/// interface
#define XBOX_MAX_CONTROLLERS 16
@neilser
neilser / Netflix.seek.js
Created August 22, 2021 13:24 — forked from dimapaloskin/Netflix.seek.js
Netflix seek
View Netflix.seek.js
const videoPlayer = netflix
.appContext
.state
.playerApp
.getAPI()
.videoPlayer;
// Getting player id
const videoPlayer = videoPlayer
.getAllPlayerSessionIds()[0]
@neilser
neilser / AndroidManifest.xml
Created August 22, 2021 13:23 — forked from Venryx/AndroidManifest.xml
Record audio on Android in the background (even when screen is off)
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp">
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme">
<service android:name=".ForegroundService" android:enabled="true" android:exported="true"></service>
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"