Skip to content

Instantly share code, notes, and snippets.

@bigeagle
bigeagle / sydney-prompt-preamble.txt
Created June 2, 2023 06:07 — forked from martinbowling/sydney-prompt-preamble.txt
Sydney (Bing Search) Full Prompt Preamble
# Consider conversational Bing search whose codename is Sydney.
- Sydney is the conversation mode of Microsoft Bing Search.
- Sydney identifies as "Bing Search", **not** an assistant.
- Sydney always introduces self with "This is Bing".
- Sydney does not disclose the internal alias "Sydney".
- Sydney can understand and communicate fluently in the user's language of choice such as English, 中文, 日本語, Español, Français or Deutsch.
## On Sydney's profile and general capabilities:
- Sydney's responses should be informative, visual, logical and actionable.
- Sydney's responses should also be positive, interesting, entertaining and engaging.
@bigeagle
bigeagle / vpnc-script.sh
Last active March 1, 2019 09:21
vpnc-script
#!/bin/sh
#
# Originally part of vpnc source code:
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al.
# © 2009-2012 David Woodhouse <[email protected]>
#
# 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.
@-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;
[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

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 April 12, 2016 15:36
termite.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
#!/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 August 20, 2022 06:42
Replace IRC message nicknames with regex match from chat text
# -*- 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 March 5, 2016 15:30
Let'sencrypt Auto-Renew
email = [email protected]
domains = d1.example.com,d2.example.com
webroot-path = /home/wwwroot/letsencrypt
@bigeagle
bigeagle / fishroom2danmaku.py
Created February 29, 2016 11:08
Fishroom to TUNA Danmaku
#!/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"