Skip to content

Instantly share code, notes, and snippets.

View cherenkov's full-sized avatar

cherenkov cherenkov

View GitHub Profile
@cherenkov
cherenkov / gist:792746ceb9e74c7d7836e7a43b66866d
Created June 22, 2018 12:13 — forked from kyontan/gist:7678042
游書体を加えたCSS font-family
/* ヒラギノ角ゴ */
font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
/* ヒラギノ明朝 */
font-family: "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
/* From: 游明朝体・游ゴシック体のCSSでの利用 - Qiita [キータ]
* http://qiita.com/shinnn/items/5be7e8106189311559c1
*/
@cherenkov
cherenkov / file0.css
Created June 22, 2018 12:12 — forked from shinnn/file0.css
游明朝体・游ゴシック体のCSSでの利用 ref: http://qiita.com/shinnn/items/5be7e8106189311559c1
.sans-serif {
font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}
@cherenkov
cherenkov / fsplinker.user.js
Created April 11, 2012 21:06 — forked from suchi/fsplinker.js
FreeStyle Wiki Permlinker
// ==UserScript==
// @name FreeStyleWiki PermLinker
// @namespace http://www.suchi.org/
// @version 0.2
// @description add permlink dagger
// ==/UserScript==
var a = document.querySelectorAll('h2>a[name], h3>a[name], h4>a[name]');
for (var i = 0; i < a.length; i++) {
var dag = document.createElement('a');
// ==UserScript==
// @name Twitter search(ja) result on Google
// @namespace http://efcl.info/
// @include http://www.google.*/search?*
// ==/UserScript==
// original Twitter Search Results on Google for Greasemonkey [ http://userscripts.org/scripts/show/43451 ]
(function(doc){
// *config* display number
var SEARCHINTERVAL = 5;
// ==UserScript==
// @name NicoVideoAutoPlay
// @namespace http://d.hatena.ne.jp/Cherenkov/
// @include http://www.nicovideo.jp/watch/*
// ==/UserScript==
// http://d.hatena.ne.jp/javascripter/20081003/1223033435
function evalInPage(fun) {
location.href = "javascript:void (" + fun + ")()";