Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
| -- Catch fn-h and convert it to a left arrow key. | |
| function catcher(event) | |
| if event:getFlags()['fn'] and event:getCharacters() == "h" then | |
| print("fn-h!") | |
| return true, {hs.eventtap.event.newKeyEvent({}, "left", true)} | |
| end | |
| return false | |
| end | |
| local tapper=hs.eventtap.new({hs.eventtap.event.types.keyDown}, catcher):start() |
Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
| // Header styles. | |
| // | |
| // - Main wrapper | |
| // - Search box | |
| // - Message center | |
| // - Main nav | |
| // - User wallet | |
| // Main wrapper. |
| import React, { Component, PropTypes } from 'react' | |
| export default class Search extends Component { | |
| static propTypes = { | |
| onChange: PropTypes.func | |
| } | |
| constructor (props) { | |
| super(props) | |
| } |
| 1 name: "uspto" | |
| 2 windows: | |
| 3 - name: "services" | |
| 4 root: "~/projects/uspto/frontend/" | |
| 5 layout: tiled | |
| 6 panes: | |
| 7 - echo "1" | |
| 8 - echo "2" | |
| 9 - echo "3" | |
| 19 - name: "chats" |
| require 'formula' | |
| class Vim < Formula | |
| homepage 'http://www.vim.org/' | |
| url 'https://vim.googlecode.com/hg/', :revision => '2d107086903a' | |
| version '7.3.584' | |
| def install | |
| system "./configure", | |
| "--with-features=huge", |
| # To use this recipe you have to: | |
| # $ brew install python --framework | |
| # $ mkdir ~/Frameworks | |
| # $ ln -s "/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework" ~/Frameworks | |
| # $ brew install ./vim.rb | |
| require 'formula' | |
| require 'open-uri' | |
| class Vim < Formula |