Skip to content

Instantly share code, notes, and snippets.

View alehed's full-sized avatar

Alexander Hedges alehed

View GitHub Profile
alex@laptop:~/Documents/tmp$ gcsfuse --foreground --debug_fuse --debug_fs --debug_gcs --debug_http pony mount/
2022/07/15 08:17:19.811303 Start gcsfuse/0.41.4 (Go version go1.17.6) for app "" using mount point: /home/alex/Documents/tmp/mount
2022/07/15 08:17:19.811353 Opening GCS connection...
2022/07/15 08:17:19.811580 Creating a mount at "/home/alex/Documents/tmp/mount"
2022/07/15 08:17:19.811861 Creating a new server...
2022/07/15 08:17:19.811871 Set up root directory for bucket pony
2022/07/15 08:17:19.811874 OpenBucket("pony", "")
gcs: 2022/07/15 08:17:19.811880 Req 0x0: <- ListObjects("")
gcs: 2022/07/15 08:17:19.892643 Req 0x0: -> ListObjects("") (80.758111ms): not retrying ListObjects(""): Get "https://storage.googleapis.com:443/storage/v1/b/pony/o?maxResults=1&projection=full": oauth2: cannot fetch token: 400 Bad Request
Response: {
@alehed
alehed / after.py
Last active May 2, 2022 09:37
mavlink_python output comparison (shows changes in whitespace and quotes)
"""
MAVLink protocol implementation (auto-generated by mavgen.py)
Generated from: common.xml
Note: this file has been auto-generated. DO NOT EDIT
"""
from __future__ import print_function
import array
openapi: "3.0.0"
info:
version: 1.0.0
title: The Star Wars API
servers:
- url: https://swapi.dev/api/
paths:
/planets:
get:
tags:
@alehed
alehed / configuration.nix
Created June 10, 2021 11:44
Reproduction info for sddm crash
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@alehed
alehed / dcow
Last active January 15, 2018 20:04
A compiled dirtycow exploit for nixos