Skip to content

Instantly share code, notes, and snippets.

View martonlederer's full-sized avatar

Marton Lederer martonlederer

View GitHub Profile
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; worker-src 'wasm-unsafe-eval'; object-src 'self'"
}
Would love to talk to you about your github username (potentially buying it from you), since you are not using it. Thanks!
@martonlederer
martonlederer / README.md
Last active November 24, 2023 16:06
Hungarian Programmer Keyboard (with extra chars, like ";,{,}, etc.") for the MacBook Pro

Hungarian Keyboard Layout for MacBook programmers

An extended keyboard made for developers used to the Linux / Windows Hungarian keyboard layout.

Install

  1. Download Ukelele and the file above (hungarian-programmer-keyboard.keylayout)
  2. Open the program and create a new keyboard layout collection (File > New Keyboard Layout Collection)
  3. Load the file that you downloaded by clicking the plus sign at the bottom-left of the window and clicking "Existing File"
  4. Open the installation organizer tool (File > Install > Show Organiser)
@martonlederer
martonlederer / gist:2c781cbe2eb064702deadfe47a887e94
Created August 21, 2021 18:32
Simple Arweave Blog Tutorial
const Arweave = require("arweave");
const fs = require("fs");
const path = require("path")
const argql = require("ar-gql")
const fetch = require("node-fetch");
const client = new Arweave({
host: "arweave.net",
port: 443,
protocol: "https",
Features:
- Allowances manager
- Fiat currency option
- ArVerify integration for transfers / transactions
- ArVerify integration for wallets in the wallet manager
- Disconnect using a context menu
- Copy current address in the extension badge context menu
- Price graphs for PSTs
- Prepare to integrate swapping
- Encrypt / decrypt API
@martonlederer
martonlederer / arconnect-integration.md
Last active March 6, 2021 23:05
Guide on integrating ArConnect

ArConnect

Integration Guide

ArConnect is still in beta, so we don't have a documentation for now. If you wish to secure your Arweave application, and want to make it more trustable in the community, you can read the guide below to integrate.

The drop your keyfile mechanism

@martonlederer
martonlederer / inotify-instructions.md
Created January 3, 2021 20:37 — forked from tbjgolden/inotify-instructions.md
[Arch Linux] [Manjaro] How to avoid "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)

To avoid this error, we need to increase the inotify watcher limit.

The way to do this is different on Arch based distributions than other Linux distributions.

Instructions for Arch Linux/Manjaro

Check for an already existing inotify config file (recent versions of Manjaro include one)