Skip to content

Instantly share code, notes, and snippets.

View 5tigerjelly's full-sized avatar

Chris Oh 5tigerjelly

View GitHub Profile
[
Bar({
"c": 129.73,
"h": 129.73,
"l": 129.71,
"o": 129.73,
"t": 1613764860,
"v": 4788
}),
Bar({
import base64
UTF_8 = "UTF-8"
def get_utf_8_encoded_string(txt) -> str:
encoded = base64.b64encode(txt.encode(UTF_8))
return encoded.decode(UTF_8)
군휴학과 복학 사이
이글은 미국 유학생인 필자를 기준으로 작성했습니다. 타 국가의 유학생은 다를 수 있다는 점 참고바랍니다.
대한민국 국적을 가진 남성이라면 가야하는 군대, 과연 유학생들은 어떻게 군대를 준비하면 좋을까? 오늘은 필자의 경험을 바탕으로 다른 유학생들에게 경험과 조언을 전하려고한다.
크게 군대를 갈 수 있는 시기는 대학 입학 전, 재학 중, 그리고 졸업 후로 나눌 수 있다. 하지만, 대학 입학 전과 졸업 후는 추천을 하지 않는다. 입학 전 같은 경우에는 이미 합격을 했다는 가정하에 대학교에서 최소 1학기에서 1년을 다녀 야지만 휴학을 허용해주는 경우가 많다. 졸업 후의 경우도 비슷하다. 졸업과 동시에 군대를 입대해버린다면, 전역 이후 OPT는 학생비자가 만료되어 사용하지 못한다.
그렇다면 가장 현실적인 재학 중 입대에 대해서 알아보자. 필자의 주변 유학생들을 바탕으로 대부분은 1학년을 마치고, 소수는 2학년을 마치고 입대를 했다. 3학년을 마치고 입대를 한 유학생은 아직 만나본 적이 없다.
service: my-scala-lambda
provider:
name: aws
runtime: java8
package:
artifact: target/scala-2.12/hello.jar
functions:
language:
- scala
jdk:
- oraclejdk8
scala:
- 2.12.8
branches:
only:
- master
before_install:
{
"Statement": [
{
"Action": [
"apigateway:*",
"cloudformation:CancelUpdateStack",
"cloudformation:ContinueUpdateRollback",
"cloudformation:CreateChangeSet",
"cloudformation:CreateStack",
"cloudformation:CreateUploadBucket",
@5tigerjelly
5tigerjelly / install.sh
Last active January 10, 2020 16:14
워드프레스 EC2에 설치하는 방법
//ssh 하기
ssh ec2-user@<-public DNS-> -i seoul-key.pem
//키의 권환 변경하기
chmod 600 seoul-key.pem
//ssh 접속한 이후
sudo su
//아파치 웹서버 설치하기
function face(centerX, centerY, radius, exo, eyo) {
canvas.beginPath();
canvas.arc(centerX, centerY, radius, 0, 2 * Math.PI, false);
canvas.fillStyle = 'yellow';
canvas.fill();
canvas. lineWidth = 5;
canvas.strokeStyle = 'black';
canvas.stroke();
// aye aye captain
canvas.beginPath();
def parseText(large_text, parse_term):
result_list = []
# if not found
if not large_text:
return result_list
found = False
for line in large_text.strip().splitlines():
line = line.strip().lower()
if found:
if line != '' and line != '.':
@5tigerjelly
5tigerjelly / README-template.md
Created January 24, 2018 22:10
This is the template to INFO344 README.md file

INFO 344 PA 2

Website Link

Link to working website

Screenshot

alt text

Write up

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam aliquam tempus leo, id vulputate mi aliquam eu. Ut lobortis lacus sed eros porttitor interdum. Etiam sed eros ac neque iaculis ullamcorper ac non ante. In faucibus luctus dignissim. Vestibulum fermentum neque eros, quis tristique sapien bibendum eget. Nam consectetur ornare mauris non feugiat. Cras eu feugiat quam. Phasellus quis placerat nunc. Nam posuere leo ac rhoncus auctor. Vivamus ut metus accumsan, tristique lectus ac, hendrerit nibh.