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
makeSearchCommand({ | |
name: "dict", | |
url: "http://www.merriam-webster.com/dictionary/{QUERY}", | |
icon: "http://www.merriam-webster.com/favicon.ico", | |
description: "Searche Merriam-Webster Dictionary for {QUERY}.", | |
help: "Merriam-Webster Dictionaryに従え.", | |
preview: function(pblock, directObject) { | |
var searchTerm = directObject.text; | |
pblock.innerHTML = "Search Merriam-Webster Dictionary for your word. "; | |
if(searchTerm != ""){ |
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
package org.testinterceptor; | |
import java.lang.reflect.Method; | |
import java.util.Map; | |
import org.apache.juli.logging.Log; | |
import org.apache.juli.logging.LogFactory; | |
import org.apache.tomcat.jdbc.pool.ConnectionPool; | |
import org.apache.tomcat.jdbc.pool.JdbcInterceptor; | |
import org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty; |
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
package org.testtomcat; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.sql.Connection; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import javax.naming.InitialContext; |
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
import java.lang.reflect.ParameterizedType; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
public class Main { | |
/** | |
* @param args | |
*/ |
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
a,b,c,d,e | |
test,test2,test3,test4,test5 | |
a,b,c,d,e |
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
// This is a manifest file that'll be compiled into application.js, which will include all the files | |
// listed below. | |
// | |
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. | |
// | |
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
// compiled file. | |
// | |
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details |
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
import gym | |
env = gym.make('CartPole-v0') | |
env.reset() | |
for _ in range(1000): | |
env.render() | |
env.step(env.action_space.sample()) |
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
「簡易編集モード」をOn |
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
$ jupyter notebook | |
[W 23:02:29.351 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. | |
[I 23:02:29.398 NotebookApp] The port 3000 is already in use, trying another port. | |
[I 23:02:29.398 NotebookApp] The port 3001 is already in use, trying another port. | |
[I 23:02:29.398 NotebookApp] The port 3002 is already in use, trying another port. | |
[I 23:02:29.398 NotebookApp] The port 3003 is already in use, trying another port. | |
・・・ |
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
//Script here | |
//Alert(test); | |
var parsed = JSON.parse(var_settings); | |
for(var i = 0; i < parsed.data.length; i++) { | |
//Alert(one_data.name); | |
var one_var = parsed.data[i]; | |
name = one_var.name; | |
type = one_var.type; | |
value = one_var.value; |
OlderNewer