Skip to content

Instantly share code, notes, and snippets.

lindwurm lindwurm

Block or report user

Report or block lindwurm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lindwurm
lindwurm / genwebfonts.py
Last active Sep 15, 2018 — forked from taskie/genwebfonts.py
RobotoのU+EE01が欲しいだけなんです
View genwebfonts.py
#!/usr/bin/env fontforge -lang=py -script
# -*- coding: utf-8 -*-
import fontforge
import sys
import os
def _select_codepoint(codepoint, selection, more=True):
more_str = 'more' if more else 'less'
if isinstance(codepoint, tuple) and len(codepoint) == 2:
@lindwurm
lindwurm / mashiro.sh
Last active May 5, 2016 — forked from otofune/readme.md
新版を https://github.com/lindwurm/madoka で公開しています。ご利用ください。
View mashiro.sh
#!/bin/bash
# YOUR_ACCESS_TOKEN には https://www.pushbullet.com/#settings/account から取得したトークンを使用
PUSHBULLET_TOKEN=YOUR_ACCESS_TOKEN
# 実行時の引数が正しいかチェック。5個です
if [ $# -ne 5 ]; then
echo "指定された引数は$#個です。" 1>&2
echo "仕様: $CMDNAME [ビルドディレクトリ] [ターゲット] [ツイート可否] [sync可否] [make clean可否]" 1>&2
echo "ツイート、sync、make cleanの可否は1(有効)か0(無効)で選択してください。" 1>&2
View .zshrc
# zshrc
# License : MIT
# http://mollifier.mit-license.org/
#
# special thanks:
# [https://gist.github.com/mollifier/4979906/43d1c77344dd59fa119ca5b75e7a54e01e668710]
# [https://gist.github.com/lindwurm/12bde09c66987a7341ac/19a139d77e0d07f8421a44cdf7d4553703f0b9d7]
# [http://aircastle.hatenablog.com/entry/20080428/1209313162]
########################################
@lindwurm
lindwurm / nowplaying_from_gpm.js
Last active Nov 27, 2015 — forked from takanakahiko/nowplaing_from_gpm.js
Web版Google Play MusicでもいつものフォーマットでNowPlayingするブックマークレット
View nowplaying_from_gpm.js
javascript:
var te=document.getElementById("player-song-title");
var t=te.innerHTML;
t=t.replace(/& /g,"&");
var ae=document.getElementById("player-artist");
var a=ae.innerHTML;
a=a.replace(/& /g,"&");
@lindwurm
lindwurm / koruri.py
Last active Dec 17, 2015 — forked from mandel59/koruri.py
Generate Script fo Koruri/VlKoruri.
View koruri.py
#!/usr/bin/env fontforge -lang=py -script
# -*- coding: utf-8 -*-
import fontforge
from datetime import date
# Open Sans のあるディレクトリのパス
opensans_path = "./Open_Sans"
# M+ のあるディレクトリのパス
View .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
You can’t perform that action at this time.