This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
$VERSION = '1.0.0'; | |
%IRSSI = ( | |
authors => 'Brandon Black', | |
contact => '[email protected]', | |
name => 'irssi-osx-notify', | |
description => 'OS X Notifications for Irssi.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLCancelTicketSet *ticketSet = [PLCancelTicketSet ticketSet]; | |
id<PLCancelTicket> httpTicket = [_client connectionWithRequest: req | |
bodyData: reqData | |
timeout: timeout | |
dispatchContext: [PLDirectDispatchContext context] | |
block: ^(PLHTTPResponse *response, id <PLInputStream> bodyInputStream, NSError *error) | |
{ | |
// ... check for error .. | |
PLLimitingInputStreamFilter *inputFilter = [PLLimitingInputStreamFilter filterWithInputStream: bodyInputStream | |
maximumBytes: MAX_RESOURCE_DOWNLOAD_BYTES]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This should work whether you are already in a TMUX session or not... | |
# Irssi directory is assumed to be in the user's home dir | |
if [ -z "$TMUX" ] | |
then | |
tmux new-session -d -s ircuser | |
tmux split-window -tircuser -h -l20 | |
tmux send-keys -tircuser "tmux send-keys -t0 \"irssi\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'https://vim.googlecode.com/hg/', :revision => 'f1f6ac67acd8' | |
version '7.3.462' | |
def features; %w(tiny small normal big huge) end | |
def interp; %w(lua mzscheme perl python python3 tcl ruby) end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
head 'https://vim.googlecode.com/hg/' | |
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d' | |
version '7.3.487' | |
def features; %w(tiny small normal big huge) end |