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
Spinner spinner; | |
spinner = (Spinner) findViewById(R.id.hogeA); | |
spinner.setNextFocusDownId(R.id.hogeB); | |
spinner = (Spinner) findViewById(R.id.hogeB); | |
spinner.setNextFocusDownId(R.id.hogeC); |
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
class 印刷 | |
public void 印刷動作 | |
class 納品書印刷 extends 印刷 | |
@Override | |
public void 印刷動作 | |
class 請求書印刷 extends 印刷 | |
@Override |
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
Public Class HogeHoge | |
Public Property Hoge() as integer | |
Get | |
Return Hoge | |
End Get | |
Set(ByVal value as integer) | |
Hoge = value | |
End Set | |
End Property |
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
public class hoge { | |
public string fuge { get; set; } | |
} |
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
Public Class TryCatch | |
Public Function YesError() as hogeEnum | |
Dim i as integer | |
Dim returnCode as integer | |
Dim MessageReturn as Integer = MessageBox.Show("キャンセル?","問い合わせ",MessageBoxButton.YesNo) | |
If MessageReturn = DialogResult.No Then | |
Rerun hogeEnum.Cancel |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace linqtest | |
{ | |
public class hoge{ | |
public string id; | |
public int value; |
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
<?php | |
require_once 'PHPUnit/Autoload.php'; | |
class testBoolCheck extends PHPUnit_Framework_TestCase { | |
public function testBoolCheck_1(){ | |
$this->assertEquals(is_bool(-1),false); | |
} | |
public function testBoolCheck_2(){ |
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
<?php | |
function newCounter(){ | |
$i = 0; | |
return function() use ($i){ | |
return ++$i; | |
}; | |
} | |
//$c = newCounter(); |
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
/** | |
* Created with IntelliJ IDEA. | |
* User: m_arino | |
* Date: 12/05/18 | |
* Time: 11:10 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
(0..100).toArray().each { |
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
def phpUnitPath = '/opt/local/bin/' | |
def targetTestClass = '/workspace/cron/test/TestCheckMembers.php' | |
def cmd = phpUnitPath + 'phpunit ' + targetTestClass | |
def p = Runtime.getRuntime().exec(cmd) | |
def r = p.getInputStream().newReader('UTF-8') | |
r.eachLine{ | |
if((~/OK \(/).matcher(it).find()){ | |
Runtime.getRuntime().exec('/usr/local/bin/growlnotify -t phpUnit -m Green --image /Green.png') | |
} |
OlderNewer