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
// Copyright (c) 2021 Koji Hasegawa | |
// This software is released under the MIT License. | |
#if UNITY_EDITOR | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Xml.Linq; | |
using UnityEditor; |
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
set appName to "JetBrains Rider" -- "JetBrains Rider-EAP" when using EAP | |
-- Full Wide VGA | |
set width to "854" | |
set height to "480" | |
tell application "System Events" | |
tell process appName | |
set size of front window to {width, height} | |
end tell |
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
set appName to "Unity" | |
-- Full Wide VGA | |
set width to "854" | |
set height to "480" | |
tell application "System Events" | |
tell process appName | |
set size of front window to {width, height} | |
end tell |
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
#!/usr/bin/env python2.7 | |
#coding=utf-8 | |
""" | |
指定ディレクトリ下のdrawable-xhdpiディレクトリにある画像ファイルを元に、(縦横二倍して)drawable-xxxhdpiディレクトリ下に画像ファイルを生成します。 | |
主にAndroid用。 | |
Usage | |
$ create_xxxhdpi_images_from_xhdpi.py -r <RESOURCE_DIR> | |
before |
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
/* | |
* Copyright(c) 2012-2013 Android Test and Evaluation Club. | |
* | |
*/ | |
package org.android_tec.atmarkit.usemockexample.models; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; |
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
/* | |
* Copyright(c) 2012 Android Test and Evaluation Club. | |
* | |
*/ | |
package org.android_tec.atmarkit.usemockexample.models; | |
import static org.mockito.Mockito.inOrder; | |
import static org.mockito.Mockito.mock; | |
import static org.mockito.Mockito.when; |
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
package com.nowsprinting.uiautomatorexample; | |
import com.android.uiautomator.core.UiObject; | |
import com.android.uiautomator.core.UiObjectNotFoundException; | |
import com.android.uiautomator.core.UiSelector; | |
import com.android.uiautomator.testrunner.UiAutomatorTestCase; | |
/** | |
* UI Automatorでtwiccaを操作してみるテスト. | |
* |
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
//ビルド年を求める | |
char* date = __DATE__; | |
char* year = date + strlen(date) -4; | |
NSInteger buildYear = atoi(year); | |
//Copyrightの設定 | |
if(COPYRIGHT_FIRSTVERSION_YEAR==buildYear){ | |
copyright_.text = [NSString stringWithFormat:@"%@ %d %@", | |
COPYRIGHT_PREFIX, COPYRIGHT_FIRSTVERSION_YEAR, COPYRIGHT_SUFFIX]; | |
}else{ |
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
#import <Availability.h> | |
#ifndef __IPHONE_3_0 | |
#warning "This project uses features only available in iPhone SDK 3.0 and later." | |
#endif | |
#ifdef __OBJC__ | |
#import <Foundation/Foundation.h> | |
#import <UIKit/UIKit.h> | |
#import <CoreData/CoreData.h> |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="gettercomment_context" deleted="false" description="Comment for getter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment">/** @return the {@link #${bare_field_name}}. */</template><template autoinsert="false" context="settercomment_context" deleted="false" description="Comment for setter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment">/** @param ${param} the {@link #${bare_field_name}} to set. */</template><template autoinsert="false" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment">/** | |
* Constructs a new ${enclosing_type} with the ... | |
* | |
* ${tags} | |
*/</template><template autoinsert="false" context="filecomment_context" deleted="false" description="Comme |
NewerOlder