Skip to content

Instantly share code, notes, and snippets.

@elfcobe
elfcobe / matplotlib_agg.py
Created August 3, 2014 04:10
matplotlibでBackgroundに'agg'を設定しなくてはいけない場合
#!/usr/bin/python3
# coding: utf-8
import matplotlib
# Backend を agg に変更する
# matplatlib.pyplot を import する前に実行する
matplotlib.use('agg')
import matplotlib.pyplot as plt
@elfcobe
elfcobe / User_hateblo.css
Created July 19, 2014 06:27
はてなブログ(Aero)のcss変更
/* <system section="theme" selected="aero2"> */
@import "/css/theme/aero2/aero2.css";
/* </system> */
#container {
width: 1100px;
}
#main {
width: 820px;
}
@elfcobe
elfcobe / user_hatena.htm
Last active January 2, 2016 15:08
はてなブログでページトップへ移動ボタンを実装
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>
$(function() {
var topBtn = $('#page-top');
topBtn.hide();
//スクロールが100に達したらボタン表示
$(window).scroll(function () {
if ($(this).scrollTop() > 100) {
topBtn.fadeIn();}
@elfcobe
elfcobe / User_hateba.css
Last active January 1, 2016 22:29
はてなブログ(Fresh Green)のcss変更
/* <system section="theme" selected="12921228815711202753"> */
@import url("http://hatenablog.com/theme/12921228815711202753.css");
/* </system> */
/* 表示幅調整 */
#container {
width: 1100px;
}
#main {
width: 780px;
@elfcobe
elfcobe / Main.sublime-menu
Last active December 31, 2015 03:58
SublimeText2 (japaneezと並行利用)
[
{
"caption": "ファイル(F)",
"mnemonic": "F",
"id": "file",
"children":
[
{ "command": "new_file", "caption": "新規作成(N)", "mnemonic": "N" },
{ "command": "prompt_open_file", "caption": "ファイルを開く(O)…", "mnemonic": "O", "platform": "!OSX" },
{ "command": "prompt_open_folder", "caption": "フォルダを開く…", "platform": "!OSX" },
@elfcobe
elfcobe / metaeditor.ini
Last active December 26, 2015 14:49
MetaEdita(MetaTrader4)Option設定の変更箇所。
[Experts]
Address=http://elfcobe.hateblo.jp/
Author=Copyright 2013, elfcobe Software Ink.
[Font]
CharSet=128
FaceName=Ricty
Height=11
Bold=400