Skip to content

Instantly share code, notes, and snippets.

View is2js's full-sized avatar
Focusing

Jaeseong Cho is2js

Focusing
View GitHub Profile
@is2js
is2js / gist:3a058b8dde226958b6d2253c3c278ac0
Created November 14, 2021 13:22
달력 println 예시
일 월 화 수 목 금 토
--------------------
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
## 기본 명령어
- ssh 로 서버 접속하기
```bash
ssh 사용자명@ip주소 -p 포트번호
```
```bash
ssh root@12.345.12.64 -p 1024
@is2js
is2js / 04_function_api_add_save
Created October 11, 2021 09:27
04_function_api_add_save
import json
import requests
from pymongo import MongoClient
from pymongo.errors import BulkWriteError
from pymongo.errors import DuplicateKeyError
def get_profile(user_id):
"""
정보 조회 - user_id를 입력하면 백준 사이트에서 해당 user의 프로필 정보 중 일부를 반환해줌.
@is2js
is2js / 04_function_api_add_save.py
Created October 11, 2021 09:04
04_function_api_add_save.py
import json
import requests
from pymongo import MongoClient
from pymongo.errors import BulkWriteError
def get_profile(user_id):
"""
정보 조회 - user_id를 입력하면 백준 사이트에서 해당 user의 프로필 정보 중 일부를 반환해줌.
:param str user_id: 사용자id
@is2js
is2js / function_api.py
Last active February 22, 2023 13:49
백준 사이트의 비공식 api를 이용하여 특정user의 정보들을 반환하는 요청 함수 3개를 정의함.
import json
import requests
def get_profile(user_id):
"""
정보 조회 - user_id를 입력하면 백준 사이트에서 해당 user의 프로필 정보 중 일부를 반환해줌.
:param str user_id: 사용자id
:return: 백준 프로필 정보
:rtype: dict
"""
<!DOCTYPE html>
<!--
Material Design Lite
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@is2js
is2js / I'm a night 🦉
Last active December 19, 2021 07:22
🚴‍♀️ My Gtihub Stats - 목표를 향해
🌞 Morning 58 commits ███░░░░░░░░░░░░░░░░░░ 14.4%
🌆 Daytime 144 commits ███████▍░░░░░░░░░░░░░ 35.6%
🌃 Evening 151 commits ███████▊░░░░░░░░░░░░░ 37.4%
🌙 Night 51 commits ██▋░░░░░░░░░░░░░░░░░░ 12.6%
@is2js
is2js / gist:bbeafd94c8c0ebba53912dd50820e64a
Created August 20, 2021 11:06
🚴‍♀️ DEHan's Github Stats - 목표를 향해
sadfdf
<script type="text/javascript" src="./images/shCore.js"></script>
<script type="text/javascript" src="./images/shBrushJScript.js"></script>
<script type="text/javascript" src="./images/shLegacy.js"></script>
<script type="text/javascript" src="./images/shBrushBash.js"></script>
<script type="text/javascript" src="./images/shBrushCpp.js"></script>
<script type="text/javascript" src="./images/shBrushCSharp.js"></script>
<script type="text/javascript" src="./images/shBrushCss.js"></script>
<script type="text/javascript" src="./images/shBrushDelphi.js"></script>
<script type="text/javascript" src="./images/shBrushDiff.js"></script>
<script type="text/javascript" src="./images/shBrushGroovy.js"></script>
@is2js
is2js / MainActivity.java
Created March 25, 2018 07:53
MainActivity.java
package com.tistory.nittaku.myrxjava_1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import io.reactivex.disposables.Disposable;