Skip to content

Instantly share code, notes, and snippets.

AndreaMinato / auth.ts
Last active June 20, 2023 00:55
Typescript Vuex Module
import axios, { AxiosRequestConfig } from "axios";
import router from "@/router"; //shortcut to src
import { Module } from "vuex";
const authModule: Module<any, any> = {
state: {
loggedIn: false,
loginError: null,
username: null
troyfontaine /
Last active June 8, 2024 22:21
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

ZipFile / Pixiv App API.yaml
Last active April 28, 2023 01:31
Unofficial API specification extracted from Pixiv Android App
swagger: '2.0'
title: "Pixiv App API"
description: "Unofficial API specification extracted from Pixiv Android App v5.0.17"
version: "1.0"
- https