깃을 사용합시다. 깃을 쓰자. 깃을 쓰란 말야!!
-
SVN은 변경이력이 많아질수록 속도가 느리지.
-
커밋 및 처리속도가 빠르다. 변경이력이 많이 축적되어 있어도 속도저하가 거의 없다.
-
-
커밋찍기가 어렵다.
🌞 Morning 289 commits █████▋░░░░░░░░░░░░░░░ 27.3% | |
🌆 Daytime 481 commits █████████▌░░░░░░░░░░░ 45.5% | |
🌃 Evening 85 commits █▋░░░░░░░░░░░░░░░░░░░ 8.0% | |
🌙 Night 203 commits ████░░░░░░░░░░░░░░░░░ 19.2% |
AWS 학습 링크집 시리즈
AWS 학습 링크집 시리즈
message_template = "{ \"notification\": { \"body\": \"" + {푸시 메세지 내용} + "\", \"title\":\"" + {푸시 메세지 제목} + "\" }}" | |
message = { | |
'GCM': message_template # Firebase Cloud Messaging을 이용함. | |
} | |
message = json.dumps(message) | |
response = platform_endpoint.publish( | |
TargetArn=endpoint_arn, # 푸시 메세지를 받을 기기 | |
MessageStructure='json', | |
Message=message # 푸시 메세지의 내용 |
client = boto3.client('sns') | |
resource = boto3.resource('sns') | |
async def create_endpoint_arn(token): | |
try: | |
response = client.create_platform_endpoint( | |
PlatformApplicationArn=config.SNS_PLATFORM_APPLICATION_ARN, | |
Token=token | |
) |
import json | |
import boto3 | |
resource = boto3.resource('sns') | |
def lambda_handler(event, context): | |
body = json.loads(event['body']) # 서비스에서 전달한 데이터 | |
endpoint_arn = body['endpoint_arn'] # 클라이언트 기기의 endpointArn |
{ | |
"Version": "2012-10-17", | |
"Id": "ExamplePolicy01", | |
"Statement": [ | |
{ | |
"Sid": "ExampleStatement01", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::123456789012:user/Dave" | |
}, |
class SplashActivity : AppCompatActivity() { | |
private lateinit var viewModel: SplashViewModel | |
private lateinit var binding: ActivitySplashBinding | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
binding = DataBindingUtil.setContentView(this, R.layout.activity_splash) | |
viewModel = ViewModelProvider(this).get(SplashViewModel::class.java) |
class ExampleTask extends AsyncTask<String, Void, String> { | |
protected String doInBackground(String... inputString) { | |
/* | |
* ... | |
* ... | |
* 백그라운드에서 작동할 복잡한 처리 구현 | |
* ... | |
* ... | |
*/ | |