Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am mitame on github.
  • I am mitame (https://keybase.io/mitame) on keybase.
  • I have a public key ASDTpxHn-X3wjKmQrvrDy79Jw0cSEd7vG7pJUPYlN3hJkgo

To claim this, I am signing this object:

@Mitame
Mitame / MALrandom.user.js
Last active Apr 21, 2017 — forked from IA21/MALrandom.js
Add random button to MAL animelist
View MALrandom.user.js
// ==UserScript==
// @name MAL random
// @version 1
// @description adds random button on MAL animelist
// @author IA21
// @match https://myanimelist.net/animelist/*
// @grant none
// ==/UserScript==
function getRandomInt(min, max) {
View keybase.md

Keybase proof

I hereby claim:

  • I am mitame on github.
  • I am mitame (https://keybase.io/mitame) on keybase.
  • I have a public key ASDNjQlTxuAkjN4qLnW24ueo5kLqPvnGeWZWFyS4m8MkPwo

To claim this, I am signing this object:

View generate.py
#!/usr/bin/python
import wave
import numpy
import struct
import sys
import csv
from scikits.samplerate import resample
def write_wav(data, filename, framerate, amplitude):
View 90d1fff output
$ ./git/polybar/build/bin/polybar main --log=trace
warn: No monitor specified, using "eDP1"
* Loaded monitor eDP1 (1920x1080+0+0)
- bar: Create renderer
- renderer: Get TrueColor visual
- renderer: Allocate colormap
- renderer: Allocate output window
- renderer: Allocate window pixmap
- renderer: Allocate graphic contexts
- renderer: Load fonts
View gist:55bf7c4366be47bb19a7134bce8f6427
./git/polybar/build/bin/polybar main --log=trace
warn: No monitor specified, using "eDP1"
* Loaded monitor eDP1 (1920x1080+0+0)
- bar: Create renderer
- renderer: Get TrueColor visual
- renderer: Allocate colormap
- renderer: Allocate output window
- renderer: Allocate window pixmap
- renderer: Allocate graphic contexts
- renderer: Load fonts
View polybar segfault
$ /git/polybar/build/bin/polybar main --log=trace
warn: No monitor specified, using "eDP1"
* Loaded monitor eDP1 (1920x1080+0+0)
- bar: Create renderer
- renderer: Get TrueColor visual
- renderer: Allocate colormap
- renderer: Allocate output window
- renderer: Allocate window pixmap
- renderer: Allocate graphic contexts
- renderer: Load fonts
View polybar config
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
View polybar output
$ ./git/polybar/build/bin/polybar main --log=trace
warn: No monitor specified, using "eDP1"
* Loaded monitor eDP1 (1920x1080+0+0)
- bar: Create renderer
- renderer: Get TrueColor visual
- renderer: Allocate colormap
- renderer: Allocate output window
- renderer: Allocate window pixmap
- renderer: Allocate graphic contexts
- renderer: Load fonts
View keybase.md

Keybase proof

I hereby claim:

  • I am mitame on github.
  • I am mitame (https://keybase.io/mitame) on keybase.
  • I have a public key ASDXKtLhchhBkh8d_W6Auj2VDhIegUshnTu-pn0lnnXZjgo

To claim this, I am signing this object: