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
@font-face { | |
font-family: Ling-1; | |
src: url("data:font/woff2;base64,AAEAAAAKAIAAAwAgT1MvMhG03xcAAAEoAAAAYGNtYXAADABzAAABkAAAADRnbHlmJAM2GwAAAcwAAAAYaGVhZCLbfFwAAACsAAAANmhoZWEnEvkrAAAA5AAAACRobXR4AAEAAAAAAYgAAAAIbG9jYQAMABgAAAHEAAAACG1heHAAcQAiAAABCAAAACBuYW1lBbsdPAAAAeQAAACKcG9zdHQrY6cAAAJwAAAALQABAAAAAQAAsWqD8F8PPPUAAycQAAAAAOHcugAAAAAA4edeTwAAAAAAAQABAAAABwACAAAAAAAAAAEAACcQ+DAAAAB9AAAAfAABAAEAAAAAAAAAAAAAAAAAAAABAAEAAAADAAMAAQAAAAAAAQACAB4ABgAAAGQAAAAAAAAAAwB9AZAABQAIGWQXcAAAAu4ZZBdwAAANrAAyC7gAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAc3N6bQBAACAAIB9A+DAH0CcQB9AAAAABAAAAABOIG1gAAAAgAAAAAQAAAAAAAAAAAAIAAAADAAAAFAADAAEAAAAUAAQAIAAAAAQABAABAAAAIP//AAAAIP///+EAAQAAAAAAAAAMAAwADAABAAAAAAABAAEAAgAANRcjAQEBAQAAAAAAAAYATgADAAEECQABAAgAAAADAAEECQACAAIACAADAAEECQADAB4ACgADAAEECQAEAAwAKAADAAEECQAFAAgANAADAAEECQAGAAwAKABMAGkAbgBnADEAMQAuADAAOwBzAHMAegBtADsATABpAG4AZwAtADEATABpAG4AZwAtADEAdgAxAC4AMAAAAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAMBAgRuYnNwAAAA") format("woff2"); | |
} |
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
/** | |
* TextDecoderを利用したテキストエンコーダ | |
*/ | |
export class NaiveTextEncoder { | |
/** | |
* @param {string} encoding | |
* @param {number} maxCodeLength | |
*/ | |
constructor(encoding, maxCodeLength) { | |
this.encoding = encoding.toLocaleLowerCase(); |
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
<?php | |
use PhpOffice\PhpSpreadsheet\Cell\Coordinate; | |
function coords(int $startCol, int $startRow, ?int $endCol = null, ?int $endRow = null): string | |
{ | |
$coords = Coordinate::stringFromColumnIndex($startCol) . $startRow; | |
if (isset($endRow)) { | |
$coords .= ':' . Coordinate::stringFromColumnIndex($endCol) . $endRow; | |
} |
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
# Pure theme based on "ys" | |
# | |
# > Clean, simple, compatible and meaningful. | |
# > Tested on Linux, Unix and Windows under ANSI colors. | |
# > It is recommended to use with a dark background. | |
# > Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# > | |
# > Mar 2013 Yad Smood | |
typeset +H dark_cyan="$FG[030]" |
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
// 既定値を上書きするには、このファイル内にキー バインドを挿入します | |
[ | |
{ | |
"key": "ctrl+space", | |
"command": "editor.action.setSelectionAnchor", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "emacs.copy-region", |
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
<?php | |
/** | |
* numsum | |
* | |
* テキスト中から数値っぽいものを取り出して合計を求める | |
* | |
* Created at 2020-07-10 | |
*/ | |
$lines = []; |
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/sh | |
### 画像と音声からMP4動画を作る | |
# なんでかわからんけどこれで順番に引数が入る | |
image=$1 | |
shift | |
audio=$* | |
# shift | |
# dai_3_no_hikisuu=$* |
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
@echo off | |
php lv.php %1 %2 %3 %4 %5 %6 %7 %8 %9 |
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
## Google Fonts からダウンロードした Oswald-*.ttf の variant が全部 Regular になっているので修正する | |
## | |
## Requires: | |
## pip install fonttools | |
import sys | |
from fontTools.ttLib import TTFont | |
weights = [ |
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
location.protocol + "//" + location.host + document.getElementById("bgDiv").style.backgroundImage.replace(/^url\("?|"?\)$/g, "") |
NewerOlder