Skip to content

Instantly share code, notes, and snippets.

@ellisgeek
ellisgeek / gist:1006469
Created June 3, 2011 14:55
eggdrop config
#!/usr/bin/eggdrop
# ^- This should contain a fully qualified path to your Eggdrop executable.
#
# $Id: eggdrop.conf,v 1.51 2008-02-16 20:15:30 guppy Exp $
#
# This is a sample Eggdrop configuration file which includes all possible
# settings that can be used to configure your bot.
#
# The pound signs (#) that you see at the beginning of some lines mean that
# the remainder of that line is a comment, or just for your information. By
@bdrewery
bdrewery / gist:1400847
Created November 28, 2011 15:49
EFNet ssl servers
:servers_ssl
efnet.xs4all.nl
irc.choopa.ca:9999
irc.choopa.net:9999
irc.eversible.com:9999
irc.paraphysics.net
irc.servercentral.net:9999
irc.shoutcast.com:8000
irc.umich.edu:9999
irc.underworld.no
@tango238
tango238 / getimage.groovy
Created May 5, 2012 06:57
Download image files from Chrome's Developer tools "Save All as HAR".
import groovy.json.*
def slurper = new JsonSlurper()
def text = new File('hoge.com.har').text
def root = slurper.parseText(text)
def getImage(address){
def command = 'wget ' + address
def proc = command.execute()
proc.waitFor()
@vibragiel
vibragiel / notify.py
Last active November 3, 2020 10:56
Desktop file for WeeChat. Place it in ~/.local/share/applications. The --class parameter and StartupWMClass key allow WeeChat to have a proper icon separated from gnome-terminal (e.g. in the Unity launcher). Also included the notify.py plugin to make the icon vibrate when mentioned.
# Author: lavaramano <lavaramano AT gmail DOT com>
# Improved by: BaSh - <bash.lnx AT gmail DOT com>
# Ported to Weechat 0.3.0 by: Sharn - <sharntehnub AT gmail DOT com)
# This Plugin Calls the libnotify bindings via python when somebody says your nickname, sends you a query, etc.
# To make it work, you may need to download: python-notify (and libnotify - libgtk)
# Requires Weechat 0.3.0
# Released under GNU GPL v2
#
# 2010-02-20, Aron Griffis <agriffis@n01se.net>
# version 0.0.5: Add nick_separator, don't call show_notification twice on
@ysangkok
ysangkok / gist:deb293e0530fdc7075ac
Last active November 6, 2015 18:26
building irssi and dependencies without root
INST=/home/janus/or1k-inst
RUNPREFIX=/home/user
mkdir $INST
CC=/opt/cross/or1k-linux-musl/bin/or1k-linux-musl-gcc
wget -O - ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz | tar zx
cd libffi-3.2.1
./configure --prefix=$RUNPREFIX/libffi-build #--host=or1k-linux-musl CC=$CC
make -j2
make install DESTDIR=$INST
@watson
watson / four-byte-emojis.json
Last active July 20, 2024 21:53
Emoji's sorted by byte-size
[
"😁",
"😂",
"😃",
"😄",
"😅",
"😆",
"😉",
"😊",
"😋",
@chtzvt
chtzvt / dnsmasq.conf
Created September 20, 2017 20:30
Optimized Dnsmasq configuration, for use with OpenWRT/DD-WRT/Tomato/etc
# Charlton Trezevant's Zoomin DNSMasq Config - Version 1.0
# Having a large local cache speeds up subsequent DNS queries significantly (from several hundred msec to around 25-30)
# You may need to adjust this depending on the amount of free space you have
cache-size=10000
# This ensures local reverse lookup queries are never sent upstream (e.g. dig +noall +answer -x 10.0.1.1)
bogus-priv
# Names without a dot or other domain part will also not be forwarded upstream
domain-needed
# We won't need dnsmasq to overwrite the system's resolv.conf, as we have our own cache.
@random-robbie
random-robbie / cams.m3u
Created November 23, 2017 15:43
Open Cameras
#M3U
#EXTINF:-0, CCTV - 93.185.113.36 - Italy
rtsp://93.185.113.36/live/ch00_0
#EXTINF:-0, CCTV - 213.37.135.235 - Spain
rtsp://213.37.135.235/live/ch00_0
#EXTINF:-0, CCTV - 88.26.221.17 - Spain
rtsp://88.26.221.17/live/ch00_0
#EXTINF:-0, CCTV - 195.46.114.161 - Russian Federation
rtsp://195.46.114.161/live/ch00_0
#EXTINF:-0, CCTV - 195.211.232.90 - Russian Federation
@heroheman
heroheman / ranger-cheatsheet.md
Last active August 1, 2024 01:54
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts