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 | |
| # compile: | |
| # $ latexmk *.tex | |
| # compile && preview: | |
| # $ latexmk -pv *.tex | |
| # ref: | |
| # https://qiita.com/rainbartown/items/d7718f12d71e688f3573 |
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:var a="";document.querySelectorAll("textarea").forEach(e=>{a+=`\`${e.value}\`,`});window.prompt("ads=[...]とかの中にコピペ",a.replace(/a href/g, 'a target="_blank" href').replace(/border="\d+" width="\d+" height="\d+"/g, `onerror="this.onerror=null;this.src='https://raw.githubusercontent.com/eggplants/ads/master/img/404.png';"`)) |
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
| _ |
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
| #!/usr/bin/bash | |
| readonly USERPAGEID=671442 | |
| if ! command -v awk curl >/dev/null; then | |
| echo "Install: awk, curl">&2 | |
| exit 1 | |
| fi | |
| curl -sL 'https://greasyfork.org/en/users/'"$USERPAGEID" | | |
| awk -F\" '/class="script-link"/{c=split($4,f,"/") | |
| print$4"/code/"f[c]".user.js" | "xargs -n1 curl -OL"}' |
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
| #!/usr/bin/env bash | |
| _enc(){ | |
| od -tx1 -An | tr ' ' % | tr -d \\n | |
| } | |
| if ! command -v curl >/dev/null; then | |
| echo "'curl' is not found">&2 | |
| exit 1 | |
| fi | |
| [ -f "$1" ] || { |
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
| #!/usr/bin/env bash | |
| # sudo apt install imagemagick -y | |
| # gem install --user lolcat | |
| # go get -u github.com/jiro4989/textimg | |
| # curl -Lo dtimg https://git.io/J1mJN && sudo install -m+x dtimg /usr/local/bin | |
| eval 'dtimg -F 17 -R '{インターネット\>a,♪即刻やめろ♪\>b}\; | |
| x=`<a wc -l`;y=`<b wc -l` | |
| for i in {0..500..25} | |
| { |
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
| # frozen_string_literal: true | |
| def add (x, y); x + y; end | |
| def sub (x, y); x - y; end | |
| def mul (x, y); x * y; end | |
| def div (x, y); x / y; end | |
| def find_ten (a, b, c, d) | |
| ans = [] | |
| %w[add sub mul div].repeated_permutation(3).map do |x, y, z| |
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
| shuf -e 筑波 大学 核 実験|sed 1i$'#\n'2aは$'\n'4aをやめろ|tr -d \\n;echo | |
| shuf -ern4 筑波 大学 核 実験|sed 1i$'#\n'2aは$'\n'4aをやめろ|tr -d \\n;echo | |
| shuf -en4 筑波 大学 核 実験|xargs|sed 's/^/#/;s/ //;s/ /は/;s/ //' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| (function () { | |
| var timer = 100; | |
| document | |
| .querySelectorAll("div > input[type='checkbox']:checked") | |
| .forEach((interest) => { | |
| setTimeout(function () { | |
| interest.click(); | |
| }, timer); | |
| timer += 2000; | |
| }); |