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 bigcamp.yok.student.model; | |
/** | |
* 아바타 클래스 | |
* Created by Youngjae on 13. 8. 31. | |
*/ | |
public class Avatar { | |
public String head; | |
public String headfront; | |
public String headback; |
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
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:dividerPadding="10dp" | |
android:layout_alignParentTop="true" | |
android:layout_toLeftOf="@+id/imageButtonSubmitYok" | |
android:layout_marginTop="20dp"> | |
<include |
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
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:dividerPadding="10dp" | |
android:layout_alignParentTop="true" | |
android:layout_toLeftOf="@+id/imageButtonSubmitYok" | |
android:layout_marginTop="20dp"> | |
<include |
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
// JSON 메시지 해석. | |
try { | |
if (jsonObject != null) { | |
resultIntent.putExtra("PushType", jsonObject.getString("type")); | |
if (jsonObject.getString("type").equalsIgnoreCase("Reply")) { | |
targetId = jsonObject.getString("questionId"); | |
ticker = "새 답변이 달렸어요"; | |
title = getString(R.string.pushReplyArrivedPrefix); | |
message = jsonObject.getString("text"); | |
resultIntent.putExtra("questionId", targetId); |
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
/// <summary> | |
/// UserStore for Telerik DataAccess. | |
/// </summary> | |
public class TelerikUserStore : IUserStore<AspNetUser, int>, IUserPasswordStore<AspNetUser, int>, IUserClaimStore<AspNetUser, int>, | |
IUserRoleStore<AspNetUser, int>, IUserSecurityStampStore<AspNetUser, int>, IUserLoginStore<AspNetUser, int>, IUserLockoutStore<AspNetUser, int>, | |
IUserEmailStore<AspNetUser, int>, IUserPhoneNumberStore<AspNetUser, int>, IUserTwoFactorStore<AspNetUser, int> | |
{ | |
private bool _disposed; | |
public TelerikUserStore() |
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
#Modified and simplified version of https://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/ | |
#Modified and treat error-terminating of http://weblogs.asp.net/srkirkland/ci-deployment-of-azure-web-roles-using-teamcity | |
$ErrorActionPreference = "Stop" | |
$subscription = "[Your Subscription Name]" | |
$service = "[Your Azure Service Name]" | |
$slot = "staging" #staging or production | |
$package = "[ProjectName]\bin\[BuildConfigName]\app.publish\[ProjectName].cspkg" | |
$configuration = "[ProjectName]\bin\[BuildConfigName]\app.publish\ServiceConfiguration.Cloud.cscfg" | |
$timeStampFormat = "g" | |
$deploymentLabel = "ContinuousDeploy to $service v%build.number%" |
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
<#-- Uses FreeMarker template syntax, template guide can be found at http://freemarker.org/docs/dgui.html --> | |
<#import "common.ftl" as common> | |
<#import "responsibility.ftl" as resp> | |
<#global subject>[<@common.subjMarker/>, SUCCESSFUL] Build ${project.fullName} :: ${buildType.name} <@common.short_build_info build/></#global> | |
<#global body>Build ${project.fullName} :: ${buildType.name} <@common.short_build_info build/> successful ${var.buildShortStatusDescription}. | |
<@resp.buildTypeInvestigation buildType true/> | |
Agent: ${agentName} |
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
# original: http://anuchandy.blogspot.kr/2014/06/automating-net-35-installation-on-azure.html | |
# Method that returns path to the directory holding 'installnet35.ps1' script. | |
function Get-ScriptDirectory | |
{ | |
$Invocation = (Get-Variable MyInvocation -Scope 1).Value | |
Split-Path $Invocation.MyCommand.Path | |
} | |
# Gets path to the local resource we reserved for manipulating the zip file. | |
[void]([System.Reflection.Assembly]::LoadWithPartialName("Microsoft.WindowsAzure.ServiceRuntime")) |
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
@echo off | |
reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5" /V SP | |
IF "%ERRORLEVEL%" EQU "0" ( | |
ECHO dotnet framework 3.5 is already installed >> "%TEMP%\StartupLog.txt" 2>&1 | |
EXIT 0 | |
) ELSE ( | |
PowerShell -ExecutionPolicy Unrestricted "%~dp0..\..\Startup\installnet35.ps1" >> "%TEMP%\StartupLog.txt" 2>&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
<Task commandLine="Startup\installnet35.cmd" executionContext="elevated" taskType="simple"> | |
<Environment> | |
<Variable name="EMULATED"> | |
<RoleInstanceValue xpath="/RoleEnvironment/Deployment/@emulated" /> | |
</Variable> | |
</Environment> | |
</Task> |