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
    
  
  
    
  | @ApplicationPath("/") | |
| public class FrontConfig extends ResourceConfig { | |
| @Inject | |
| public FrontConfig(ServiceLocator serviceLocator) { | |
| GuiceBridge.getGuiceBridge().initializeGuiceBridge(serviceLocator); | |
| GuiceIntoHK2Bridge guiceBridge = serviceLocator.getService(GuiceIntoHK2Bridge.class); | |
| guiceBridge.bridgeGuiceInjector(Guice.createInjector(new ServletModule() { | |
| @Override protected void configureServlets() { | |
| } | 
  
    
      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
    
  
  
    
  | public class PostgresUDFOutputPlugin implements OutputPlugin { | |
| public interface PluginTask extends Task { | |
| @Config("host") | |
| public String getHost(); | |
| @Config("port") | |
| @ConfigDefault("5432") | |
| public int getPort(); | |
| @Config("user") | 
  
    
      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
    
  
  
    
  | dependencies { | |
| compile "org.embulk:embulk-core:0.5.0" | |
| provided "org.embulk:embulk-core:0.5.0" | |
| // compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION" | |
| gems "rubygems:embulk-input-jdbc:0.3.0" | |
| testCompile "junit:junit:4.+" | |
| } | |
| task loadJdbcInputPlugin(type: Copy, dependsOn: ["jrubyPrepareGems"]) { | |
| from(fileTree("${project.buildDir}/vendor/gems/embulk-input-jdbc-0.3.0/src/main/java/org/embulk/input/")) | 
  
    
      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
    
  
  
    
  | { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "darken(#428bca, 6.5%)", | |
| "@brand-success": "#5cb85c", | 
  
    
      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
    
  
  
    
  | Process: idea [1501] | |
| Path: /opt/homebrew-cask/*/IntelliJ IDEA 14.app/Contents/MacOS/idea | |
| Identifier: com.jetbrains.intellij | |
| Version: 14.0.2 (IU-139.659.2) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: idea [1501] | |
| User ID: 501 | |
| Date/Time: 2014-12-09 17:08:56.835 +0900 | 
  
    
      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 kakuskue | |
| // @namespace | |
| // @description copy multiple column data by table header select & copy | |
| // @include * | |
| // @exclude | |
| // ==/UserScript== | |
| function is(elm, name) { | |
| if (elm.nodeType !== 1) return false; | 
  
    
      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
    
  
  
    
  | function notifyMail() { | |
| var token = '[APIトークン]'; | |
| var roomId = '[ルームID]'; | |
| // 未読メールを取得する 検索クエリを変更すれば転送するメールを絞ることも可能 | |
| var threads = GmailApp.search('is:unread'); | |
| if (threads == null || threads.length === 0) return; | |
| for (var i = 0, tlen = threads.length; i < tlen; i++) { | |
| var msgs = threads[i].getMessages(); | 
  
    
      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
    
  
  
    
  | function Arraylike() { | |
| for (var i = 0, len = arguments.length; i < len; i++) { | |
| this[i] = arguments[i]; | |
| } | |
| this.length = len; | |
| } | |
| Arraylike.prototype.join = function(separator) { | |
| return [].join.call(this, separator); | |
| } | 
  
    
      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
    
  
  
    
  | $.extend({ | |
| nullDeferred: (function(){ | |
| function returnThis(){ return this; } | |
| var promise = {}; | |
| // 基本はメソッドチェーンできるメソッドなので、自身を返すメソッドを生やす | |
| for(var n in $.Deferred().promise()){ | |
| promise[n] = returnThis; | |
| } | 
  
    
      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
    
  
  
    
  | Object.defineProperty(Object.prototype, 'merge', { | |
| value: function(o){ | |
| for(var key in o){ | |
| this[key] = o[key]; | |
| } | |
| return this; | |
| }, | |
| writable: true, | |
| configurable: true, | |
| enumerable: false | 
NewerOlder