Skip to content

Instantly share code, notes, and snippets.

@8q
8q / tweetdeck.js
Last active December 8, 2019 20:35
(() => {
const texts = [
"俺の勝ち。",
"俺の勝ちだが?",
"お前の負け。",
"お前の負けだが?",
"I win.",
"You lose."
]
@8q
8q / open-vlc.bat
Created February 8, 2020 17:10
VLCスキーム(Win)
set vlcdata=%1
start "" "C:\Program Files\VideoLAN\VLC\vlc.exe" "%vlcdata:~7%"
on open location url_scheme
(*デリミタで文字列抽出*)
set AppleScript's text item delimiters to {"vlc://"}
set txt_items to text items of url_scheme
set AppleScript's text item delimiters to {""}
set scheme_txt to txt_items as Unicode text
do shell script ({"/Applications/VLC.app/Contents/MacOS/VLC ", scheme_txt} as string)
end open location
<!DOCTYPE html>
<!-- Let's view the HTML source code of this page!! -->
<!-- Or save this text as HTML source code :) -->
<html>
<head>
<meta charset="utf-8"/>
<title>Quine</title>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap" rel="stylesheet">
</head>
<body>
@8q
8q / .fdignore
Last active September 23, 2022 16:51
fzf ~/.fdignore
/Applications/
/Library/
/.Trash/
/.gradle/
/.cache/
/.nodebrew/
/.npm/
/.pyenv/
/go/