This file contains 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 toString; | |
import static org.hamcrest.CoreMatchers.is; | |
import static org.junit.Assert.*; | |
import org.junit.Test; | |
public class ToStringTest { | |
class A { |
This file contains 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
#!/bin/sh | |
# | |
# /etc/init.d/tomcat6 -- startup script for the Tomcat 6 servlet engine | |
# | |
# Written by Miquel van Smoorenburg <miquels@cistron.nl>. | |
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>. | |
# Modified for Tomcat by Stefan Gybas <sgybas@debian.org>. | |
# Modified for Tomcat6 by Thierry Carrez <thierry.carrez@ubuntu.com>. | |
# | |
### BEGIN INIT INFO |
This file contains 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.eclipse.swtbot.jface; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Field; | |
import org.eclipse.jface.wizard.IWizard; | |
import org.eclipse.jface.wizard.WizardDialog; | |
import org.eclipse.swt.widgets.Display; | |
import org.eclipse.swt.widgets.Shell; | |
import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable; |
This file contains 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.eclipse.swtbot.jface; | |
import java.lang.annotation.*; | |
import org.eclipse.jface.wizard.IWizard; | |
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.TYPE) | |
@Inherited | |
public @interface WithWizard { |
This file contains 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.kompiro.jamcircle.kanban.ui.wizard; | |
import static org.hamcrest.CoreMatchers.is; | |
import static org.hamcrest.CoreMatchers.notNullValue; | |
import static org.junit.Assert.assertThat; | |
import static org.mockito.Matchers.any; | |
import static org.mockito.Mockito.mock; | |
import static org.mockito.Mockito.times; | |
import static org.mockito.Mockito.verify; |
This file contains 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
irb(main):001:0> source = "=?ISO-2022-JP?B?GyRCIXcbKEJJVBskQj83Q2VCLkpzGyhCIC0=?= =?ISO-2022-JP?B?IDIwMTAvOS8zGyRCISEbKEI=?= =?ISO-2022-JP?B?GyRCOkdNJUBoO3Y5YCRPIUhAZEJQJW0bKEI=?= =?ISO-2022-JP?B?GyRCITwlcyVBJDUkOyRrJDMkSCEqIUkbKEI=?=" | |
=> "=?ISO-2022-JP?B?GyRCIXcbKEJJVBskQj83Q2VCLkpzGyhCIC0=?= =?ISO-2022-JP?B?IDIwMTAvOS8zGyRCISEbKEI=?= =?ISO-2022-JP?B?GyRCOkdNJUBoO3Y5YCRPIUhAZEJQJW0bKEI=?= =?ISO-2022-JP?B?GyRCITwlcyVBJDUkOyRrJDMkSCEqIUkbKEI=?=" | |
irb(main):002:0> require 'kconv' | |
=> true | |
irb(main):003:0> source.toutf8() | |
error: | |
=> "@IT新着速報 -" | |
except: |
This file contains 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
{ | |
"name": "Your App Name" | |
, "version": "0.0.1" | |
, "dependencies" : { | |
"coffee-script": ">= 1.1.2" | |
} | |
, "devDependencies" : { | |
"npm" : "latest" | |
} | |
, "scripts" : { |
This file contains 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
#!/bin/bash | |
JENKINS_CLI=jenkins-cli.jar | |
if [ "$1" = "" ]; then | |
echo "Usage: build_job.sh JOB_NAME" | |
exit 1 | |
fi | |
if [ "$JENKINS_URL" = "" ]; then |
This file contains 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 com.change_vision.astah.calendar; | |
import java.awt.FlowLayout | |
import java.awt.Graphics2D | |
import java.awt.MouseInfo | |
import java.awt.Point | |
import java.awt.RenderingHints | |
import java.awt.image.BufferedImage | |
import javax.swing.JDialog |
This file contains 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
importPackage(com.change_vision.jude.api.inf.model); | |
classes = astah.findElements(IClass); | |
var count = 0; | |
for(var i in classes) { | |
var clazz = classes[i] | |
if (clazz.getFullNamespace("::").indexOf("java") != 0) { | |
println(clazz.getName()); | |
count += 1; | |
} |
OlderNewer