This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
const targets = document.getElementsByClassName('css-8ushbk'); | |
const keyBinds = [ | |
{ | |
key: 'ArrowRight', | |
defaultFunction: () => { targets[2].click() }, | |
commandFunction: () => {}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DiffMiyashi.swift | |
// Benchmark | |
// | |
// Created by po_miyasaka on 2020/01/22. | |
// | |
import Foundation | |
public struct MovedIndexPath { | |
public let before: IndexPath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
declare -a gems=($(gem list --no-versions)) | |
for x in `seq 0 ${#gems[@]}` | |
do | |
eval gem uninstall -aIx \"\${gems[x]}\" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command regex pc 's/(.*)?-op(.*)/ exp -l objc %2 -- %1/' 's/(.*)/ exp -l objc -- %1/' | |
command regex poc 's/(.*)?-op(.*)/ exp -l objc -O %2 -- %1/' 's/(.*)/ exp -l objc -O -- %1/' | |
command regex ps 's/(.*)?-op(.*)/ exp -l swift %2 -- %1/' 's/(.*)/ exp -l swift -- %1/' | |
command regex pos 's/(.*)?-op(.*)/ exp -l swift -O %2 -- %1/' 's/(.*)/ exp -l swift -O -- %1/' | |
command regex vinfo 's/\(\((\w+)\.([a-zA-Z_0-9]+)\s\*\)(\w+?)\)/exp -l swift -- unsafeBitCast(%3,to:%1.%2.self);/' 's/\(\(([a-zA-Z_0-9]+)\s\*\)(\w+?)\)/exp -l objc++ -- *(%1 *)%2/' |