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
:~/.ssh$ ssh-keygen | |
Generating public/private rsa key pair. | |
Enter file in which to save the key (/home/art/.ssh/id_rsa): id_rsa_file_name | |
Enter passphrase (empty for no passphrase): | |
Enter same passphrase again: | |
... |
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
set notitle |
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
@echo off | |
rem This bat file works to resolve Eclipse Android SDK Content Loader hanging problem. | |
rem Change directory to userprofile.android | |
cd %USERPROFILE%\.android% | |
echo %CD% | |
rem search and delete file "ddms.cfg" | |
set DEL_FILE="ddms.cfg" |
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
// Unique UUID for this application | |
private static final UUID MY_UUID = UUID.fromString("fa87c0d0-afac-11de-8a39-0800200c9a66"); |
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
client = Client(url_name = self.user_name, password = self.user_pass) | |
token = client.token # post等はここで取得したtokenを使用 | |
users = Users() | |
user_items = users.user_items(url_name=self.user_name, params={'page':1, 'per_page':100}) |
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
@EActivity(R.layout.test) | |
public class Test extends Activity { | |
@ViewById(R.id.mySurfaceView) | |
TestSurfaceView tsv; | |
@Click(R.id.leftButton) | |
protected void leftButtonClick(final View view) { | |
// TODO | |
} |
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
ArrayList<String> arr1 = new ArrayList<String>() { | |
private static final long serialVersionUID = 1L; | |
{ | |
add("a"); | |
add("b"); | |
add("c"); | |
add("d"); | |
add("e"); | |
} | |
}; |