Skip to content

Instantly share code, notes, and snippets.

View ykzts's full-sized avatar
💛
Inaba Haneru Love

Yamagishi Kazutoshi ykzts

💛
Inaba Haneru Love
View GitHub Profile
- [ARTCH, 宮村和生さん, "http://www.din.or.jp/%7Eabara/", "http://www.din.or.jp/%7Eabara/menu2.html"]
- [SGAS DESING BLOG.., 宮村和生さん, "http://5gas.blog17.fc2.com/", "http://5gas.blog17.fc2.com/?xml"]
- [AARDVARK, じじさん, "http://aardvark.xii.jp/", "http://aardvark.xii.jp/index.xml"]
- ["Are you me?", あゆみ.Kさん, "http://areyoume.net/", "http://areyoume.net/top.html"]
- [ああん庫, ななしさん, "http://page.freett.com/aanko/"]
- [相討ちネガティブギャング, いずみさん, "http://www.geocities.jp/negativegang/", "http://www.geocities.jp/negativegang/index_002.htm"]
- [ng18x2, いずみさん, "http://doelog.com/h/ng18x2/", "http://doelog.com/h/ng18x2/index.rss10"]
- ["icenotes, suite", 高野音彦さん, "http://icenotes.com/", "http://icenotes.com/diary/index.rdf"]
- [アイソトニクス, にーさん, "http://isotonix.jp/"]
@charset "utf-8";
* {
margin: 0;
padding: 0;
}
html, body, #body, #main {
width: 100%;
height: 100%;
#!/usr/bin/env python
import os
import sys
from glob import glob
from os import path
from random import shuffle
def main():
files = glob(path.expanduser('~/Music/iTunes/iTunes Music/*/*/*.m4a'))
#!/usr/bin/env python
def test(s):
ret = []
for line in s.split('\n'):
ret.append(line + line[-1::-1])
return '\n'.join(ret)
if __name__ == '__main__':
sample1="""12345
#!/usr/bin/env ruby
def test(s)
ret = []
for line in s.split("\n")
if line
ret.push(line + line.reverse[1,line.length].to_s)
else
ret.push('')
end
var re = {
'tumblr': /^http:\/\/[^.]+\.tumblr\.com\/post\//
};
function InlineImageInsert() {
arguments.callee.prototype = {
init: function(uri, api_uri, exp, line) {
this.uri = uri;
this.api_uri = api_uri;
--- Classes/Views/Log/ImageURLParser.m.orig 2010-05-07 03:46:46.000000000 +0900
+++ Classes/Views/Log/ImageURLParser.m 2010-05-07 06:08:33.000000000 +0900
@@ -80,6 +80,14 @@
}
}
}
+ else if ([host hasSuffix:@"tumblr.com"]) {
+ NSArray* ary1 = [host componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"."]];
+ NSArray* ary2 = [path componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"/"]];
+ NSString* userId = [ary1 objectAtIndex:0];
function processLine(e) {
var re = {
'tumblr': /^http:\/\/[^.]+\.tumblr\.com\/post\//,
'nicovideo': /^http:\/\/(www\.nicovideo\.jp\/watch|nico\.ms)\/[sn]m(\d+)/,
'youtube': /^http:\/\/((www\.)?youtube\.com\/|youtu\.be\/).*v=([a-zA-Z0-9\-]+)/
};
var line = e.target;
if (line.getAttribute('class') != 'line text') return;
var re = {
'tumblr': /^http:\/\/[^.]+\.tumblr\.com\/post\//,
'flickr': /^http:\/\/(www\.)?flickr.com\/photos\/[^/]+\/(\d+)/
};
var flickr_api_key = 'b64ebb97d85e8ab9571ea101bba30bcc';
function InlineImageInsert() {
arguments.callee.prototype = {
@charset "utf-8";
@import "./default.css";
div.info_description_more {
display: block;
}
div.info_description_more + a {
display: none;