Skip to content

Instantly share code, notes, and snippets.

@anineco
anineco / this-file.html
Last active July 14, 2019 07:08
Load and embed prettified source codes into web page
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>url-load-prettify</title>
</head>
<body>
<h1>url-load-prettify</h1>
<code>this-file.html</code>
<pre class="prettyprint linenums" data-url="this-file.html"></pre>
@anineco
anineco / antenna.cgi
Last active May 16, 2023 02:07
XSL style-sheet for converting Hatena antenna RSS file to that feedly can properly read
#!/bin/sh
echo "Content-type: text/plain;charset=UTF-8"
echo ""
/usr/local/bin/wget -q -O - https://a.hatena.ne.jp/$QUERY_STRING/rss | /usr/local/bin/xsltproc hatena_rss.xsl -