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
String matchString = "〒066-0012\n" + | |
"北海道千歳市美々 新千歳空港国内線ターミナルビル2F"; | |
Matcher matcher = Pattern.compile("\\s*〒(\\d{3}-\\d{4})[\\s ]*(.*?都)?(.*?道)?(.*?府)?(.*?県)?(.*?市)?(.*?区)?").matcher(matchString); | |
while (matcher.find()){ | |
System.out.println("住所:" + matcher.group(0)); | |
System.out.println(); | |
System.out.println("郵便番号:" + matcher.group(1)); |
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
Router(config)#hostname RT1 | |
RT1(config)#username syoui password villa | |
RT1(config)#int s2/0 | |
RT1(config-if)#ip address 172.16.10.1 255.255.255.0 | |
RT1(config-if)#en | |
RT1(config-if)#encapsulation ppp | |
RT1(config-if)#ppp au | |
RT1(config-if)#ppp authentication pa | |
RT1(config-if)#ppp authentication pap | |
RT1(config-if)#ppp pap |
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
Router(config-if)#router eigrp 100 | |
Router(config-router)#network 192.168.10.0 0.0.0.255 | |
Router(config-router)#network 172.16.10.0 0.0.0.255 | |
Router(config-router)#network 172.16.20.0 0.0.0.255 | |
Router(config-router)#network 172.16.30.0 0.0.0.255 |
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
Router(config)#router ospf 100 | |
Router(config-router)#network 10.1.0.0 0.0.255.255 area 0 | |
Router(config-router)#exit |
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
Mac-3:imageTab syoui$ git status | |
On branch tmp | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
New_Concept_English.txt | |
nothing added to commit but untracked files present (use "git add" to track) | |
iMac-3:imageTab syoui$ git add -A | |
iMac-3:imageTab syoui$ git commit -m "New Concept English" |
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 Contribution implements Serializable{ | |
String category; | |
Date time; | |
String title; | |
String content; | |
public Contribution(){ | |
category = "general"; | |
time = new Date(); |
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
Router3(config)#router rip | |
Router3(config-router)#network 192.168.12.0 | |
Router3(config-router)#network 192.168.8.0 | |
Router3(config-router)#network 192.168.9.0 | |
Router3(config-router)#network 192.168.7.0 | |
Router3(config-router)#version 2 |
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
class MyLinerLayout extends LinearLayout { | |
private LayoutInflater mLayoutInflater; | |
private Resources mResources; | |
public MyLinerLayout(Context context) { | |
super(context); | |
} | |
public MyLinerLayout(Context context, @Nullable AttributeSet attrs) { | |
super(context, attrs); |
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 fileTree(dir: 'libs', include: ['*.jar']) |