Skip to content

Instantly share code, notes, and snippets.

Satoshi Murakami satyr

Block or report user

Report or block satyr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View eijiro.ubiq.js
const Name = 'eijiro', EOW = '',
Base = '<style>\
body {line-height:1.3}\
ul, ol {padding-left:1.2em}\
ul, ol, li {margin:0 0 0.2em}\
font {color:inherit}\
a img {border:none}\
.button {padding:0; border-width:1px; text-transform:uppercase}\
.button[disabled] {background-color:transparent; color:inherit}\
.button, #paging > a {font:bold 92% monospace}\
View hatebu.ubiq.js
{ title: 'Hatena::Bookmark Commands'
, author: {name: 'satyr', homepage: ''}
, license: 'MIT'
Hatebu = '',
Hotent = Hatebu +'hotentry',
HLogin = '',
Icon = Hatebu +'favicon.ico',
satyr / hotentry.ubiq.js
Created Sep 3, 2008
[Ubiquity] ホッテントリ
View hotentry.ubiq.js
const Name = 'hotentry',
Hatebu = '',
Hotent = Hatebu +'hotentry',
HTML = <div class={Name}><style><![CDATA[
@ol {list-style:none; margin:0; padding:0}
@ol a {text-decoration:none}
@.selected {text-decoration:underline}
@kbd {font:bold 108% "Consolas", monospace; text-transform:uppercase}
@a img {border:none}
@.loading + .logo {opacity:0.4}
View twit.ubiq.js
+function(timeline, pdate){
const Twitter = '';
const Icon = '';
name: "say",
icon: Icon,
takes: {status: noun_arb_text},
description: ''+ <>Sets/displays your
<a href={Twitter}>Twitter</a> status/timeline</>,
execute: function(input){
satyr / thesaurus.ubiq.js
Created Sep 6, 2008
View thesaurus.ubiq.js
const Thesaurus = '';
name: "thesaurus",
icon: Thesaurus +'favicon.ico',
takes: {word: noun_arb_text},
description: ''+<>Consults <a href={Thesaurus}></a>.</>,
execute: function({text}){
satyr / google+.ubiq.js
Created Sep 7, 2008
[Ubiquity] google+
View google+.ubiq.js
+function(nums, pq, results, cursor, list){
const Google = '',
noun_type_page = {
_name: 'page',
suggest: function(txt){
var n = ~~txt % (this.pages.length + 1);
return [{data: i, summary: i} for(i in this.pages) if(++i >= n)];
pages: [1],
satyr / gimage.ubiq.js
Created Sep 9, 2008
[Ubiquity] Google Image
View gimage.ubiq.js
+function(nums, pq, results, cursor){
var noun_type_page = {
_name: 'page',
suggest: function(txt, htm)
[{data: i, summary: i} for(i in this.pages) if(++i >= +txt)],
pages: [1],
var noun_type_open = {
_name: 'open',
suggest: function(txt, m)
View dicg.ubiq.js
const Dicg = '',
Goo = '',
ID = '#_'+ (Math.random() +'').slice(2),
Base = <div class="dicg"><base href={Dicg}/><style><![CDATA[
@ul {padding-left:16px; margin:0 0 6px}
@h2, @h3 {font-size:96%; margin:0 0 4px}
@img, @.logo {background-color:#fff; border:none}
@li img {margin:0}
@li a + img {margin-left:2px}
@.logo {padding:4px 0; text-align:center; width:148px; height:40px}
satyr / wayback.ubiq.js
Created Sep 19, 2008
View wayback.ubiq.js
const Name = 'wayback', Wayback = '',
Base = '<style>'+ <![CDATA[
li {display:inline-block; font-family:monospace; margin-right:2.5em}
button {
padding:0; margin-right:0.3em; border-width:1px;
font:bold 104% monospace}
.error {font-style:oblique; line-height:1.8}
.logo {clear:both; display:inline-block}
.logo > img {vertical-align:middle}
.loading {opacity:0.9}
View caddy.xyzzy.l
; caddy (NOTE: make sure that golf.db has the script's name already)
(defun caddy (opt)
(concat "sh -c \"/bin/ruby ~/scripts/golf/caddy/caddy.rb -n "
opt " " (get-buffer-file-name) "\"")
t "*caddy*")
(defun caddy-l () (interactive) (caddy "-l"))
(defun caddy-r () (interactive) (caddy "-r -y"))
(global-set-key #\F7 'caddy-l)
You can’t perform that action at this time.