Skip to content

Instantly share code, notes, and snippets.

@snooptheone
snooptheone / install_rtl8852au.sh
Last active January 5, 2026 13:49
This script is for installing the UGREEN AX1800 (Realtek rtl8852au) USB WiFi adapter on SteamOS, may work on other dongles using the same chip but I didn´t test it.
#!/bin/bash
# This script is for installing the UGREEN AX1800 (Realtek rtl8852au) USB WiFi adapter on SteamOS
# It is based on the instructions from
# https://github.com/lwfinger/rtl8852au
# and
# https://techship.com/faq/how-to-change-usb-mode-from-storage-to-cellular-device-for-huawei-ms2372-series-usb-4g-lte-cellular-sticks-in-linux-systems/
set -e
@ianbarber
ianbarber / RetrieveAccessTokenActivity.java
Created March 17, 2014 20:22
A quick example of retrieving an access token with GoogleAuthUtil
package com.google.devrel.samples.gmstest.app;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
@MartinMReed
MartinMReed / openssl_server.c
Last active January 12, 2026 09:28
OpenSSL Server, Reference Example
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>
#include <string>
#include <sys/socket.h>
#include <netinet/in.h>
#define IP_ADDR INADDR_ANY