This file contains 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
#! /usr/bin/env python3 | |
import sys | |
import subprocess | |
from urllib.parse import urlparse | |
import os | |
import os.path | |
pwd = os.getcwd() |
This file contains 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
{992044186252685312: '🍄', 992045971268747267: '🌾', 972262397640548352: '🍒', 992031495760986113: '🌸', 992039541547585536: '🐜', 887965821967912961: '🐴', 877820534712451072: '🐬', 992041545690824705: '🐛', 992045252167942145: '💎', 992034633104543747: '🐮', 992043311476101123: '🐈', 992042416445128706: '🌱', 971926028842033152: '🐑', 992036953804558336: '🍋'} |
This file contains 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
#! /usr/bin/env python3 | |
import itertools | |
import sys | |
class Solver: | |
__history = dict() | |
def __init__(self, board, n, w, h, previous = None): | |
self.__board = board |
This file contains 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
<!DOCTYPE html> | |
<html lang='ja'> | |
<head> | |
<title>これは草</title> | |
<meta charset='utf-8' /> | |
<meta name='viewport' content='width=device-width,initial-scale=1' /> | |
<script src='https://code.jquery.com/jquery-3.3.1.min.js'></script> | |
<script> | |
$(function(){ | |
const KUSA_SOURCE = 'kusa.png'; |
This file contains 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
#!/usr/bin/env python3 | |
from wmhandler import * | |
from keyemu import * | |
kbd = KeyboardEmulation('/dev/hidg0') | |
@WiimoteHandler.on_connected() | |
def on_connected(dev): | |
dev.rumble(True) |
This file contains 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
(function(){ | |
var observer = new MutationObserver(function(MutationRecords, MutationObserver){ | |
for(var i = 0; i < MutationRecords.length; ++i){ | |
MutationRecords[i].addedNodes.forEach(function(elem){ | |
var msg = new SpeechSynthesisUtterance(); | |
var voices = window.speechSynthesis.getVoices(); | |
msg.text = $(elem).find('.comment-text').text(); | |
msg.lang = 'ja-JP'; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
0 |
This file contains 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
#! /usr/bin/env python3 | |
import random | |
import argparse | |
def crangelist(beg, end): | |
return list(map(chr, range(ord(beg), ord(end) + 1))) | |
aparser = argparse.ArgumentParser(description = 'Generate a random ascii array.') |
This file contains 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
div.js-column-nav-list, | |
#container > div > section > div > div:nth-child(1) > div.js-column-content.column-content.flex-auto.position-rel.flex.flex-column.height-p--100 > div.js-column-options-container.column-options.flex-shrink--0.z-index--1 > div.js-column-message.scroll-none > div, | |
/*.with-column-divider-bottom fieldset.button-tray,*/ | |
div.js-detail-content footer div.js-tweet-stats, | |
div.js-modals-container button.js-follow-button, | |
div.js-app.application.is-condensed div.js-account-summary, | |
.column-title .attribution, | |
span.account-inline.txt-ellipsis > span.username.txt-mute, | |
.account-remove, | |
body > div.js-app.application.is-condensed > header > div > div.js-search.js-overlay.app-search, |