#なんだかんだ
##えーと1 どういうこういう そういうどういう
##えーと2 どういうこういう そういうどういう
| /** | |
| * $.unserialize | |
| * | |
| * Takes a string in format "param1=value1¶m2=value2" and returns an object { param1: 'value1', param2: 'value2' }. If the "param1" ends with "[]" the param is treated as an array. | |
| * | |
| * Example: | |
| * | |
| * Input: param1=value1¶m2=value2 | |
| * Return: { param1 : value1, param2: value2 } | |
| * |
#なんだかんだ
##えーと1 どういうこういう そういうどういう
##えーと2 どういうこういう そういうどういう
| // ==UserScript== | |
| // @name getMemoryInfo | |
| // @namespace http://efcl.info/ | |
| // @description メモリ情報をcontentスコープから取得できるように拡張 | |
| // @include main | |
| // ==/UserScript== | |
| var memoryInfo = { | |
| init: function(event) { | |
| let doc = event.originalTarget; | |
| //alert(doc.defaultView.location.href); |
| (function (window, document, $, undefined) { | |
| if (!$.Deferred) throw 'jQuery 1.5 is required to use the jQuery.oauth script!'; | |
| function require(name, url) { | |
| if (window[name] === undefined) | |
| return $.ajax({ type: 'GET', cache: true, dataType: 'script', url: url }); | |
| } | |
| $.oauth = function (options) { | |
| var d = $.Deferred(); |
| <!DOCTYPE html> | |
| <script src="url.js"></script> | |
| <script> | |
| var url = new URL('http://www.example.com/a/b/c.html?p=q&r=s&p&p=t#hash'); | |
| for (var key in url) { | |
| console.log(key, url[key]); | |
| } |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| <html> | |
| <head> | |
| <title>client</title> | |
| <script type="text/javascript" src="jquery-1.7.2.js"></script> | |
| <script type="text/javascript" src="jquery.base64.js"></script> | |
| <script type="text/javascript"> | |
| function getinfo() { | |
| $.ajax({ | |
| url: "http://example.com/", | |
| success: function(data){alert('OK');}, |
| #!/usr/bin/php | |
| <?php | |
| switch($argc) { | |
| case 1: | |
| case 2: | |
| echo "please input new site url and wp directory name!\n"; | |
| exit(); | |
| default: | |
| $old_site = isset($argv[3]) ? $argv[3] : ''; | |
| $path = $argv[2]; |
Create a Meteor app and put the client_/server_ files in a client/server directories. Also, create a public dir to save the uploaded files.
| rvmを削除してrbenv+ruby-buildに変更して1.9.3-p194をビルドしましたが、Gemfileのなかの | |
| gem 'turn', require: false | |
| こういうハッシュでエラーが出ます。どうしたら良いでしょうか!? | |
| [~/work/Rails/Gettan]$ ruby -v | |
| ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.2.0] | |
| [~/work/Rails/Gettan]$ rbenv version | |
| 1.9.3-p194 (set by /Users/imaz/.rbenv/version) |