This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script> | |
| <script type='text/javascript'> | |
| var currentInfoWindow = null; | |
| function mapInit() { | |
| var myLatlng = new google.maps.LatLng(35.6, 139.7); | |
| var myOptions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data:image/jpeg;base64,%2F9j%2F4AAQSkZJRgABAgEASABIAAD%2F7QFsUGhvdG9zaG9wIDMuMAA4QklNA%2BkAAAAAAHgAKAAAAEgASAAAAAADGAJB%2F%2Ff%2F9wNAAkogAgV7A%2BAAAAAAAAAAAAAAAAAAAAAAAAAAMgAAAAAAAAABAQEAAAABJw8AAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwBkAAAAAAAAAAACAEC0FUAAAB4ARQAAADZCRCA4QklNA%2B0AAAAAABAASAAAAAEAAgBIAAAAAQACOEJJTQPzAAAAAAAIAAAAAAAAAAE4QklNJxAAAAAAAAoAAQAAAAAAAAACOEJJTQP1AAAAAABIAC9mZgABAGxmZgAGAAAAAAABAC9mZgABAKGZmgAGAAAAAAABADIAAAABAFoAAAAGAAAAAAABADUAAAABAC0AAAAGAAAAAAABOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAAFBIVVQINAAAAAAAAgAAOEJJTQQGAAAAAAAHAAYAAAABAQD%2F%2FgAnRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rvc2hvcKggNC4wAP%2FuAA5BZG9iZQBkQAAAAAH%2F2wCEAAICAgICAgICAgIDAgICAwQDAgIDBAUEBAQEBAUGBQUFBQUFBgYHBwgHBwYJCQoKCQkMDAwMDAwMDAwMDAwMDAwBAwMDBQQFCQYGCQ0KCQoNDw4ODg4PDwwMDAwMDw8MDAwMDAwPDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP%2FAABEIAPgBPQMBEQACEQEDEQH%2F3QAEACj%2FxAGiAAAABwEBAQEBAAAAAAAAAAAEBQMCBgEABwgJCgsBAAICAwEBAQEBAAAAAAAAAAEAAgMEBQYHCAkKCxAAAgEDAwIEAgYHAwQCBgJzAQIDEQQABSESMUFRBhNhInGBFDKRoQcVsUIjwVLR4TMWYvAkcoLxJUM0U5Kis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Google+ API test</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | |
| <script language="javascript"> | |
| var apiKey = 'ここに自分のGoogle API Keyを入れてください'; | |
| function reloadActivityList() { | |
| $.ajax({ | |
| type: 'GET', | |
| dataType: 'jsonp', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "html_attributions" : [], | |
| "results" : [ | |
| { | |
| "geometry" : { | |
| "location" : { | |
| "lat" : 35.7075230, | |
| "lng" : 139.7950180 | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <script> | |
| jQuery.fn.extend({ | |
| hoge: function() { | |
| return this.text('hoge') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| #あるWebページ内にある全ての「リンク先のURLと文字列」を上手く.. - 人力検索はてな | |
| #http://q.hatena.ne.jp/1334564001 | |
| require 'mechanize' | |
| class String | |
| def strip_with_full_size_space! | |
| s = " \s\r\n\t\f\v" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) | |
| # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). | |
| if [ -d /etc/profile.d ]; then | |
| for i in /etc/profile.d/*.sh; do | |
| if [ -r $i ]; then | |
| . $i | |
| fi | |
| done | |
| unset i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.profile: executed by the command interpreter for login shells. | |
| # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
| # exists. | |
| # see /usr/share/doc/bash/examples/startup-files for examples. | |
| # the files are located in the bash-doc package. | |
| # the default umask is set in /etc/profile; for setting the umask | |
| # for ssh logins, install and configure the libpam-umask package. | |
| #umask 022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name FreeStyleWiki PermLinker | |
| // @namespace http://www.suchi.org/ | |
| // @version 0.2 | |
| // @description add permlink dagger | |
| // ==/UserScript== | |
| var a = document.querySelectorAll('h2>a[name], h3>a[name], h4>a[name]'); | |
| for (var i = 0; i < a.length; i++) { | |
| var dag = document.createElement('a'); |