Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# install_fusionpbx
LICENSE=$( cat << DELIM
#------------------------------------------------------------------------------
#
# "THE WAF LICENSE" (version 1)
# This is the Wife Acceptance Factor (WAF) License.
# jamesdotfsatstubbornrosesd0tcom wrote this file. As long as you retain this
@tknv
tknv / pygments_code.rb.diff
Created February 24, 2015 16:30
Add openssl.cnf syntax highlight
@@ -11,6 +11,7 @@ def self.highlight(str, lang)
lang = 'objc' if lang == 'm'
lang = 'perl' if lang == 'pl'
lang = 'yaml' if lang == 'yml'
+ lang = 'openssl' if lang == 'cnf'
str = pygments(str, lang).match(/<pre>(.+)<\/pre>/m)[1].to_s.gsub(/ *$/, '') #strip out divs <div class="highlight">
tableize_code(str, lang)
end
gpg --keyserver pgpkeys.mit.edu --recv-key 010908312D230C5F
gpg -a --export 010908312D230C5F | sudo apt-key add -
W: GPG error: ftp://ftp.debian.org/ testing Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXX
W: There is no public key available for the following key IDs:
XXXXXXXXXXXXXXXX
@tknv
tknv / resolv.conf
Created May 23, 2014 18:37
/etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 89.233.43.71
nameserver 89.104.194.142
@tknv
tknv / dhclirnt.conf
Created May 23, 2014 18:30
/etc/dhcp/dhclient.conf
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://www.panoramio.com/wapi/wapi.js?v=1"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<div id='wapiblock'></div>
var subjectToSend = "LikeADailyToKindle";
// kindleに飛ばしたモノは、Fileラベルに入れてINBOXから移動
// 気になる件名
var targetSubject = new Array();
targetSubject[1] = "[ 家庭菜園毎日ニュース";
targetSubject[2] = '国際小豆メールマガジン第';
targetSubject[3] = '■ いますぐ運動! Linux';
// もっと気になる場合
// targetSubject[i++] = 'ひたひたFXニュース';
// 宛先のkindle
@tknv
tknv / gist:5946009
Created July 8, 2013 03:21
fbterm fcitx
Fbterm
This page contains changes which are not marked for translation.
Other languages: *English* 100%
fcitx-fbterm Fcitx-fbterm.png
Version 0.2.0
Dependency fbterm
Written In C
License GPLv2
Website http://github.com/fcitx/fcitx-fbterm
Contents
@tknv
tknv / .msmtprc
Created February 10, 2012 11:01
configure msmtp
# msmtprc config file
account default
host smtp.gmail.com
port 587
protocol smtp
auth on
from [email protected]
user [email protected]
password foofoo