Skip to content

Instantly share code, notes, and snippets.

View silverbirder's full-sized avatar

silverbirder - Shibamoto Masashi silverbirder

View GitHub Profile
@silverbirder
silverbirder / oEmbedProviders.json
Last active May 22, 2024 10:15
This is https://oembed.com providers + custom providers.
[
{
"provider_name": "23HQ",
"provider_url": "http://www.23hq.com",
"endpoints": [
{
"schemes": [
"http://www.23hq.com/*/photo/*"
],
"url": "http://www.23hq.com/23/oembed"
(async () => {
const pti = require('puppeteer-to-istanbul')
const puppeteer = require('puppeteer')
const browser = await puppeteer.launch()
const page = await browser.newPage()
// Enable both JavaScript and CSS coverage
await Promise.all([
page.coverage.startJSCoverage(),
page.coverage.startCSSCoverage(),
@silverbirder
silverbirder / microsoft_remote_desktop.json
Created April 10, 2020 02:15
karabiner elements complex modifications [eisu and kana to page up and down on microsoft remote desktop]
{
"title": "microsoft_remote_desktop",
"rules": [
{
"description": "eisuu and kana to page_down and page_up for microsoft_remote_desktop",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "japanese_eisuu"
/**
* Diff Match and Patch
* Copyright 2018 The diff-match-patch Authors.
* https://github.com/google/diff-match-patch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0