Skip to content

Instantly share code, notes, and snippets.

View bjarkirafn's full-sized avatar

Bjarki Rafn Gudmundsson bjarkirafn

View GitHub Profile
@bjarkirafn
bjarkirafn / registries.json
Last active May 17, 2021 22:59
Registry Settings
[
{
"Root": "HKCU",
"Path": "\\Control Panel\\Desktop",
"Name": "Wallpaper",
"Type": "REG_SZ",
"Value": "%SYSTEMROOT%\\web\\Wallpaper\\custom\\01.jpg"
},
{
"Root": "HKCU",
@bjarkirafn
bjarkirafn / Import JSON data.EXCEL.yaml
Created May 17, 2021 03:27
Imports JSON data into a table.
name: Import JSON data
description: Imports JSON data into a table.
host: EXCEL
api_set: {}
script:
content: |
$("#import-json-data").click(() => tryCatch(importJsonData));
async function importJsonData() {
await Excel.run(async (context) => {
@bjarkirafn
bjarkirafn / duckduckgo.md
Last active November 29, 2020 01:06
duckduckgo
@bjarkirafn
bjarkirafn / README.md
Last active November 25, 2020 14:35
Fonts
‎‎​
@bjarkirafn
bjarkirafn / glyph-info.md
Last active November 9, 2020 17:43
glyphs
We couldn’t find that file to show.
@bjarkirafn
bjarkirafn / magick-snippets.md
Last active November 3, 2020 21:50
ImageMagick
ACTION COMMAND
png to ico magick image.png -alpha off -resize 256x256 -define icon:auto-resize="256,128,96,64,48,32,16" image.ico
@bjarkirafn
bjarkirafn / contextMenu.md
Last active November 12, 2020 19:09
windows registry snippets

Cascaded Context Menu

  • how to
  • HKEY_CLASSES_ROOT\Directory\Background\shell
  1. Create a new key under the shell key.
  2. Name the key what you want the command to be shown as, for me it will be "Open Command Prompt"
  3. Right click the created key and add a new key called command(The sub key must be named command for it to work)
  4. Change the default value of the command key to the code that should be ran when the command is selected(ex: cmd.exe)