NOTE: The AKiTiO Thunder2 SHOULD NOT be plugged in yet
This file contains 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 filename to POSIX path of input | |
set cmd to "cd `dirname " & filename & "`; vim " & filename | |
tell application "iTerm" | |
tell the current window | |
# Uncomment the next line if you want to create a new iTerm tab instead. | |
#create tab with default profile | |
tell the current session | |
tell application "iTerm" to activate | |
delay 1 |
This file contains 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
ASAN:SIGSEGV | |
================================================================= | |
==12715== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000048 (pc 0x7f6f6b70cf06 sp 0x7ffffb36a460 bp 0x7ffffb36a480 T0) | |
AddressSanitizer can not provide additional info. | |
#0 0x7f6f6b70cf05 (/usr/local/sbin/bitlbee+0x70f05) | |
#1 0x7f6f6b70d2bd (/usr/local/sbin/bitlbee+0x712bd) | |
#2 0x7f6f6b778de2 (/usr/local/sbin/bitlbee+0xdcde2) | |
#3 0x7f6f6b76601e (/usr/local/sbin/bitlbee+0xca01e) | |
#4 0x7f6f6b75c491 (/usr/local/sbin/bitlbee+0xc0491) | |
#5 0x7f6f6b732cdf (/usr/local/sbin/bitlbee+0x96cdf) |
This file contains 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
var AmpersandModel = require('ampersand-model'); | |
var config = require('clientconfig'); | |
var Status = require('./status'); | |
var StatusModel = new Status(); | |
var ItineraryModel = AmpersandModel.extend({ | |
props: { | |
uuid: ['string', true, ''], | |
userId: ['string', true, ''], | |
expiredAt: ['string', true, ''], |
This file contains 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/env sh | |
NOW_PLAYING=$(osascript <<EOF | |
if app_is_running("Radiant Player") then | |
tell application "Radiant Player" | |
set artist to current song artist | |
set track to current song name | |
set state to player state | |
if state is 1 then |
This file contains 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
import React, { Component, PropTypes } from 'react' | |
export default class Search extends Component { | |
static propTypes = { | |
onChange: PropTypes.func | |
} | |
constructor (props) { | |
super(props) | |
} |
This file contains 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
// Header styles. | |
// | |
// - Main wrapper | |
// - Search box | |
// - Message center | |
// - Main nav | |
// - User wallet | |
// Main wrapper. |
I hereby claim:
- I am megalithic on github.
- I am megalithic (https://keybase.io/megalithic) on keybase.
- I have a public key whose fingerprint is BA52 D71C 67F0 08C1 CCBC 5C60 E4D5 E30E B5A3 267B
To claim this, I am signing this object:
Start weechat if you haven't already:
$ weechat
open up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
This file contains 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
-- 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() |