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
[BG] | |
; Use Eterm look-feel Background extension (on/off) | |
BGEnable=off | |
; Use AlphaBlend API (on/off) | |
BGUseAlphaBlendAPI=on | |
; Susie plugin path | |
BGSPIPath=plugin |
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 TestClass { | |
public void test1(){ | |
// do something | |
} | |
public void test2(){ | |
// do something | |
} |
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
git clone https://github.com/iluwatar/java-design-patterns.git | |
cd java-design-patterns | |
mvn eclipse:eclipse |
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
@WebServlet(urlPatterns={"/LoginForm"}) | |
public class LoginForm extends HttpServlet{ | |
@Override | |
public void doPost(HttpServletRequest request, HttpServletResponse response){ | |
} | |
} |
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
<proxies> | |
<!-- proxy | |
| Specification for one proxy, to be used in connecting to the network. | |
| | |
<proxy> | |
<id>optional</id> | |
<active>true</active> | |
<protocol>http</protocol> | |
<username>proxyuser</username> | |
<password>proxypass</password> |
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
:%s/\(.*\)=\(.*\)/hashMap.put("\1", "\2");/g |
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
// 指定フォルダをhogeとする。 | |
Path path = Paths.get("C:","hoge"); | |
try(DirectoryStream<Path> ds = Files.newDirectoryStream(path, "*.txt") ){ | |
for(Path deleteFilePath : ds){ | |
System.out.println("次のファイルを削除します。: " + deleteFilePath.toString()); | |
Files.delete(deleteFilePath); | |
} | |
} catch (IOException e) { | |
e.printStackTrace(); |
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
$ compass create my-new-project -r bootstrap-sass --using bootstrap | |
directory my-new-project/ | |
directory my-new-project/fonts/bootstrap/ | |
directory my-new-project/javascripts/ | |
directory my-new-project/javascripts/bootstrap/ | |
directory my-new-project/sass/ | |
directory my-new-project/stylesheets/ | |
create my-new-project/config.rb | |
create my-new-project/sass/styles.scss | |
create my-new-project/sass/_bootstrap-variables.scss |
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
#Play Framework | |
export PATH=$PATH:/usr/local/bin/activator |
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
layout: { | |
type: 'fit' | |
}, | |
items:[{ | |
xtype: 'button', | |
text: 'button1', | |
},{ | |
xtype: 'button', // ここにはFitレイアウトは適用されない | |
text: 'button2', | |
}] |