Skip to content

Instantly share code, notes, and snippets.

Avatar

bigeagle bigeagle

View GitHub Profile
View vpnc-script.sh
#!/bin/sh
#
# Originally part of vpnc source code:
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al.
# © 2009-2012 David Woodhouse <dwmw2@infradead.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
View sagiri_background.css
@-moz-document domain("google.com") {
@media screen and (min-width: 1400px) {
#cnt, #viewport {
background: url(https://dn-bigeagle.qbox.me/images/moe/sagiri_small.png) fixed no-repeat 90% 100% transparent;
}
}
@media screen and (max-width: 1399px) {
#cnt, #viewport {
background: url(https://dn-bigeagle.qbox.me/images/moe/sagiri_small.png) fixed no-repeat 100% 100% transparent;
View termite.conf
[options]
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
mouse_autohide = false
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
font = monospace 11
View keybase.md

Keybase proof

I hereby claim:

  • I am bigeagle on github.
  • I am bigeagle (https://keybase.io/bigeagle) on keybase.
  • I have a public key whose fingerprint is 15CC 6A61 738B 1599 0095 E256 CB67 DA7A 865B AC3A

To claim this, I am signing this object:

@bigeagle
bigeagle / config
Created Apr 12, 2016
termite.config
View config
[options]
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
mouse_autohide = false
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
font = monospace 13
View udevedu-autolock.py
#!/usr/bin/env python2
# -*- coding:utf-8 -*-
from __future__ import print_function, division, unicode_literals
from udevedu.utils import invoke
import os
def init():
print("Monitoring Yubikey Remove Event")
@bigeagle
bigeagle / weechat_bot2human.py
Last active Jul 14, 2018
Replace IRC message nicknames with regex match from chat text
View weechat_bot2human.py
# -*- coding:utf-8 -*-
# Bot2Human
#
# Replaces messages from bots to humans
# typically used in channels that are connected with other IMs using bots
#
# For example, if a bot send messages from XMPP is like `[nick] content`,
# weechat would show `bot | [nick] content` which looks bad; this script
# make weecaht display `nick | content` so that the messages looks like
# normal IRC message
@bigeagle
bigeagle / autorenew.ini
Created Mar 5, 2016
Let'sencrypt Auto-Renew
View autorenew.ini
email = admin@example.com
domains = d1.example.com,d2.example.com
webroot-path = /home/wwwroot/letsencrypt
@bigeagle
bigeagle / fishroom2danmaku.py
Created Feb 29, 2016
Fishroom to TUNA Danmaku
View fishroom2danmaku.py
#!/usr/bin/env python2
# -*- coding:utf-8 -*-
from __future__ import print_function, division, unicode_literals
import requests
import hashlib
FISHROOM_TOKEN_ID = ""
FISHROOM_TOKEN_KEY = ""
FISHROOM_ADDR = "https://fishroom.tuna.moe/api/messages"
@bigeagle
bigeagle / scdaemon_reload.py
Created Feb 8, 2016
Along with udevedu, reload gpg scdaemon on yubikey insert
View scdaemon_reload.py
#!/usr/bin/env python2
# -*- coding:utf-8 -*-
from __future__ import print_function, division, unicode_literals
from udevedu.utils import invoke
def init():
print("Monitor Yubikey NEO")
You can’t perform that action at this time.