Skip to content

Instantly share code, notes, and snippets.

@amazedkoumei
amazedkoumei / 0_reuse_code.js
Created August 29, 2017 05:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@amazedkoumei
amazedkoumei / import.rb
Last active December 19, 2015 22:29 — forked from ngauthier/import.rb
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = File.read ARGV[0]
doc = Nokogiri::XML(data)
// ==UserScript==
// @name TogetterFilter
// @namespace TogetterFilter
// @description Togetterを任意のユーザー名を用いてフィルタリング
// @include http://togetter.com/*
// @require https://github.com/azu/usconfig/raw/v1.13/usconfig.js
// ==/UserScript==
// 設定画面の定義 - http://d.hatena.ne.jp/h1mesuke/20100713/p1
Config.define('usc_basic', function() {
with (this.builder) {