I hereby claim:
- I am tuxuser on github.
- I am tuxuser (https://keybase.io/tuxuser) on keybase.
- I have a public key ASAVCSEflT-wFmJwlRUeccYBImM1WXyOhVSCBSJg-6rv2go
To claim this, I am signing this object:
''' | |
Microsoft Correlation Vector, used for telemetry purposes by Microsoft Web APIs | |
Source: https://github.com/Microsoft/Telemetry-Client-for-Android/blob/master/AndroidCll/src/main/java/com/microsoft/cll/android/CorrelationVector.java | |
''' | |
import re | |
import math | |
import random | |
class MsCorrelationVector(object): | |
MAX_CORRELATION_VECTOR_LENGTH = 20 |
#!/usr/bin/env python | |
""" | |
Based on pdb_downloader.py v0.1 by Steeve Barbeau | |
""" | |
import sys | |
import argparse | |
import requests | |
import pefile | |
import struct |
#include <stdio.h> | |
#include <windows.h> | |
#include <bcrypt.h> | |
#define NT_SUCCESS(x) (x == 0) | |
#define STATUS_SUCCESS ((NTSTATUS)0) | |
#define STATUS_ERROR ((NTSTATUS)1) | |
NTSTATUS SaveFile(PUCHAR dataBlob, ULONG dataSz, LPCWSTR filePath) | |
{ |
I hereby claim:
To claim this, I am signing this object:
OUTPUT_FORMAT(elf32-littlearm) | |
OUTPUT_ARCH(arm) | |
ENTRY(code_start) | |
PHDRS | |
{ | |
code PT_LOAD AT(M4_CODE_ADDR); | |
} | |
SECTIONS |
import logging | |
import argparse | |
from logging.handlers import RotatingFileHandler | |
""" | |
argparse_subcommands.py | |
# Argparse with subcommands |
""" | |
Sign in to Xbox Live with OAUTH2 | |
1. Go to https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade | |
2. Register new app ("+ New registration") | |
2.1. Enter a name for your app | |
2.2. Set "Supported account types" to "Personal Microsoft accounts only" | |
2.3. Click register | |
2.4. Choose "Redirect URIs" -> "Add a Redirect URI" | |
2.5. Click "Add a platform" -> "Mobile and desktop applications" |
# Copyright 1999-2020 Gentoo Authors | |
# Distributed under the terms of the GNU General Public License v2 | |
# This ebuild requires globally installed npm package: typescript | |
EAPI=7 | |
inherit gnome2-utils | |
if [[ ${PV} == "9999" ]]; then | |
EGIT_REPO_URI="https://github.com/pop-os/shell.git" |
/* | |
* Uses hack from https://www.partsnotincluded.com/fastled-rgbw-neopixels-sk6812/ | |
* At least the LED Count is correct now.... | |
* | |
*/ | |
#include "FastLED.h" | |
#include "FastLED_RGBW.h" | |
#define ANALOG_MODE_AVERAGE 0 |
#include <Adafruit_NeoPixel.h> | |
#ifdef __AVR__ | |
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket | |
#endif | |
/************************************** | |
S E T U P | |
set following values to your needs | |
**************************************/ |