Skip to content

Instantly share code, notes, and snippets.

@atty303
atty303 / gist:7261749
Last active December 27, 2015 03:48
iTerm2 + AquaSKK

iTerm2 + AquaSKK

AquaSKK を素の iTerm2 で使うと、IM 状態を変更するための "C-j" や "l" がそのまま入力されてしまって不便という問題があり、 以下のあたりでその問題を直すパッチを作ってくださった方がおりました。

僕も 1.0.0 が出たころに上記パッチを当てた iTerm2 をずっと使ってました。

@sgk
sgk / README.md
Last active April 8, 2016 14:30
Gnome端末の日本語表示で「↑」とか「◯」の幅を全角にする(Ubuntu 14.10用)。

Ubuntu 15.04では、プロファイル設定の「互換性」タブで設定できるので不要。この方法は機能しない。

  • このファイルを、~/.local/share/applications以下に、○○.desktopなどという名前で置き、実行権限をつける。
  • Nautilus(ファイルブラウザ)から、このファイルを開く。
  • 端末が開いてランチャにアイコンが現れるので、アイコンを右クリック→「Launcherに登録」をクリック。

vimではまた別の問題があるので、.vimrcの中で「set ambiwidth=double」も必要。

@toshikaz55
toshikaz55 / How_to_setup_Pebble_E_Paper_Smart_watch_SDK_log
Last active December 16, 2015 06:49
How to setup Pebble E-Paper Smart watch SDK on MacOSX 10.8.3
Ref.
Step 2. Install the SDK toolchain & Compile a watch face from source code
http://developer.getpebble.com/1/01_GetStarted/01_Step_2
/Users/toshikaz% cd works/pebble-sdk-release-001/
/Users/toshikaz/works/pebble-sdk-release-001% ls
README.md demos/ sdk/ templates/ tools/ watches/
/Users/toshikaz/works/pebble-sdk-release-001% mdview README.md
@rummelonp
rummelonp / agharta.md
Last active June 12, 2018 12:52
Twitter Streaming API Aggregation ライブラリ Agharta 作った話

Twitter Streaming API Aggregation ライブラリ Agharta 作った話

近年、若者のメンション離れが問題視されている。明示的なメンションはせずに、ある人を指す俗称などで話しかける、いわゆる「空リプ」は社会現象となり、タイムラインに蔓延している。この状況では、フォローが増えれば増えるほどコミュニケーションを円滑に進めることが難しくなり、増え過ぎたフォローと速くなりすぎたタイムラインを前に「SNS疲れ」を表明する人も

通知特化型Twitterアプリ「29hours」をつくってHerokuで動かしているお話 - 準二級.jp

概要

june29 さんの 29hours に対抗し、Twitter Streaming API Aggregation ライブラリ Agharta を作った話をします。ところで Aggregation って言われてもピンと来ませんね。色々と良い感じに加工してログに出力したり通知したりします。便利ですね。

// ==UserScript==
// @name Rarejob Note Creator
// @namespace maripo.org
// @description Create evernote notes for RareJob lessons
// @include https://www.rarejob.com/login/top.php*
// @grant none
// @version 1
// ==/UserScript==
(function () {
@hetima
hetima / make new Finder window with ScriptingBridge.m
Last active December 12, 2015 07:58
ScriptingBridge で make new Finder window する方法
//ScriptingBridge で make new Finder window
FinderApplication* app = [SBApplication applicationWithBundleIdentifier:@"com.apple.finder"];
FinderFinderWindow* w = [app sendEvent:'core' id:'crel' parameters:'kocl', @"brow", 0];
//表示するフォルダを指定したい場合はこう(文字列で直接指定する場合旧式の:区切りパス)
FinderFinderWindow* w = [app sendEvent:'core' id:'crel' parameters:'kocl', @"brow",
'to ', @"Path:to:folder",
0];
@theiostream
theiostream / installsdk.sh
Created January 24, 2013 16:13
Installs the iOS SDK without headers.
#!/bin/bash
######
## Installs an sdk from a dyld decache plus some goodies.
## Slightly based on BigBoss's installsdk3.
## Created by theiostream. Public Domain.
## ADVANTAGES:
## - Uses the latest on-device frameworks/libraries
## - Is completely legal
@rummelonp
rummelonp / .0.tmux.md
Last active December 10, 2015 08:58
tmux 入れてみた

tmux 入れてみた

screen から tmux に乗り換える人をよく見るので入れて使ってみた

インストール

brew install tmux
@takuo
takuo / nmagw.rb
Created December 29, 2012 13:49
nma http gateway
# -*- coding: utf-8 -*-
require 'oauth'
require 'json'
require 'sinatra/base'
require 'net/http'
class NmaGw < Sinatra::Base
set :logging, true
@guitarmasaki
guitarmasaki / gist:4282916
Created December 14, 2012 05:33
PQI Air CardからRubyでFlickrにポストするスクリプト。大部分はひとりぶろぐさんのデジカメ内部でRubyを動かす狂気!無線LAN内蔵SDカードアダプタPQI Air Cardの間違った使い方 http://hitoriblog.com/?p=12627を流用させていただいてます。
#!/usr/arm-linux/bin/ruby
# -*- coding: utf-8 -*-
require 'net/http'
require 'uri'
#require 'pp'
#require 'rubygems'
require 'flickraw'
#load('/mnt/sd/config.rb')