- account add jabber [email protected] 'PASSWORD'
- account hipchat set nick_source full_name
- account hipchat set resource bot
- account hipchat on
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
# todo: grap topic changes | |
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
$VERSION = '0.0.3'; | |
%IRSSI = ( | |
authors => 'Thorsten Leemhuis', | |
contact => '[email protected]', |
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
<!-- Open Graph tags for your home page (index). --> | |
<meta property="og:site_name" content="{Title}" /> | |
<meta property="fb:app_id" content="FACEBOOK_APPID"/> | |
<meta property="fb:admins" content="FACEBOOK_USERID" /> | |
<meta property="og:description" content="{MetaDescription}" /> | |
<meta property="og:locale" content="en_US" /> | |
{block:IndexPage} | |
<meta property="og:image" content="{PortraitURL-128}" /> | |
<meta property="og:title" content="{Title}" /> |
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 Irssi; | |
use Irssi::Irc; | |
use IO::Handle; | |
use Env qw(TMUX); | |
$VERSION = "0.1"; | |
%IRSSI = ( | |
authors => 'Andreas Johansson', | |
contact => '[email protected]', | |
name => 'iterm_growl', |
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
#!/usr/bin/python | |
# -*- coding: utf8 -*- | |
# | |
# This software 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. | |
# | |
# This software is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
function get_short_link($url) | |
{ | |
$bitly_login="yourloginname"; | |
$bitly_apikey="yourapikey"; | |
$api_call = file_get_contents("http://api.bit.ly/shorten?version=2.0.1&longUrl=".$url."&login=".$bitly_login."&apiKey=".$bitly_apikey); | |
$bitlyinfo=json_decode(utf8_encode($api_call),true); | |
if ($bitlyinfo['errorCode']==0) | |
{ | |
return $bitlyinfo['results'][urldecode($url)]['shortUrl']; | |
} |
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
#set from = "[email protected]" | |
#set realname = "xxx" | |
#set imap_user = "[email protected]" | |
#set imap_password = "xxxx" | |
#set folder = "imaps://imap.gmail.com:993" | |
#set spoolfile = "+INBOX" | |
#set postponed ="+[Gmail]/Drafts" | |
#set trash = "imaps://imap.gmail.com/[Gmail]/Trash" |
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
<html> | |
<head> | |
<title>Google Maps Multiple Markers</title> | |
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="map" style="height: 400px; width: 500px;"> | |
</div> | |
<script type="text/javascript"> |
This is an OS X-centric configuration.
The idea here is to use environment variables, loaded via aliases to mutt, to control which account you're loading. Years ago I had all of my accounts configured to be accessible from a single mutt
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
<!--[if mso]> | |
<center> | |
<table><tr><td width="580"> | |
<![endif]--> | |
<div style="max-width:580px; margin:0 auto;"> | |
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p> | |
</div> | |
<!--[if mso]> |
OlderNewer