Skip to content

Instantly share code, notes, and snippets.

@koyachi
koyachi / private_fork.md
Created July 17, 2018 00:14 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@koyachi
koyachi / scrape.dart
Last active April 7, 2018 01:09 — forked from kui/scrape.dart
a web scraping script with Dart and html
import 'dart:io';
import 'dart:async';
import 'package:html/parser.dart';
import 'package:html/dom.dart';
main() {
final url = 'http://comic-walker.com/';
getHtml(url).then((document) {
print(document.querySelector('title').text);
document.querySelectorAll('#mainContent > li h2 span').forEach((e) {

Webの地上化 - keita watanabe

Firefox Developer Conference

http://mozilla.jp/events/2010/fxdevcon/

Webの地上化

Cloud <-> 地上

結婚パーティの食事中の写真、1名ネットブックを開いている

class Echonest::Api
def analysis(filename)
analysis_url = analysis_url(filename)
Analysis.new_from_url(analysis_url)
end
def analysis_url(filename)
loop = true
analysis_url = nil
// ==UserScript==
// @name Motsu Tabetai
// @namespace http://ikenie.com/
// @include *
// @require http://gist.github.com/raw/3242/1a7950e033a207efcfc233ae8d9939b676bdbf46
// @require http://gist.github.com/raw/34615/04333b7e307eb029462680e4f4cf961f72f4324c
// ==/UserScript==
(function() {
var DATABASE_URL = 'http://wedata.net/databases/Motsu/items.json';
@koyachi
koyachi / gist:34618
Created December 11, 2008 05:25 — forked from youpy/gist:34615
// wedata utility for Greasemonkey
// usage
/*
// ==UserScript==
// @name foo bar
// @namespace http://baz.com
// @require http://gist.github.com/raw/34615/ba15cad2dd736f32a6d7868ce6595ac1bd01c0a3
// ==/UserScript==