Skip to content

Instantly share code, notes, and snippets.

[
{
"archiveName": "Show Container Contents-829-0-2-0-1617238149.zip",
"downloadIds": {
"fileId": 3171,
"gameId": "valheim",
"modId": 829
},
"allowAutoInstall": true,
"allowAutoEnable": false,
@LexiconCode
LexiconCode / vscode.py
Created April 27, 2019 02:26
VScode REST api extension example
# Uses vs-rest-api to execute actions instead of keyboard shortcuts
# https://github.com/mkloubert/vs-rest-api
# You will need to change send to command_or_key_nexus or add it through utilities.py
import string
import requests
from dragonfly import (Grammar, Dictation, Repeat, Function)
from castervoice.lib import control
from castervoice.lib import settings
@LexiconCode
LexiconCode / pr.md
Created October 18, 2018 21:51 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: