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 | |
INPUT=${1:?} | |
OUTPUT=${2:-${INPUT//.pdf/-crop.pdf}} | |
get_bbox() { | |
gs -sDEVICE=bbox \ | |
-dBATCH -dNOPAUSE \ | |
-c save pop \ | |
-f ${INPUT} 2>&1 \ | |
| grep 'HiResBoundingBox' \ |
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
// ==UserScript== | |
// @name post new paper to Scrapbox | |
// @description post arXiv.or.js to your Scrapbox.io | |
// @namespace http://xr0038.net | |
// @include https://arxiv.org/abs/* | |
// @run-at document-end | |
// @version 1 | |
// ==/UserScript== | |
(function(Scrapbox){ |
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
GIMP Palette | |
Name: Color Universal Design | |
Columns: 1 | |
# | |
255 75 0 J08-50V | |
255 241 0 J27-85V | |
3 175 122 J46-60T | |
0 90 255 J72-40T | |
77 196 255 J69-70P | |
255 128 130 J02-70T |
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
GIMP Palette | |
Name: JIS Safe Color | |
Columns: 1 | |
# | |
255 75 0 J08-50V | |
246 170 0 K15-65X | |
242 231 0 K27-80V | |
0 176 107 K45-55T | |
25 113 255 K72-45T | |
153 0 153 K89-40T |
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
\documentclass[a4paper]{jsarticle} | |
\usepackage{xspace} | |
\usepackage{etoolbox,etextools} | |
\makeatletter | |
\newcommand*{\MyDefinition}[3]{% | |
\newtoggle{\string#1}% | |
\togglefalse{\string#1}% | |
\DeclareRobustCommand*#1{% | |
\@ifstar{\csname s\string#1\endcsname}{\csname n\string#1\endcsname}}% |
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
splot Z(x,y) t "Z は座標 (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
// ==UserScript== | |
// @name Amazon URL Cleaner | |
// @namespace http://xr0038.net | |
// @description Clean Amazon item URL | |
// @include http://www.amazon.co.jp*/dp/* | |
// @include https://www.amazon.co.jp*/dp/* | |
// @include http://www.amazon.co.jp*/gp/* | |
// @include https://www.amazon.co.jp*/gp/* | |
// @run-at document-start | |
// @version 1.2 |
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
[Desktop Entry] | |
Name=Mozc Dictionary Tool | |
ENcoding=UTF-8 | |
Exec=/usr/lib/mozc/mozc_tool --mode=dictionary_tool | |
Icon=/usr/share/icons/mozc/ime_product_icon_opensource-32.png | |
Type=Application | |
Terminal=false | |
Comment=Launch Mozc Dictionary Tool | |
StartupNotify=true | |
Categories=Settings; |
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
# .conkyrc: the original version created by fabsh <[email protected]> | |
# v. 1.0 | |
# Use Xft? | |
use_xft yes | |
xftfont M+ 1p:Light:size=16 | |
xftalpha 1.0 | |
text_buffer_size 2048 | |
# Update interval in seconds |
NewerOlder