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
{ | |
"public_identifier": "codingcody", | |
"profile_pic_url": null, | |
"background_cover_image_url": null, | |
"first_name": "경옥", | |
"last_name": "윤", | |
"full_name": "경옥 윤", | |
"follower_count": 673, | |
"occupation": "소프트웨어 엔지니어 at Kakao Corp", | |
"headline": "I joined at kakao again. I am developing a story based game and undisclosed project.", |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
package="{Insert Your Package Name}" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:installLocation="preferExternal"> | |
<supports-screens | |
android:smallScreens="true" | |
android:normalScreens="true" | |
android:largeScreens="true" |
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
package com.kakaogames.android; | |
import android.os.Bundle; | |
import android.app.AlertDialog; | |
import android.content.DialogInterface; | |
import com.unity3d.player.UnityPlayerActivity; | |
public class MyUnityPlayerActivity extends UnityPlayerActivity | |
{ | |
@Override protected void onCreate(Bundle savedInstanceState) |
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
enum Type { | |
case 미국시민권자 | |
case 미국영주권자 | |
case 해당사항없음 | |
case 미국이외조세목적상거주자 | |
case 미국시민권자이면서미국이외 | |
case 미국영주권자이면서미국이외 | |
} | |
struct Tax { |
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
revisionString="$(git rev-parse HEAD)" | |
versionString="${revisionString:0:7}" | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $versionString" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
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
func playWithAutomatic(number:Int) { | |
let app = XCUIApplication() | |
let numberButton = app.buttons["number"] | |
let fizzButton = app.buttons["fizz"] | |
let buzzButton = app.buttons["buzz"] | |
let fizzBuzzButton = app.buttons["fizzbuzz"] | |
for index in 0...number { | |
if index%15==0 { | |
fizzBuzzButton.tap() |
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
let birthString = "1983년" | |
let currentString = "2015년" | |
if let birth = Int(birthString), let current = Int(currentString) { | |
let age = current - birth + 1 | |
} | |
else { | |
print("나이 계산을 위해서는 정수값만 입력해야 합니다.") | |
} |
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
func calcRectArea(rect:(width:Float, height:Float)) -> Float { | |
return rect.width*rect.height | |
} | |
calcRectArea((width:100, height:200)) |
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
func makeAddingClosure(start:Int)->(Int)->(Int) { | |
var total = start | |
func add(num:Int)->Int { | |
total = total + num | |
return total | |
} | |
return add | |
} |
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
func add(value1:Int, _ value2:Int)->Int{ | |
return value1+value2 | |
} | |
add(10, 20) | |
add(20, 10) |
NewerOlder