GCS json ํŒŒ์ผ ์ฝ๊ธฐ

import com.google.cloud.storage.Blob;
import com.google.cloud.storage.Storage;
import com.google.cloud.storage.StorageOptions;
import com.google.auth.oauth2.GoogleCredentials;

public class gcs_json_file_read{
	private static String PROJECT_ID = "your-project-id";
	private static String PATH_TO_JSON_KEY = "your-service-key";
	private static String BUCKET_NAME = "your-bucket-name";
	private static String OBJECT_NAME = "your-file-name";

public void main(String[] args) {
StorageOptions options = null;

	try {
		options = StorageOptions.newBuilder()
			.setProjectId(PROJECT_ID)
			.setCredentials(GoogleCredentials.fromStream(
			new FileInputStream(PATH_TO_JSON_KEY))).build();
	     } catch (Exception e){
			System.out.println(e);
	     }

	Storage storage = options.getService();
	Blob blob = storage.get(BUCKET_NAME, OBJECT_NAME);
	String test = new String(blob.getContent());

	System.out.println(test)
	}
}

macOS Catalina 10.15 ์—…๋ฐ์ดํŠธ ํ›„ ์•…์„ฑ ์†Œํ”„ํŠธ์›จ์–ด ํ™•์ธ ๊ฒฝ๊ณ 

Catalina 10.15๋กœ ์—…๋ฐ์ดํŠธ ํ›„์— ๋ฆฌ๋””๋ถ์Šค ์•ฑ ์‹คํ–‰ ์‹œ ์•…์„ฑ ์†Œํ”„ํŠธ์›จ์–ด๊ฐ€ ์žˆ๋Š”์ง€ ํ™•์ธ ํ•  ์ˆ˜ ์—†๋‹ค๊ณ  ์‹คํ–‰์ด ๋˜์ง€ ์•Š๋Š”๋‹ค.

 

ํ™˜๊ฒฝ์„ค์ • > ๋ณด์•ˆ ๋ฐ ๊ฐœ์ธ์ •๋ณด ๋ณดํ˜ธ > ์ผ๋ฐ˜(ํƒญ) ์—๋„

์•ฑ ํ—ˆ์šฉ์—๋Š” App Store์™€ Apps Store๋ฐ ํ™•์ธ๋œ ๊ฐœ๋ฐœ์ž๋งŒ ์žˆ๋‹ค.

ํ„ฐ๋ฏธ๋„์„ ์—ด์–ด์„œ ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•œ๋‹ค.

sudo spctl –master-disable

ํ™˜๊ฒฝ ์„ค์ • ์ฐฝ์„ ๋‹ซ์€ ํ›„ ๋‹ค์‹œ ์—ด์–ด์„œ ํ™•์ธ์„ ํ•ด๋ณด๋ฉด ‘๋ชจ๋“  ๊ณณ’์ด ์ถ”๊ฐ€ ๋˜์–ด์žˆ๋‹ค.

๋‹ค์‹œ ์•ฑ์„ ์‹คํ–‰ํ•ด๋ณด์ž.

์ž˜๋œ๋‹ค.

๊ฒŒ์ž„์‚ฌ Open API List

๋ฐฐํ‹€๊ทธ๋ผ์šด๋“œ PUBG Developer Portal

https://developer.pubg.com


๋˜์ „์•คํŒŒ์ดํ„ฐ | ์‚ฌ์ดํผ์ฆˆ Neople Developers

https://developers.neople.co.kr/contents/guide/pages/all


LOL | RIOT Games

https://developer.riotgames.com/apis#champion-mastery-v4


DOTA | Dota 2 data platform

https://www.opendota.com


docker terminal ์ ‘์† ๋ฐฉ๋ฒ•

docker์— ํ„ฐ๋ฏธ๋„๋กœ ์ ‘์†ํ•˜๋Š” ๋ฐฉ๋ฒ•

  • ๋ฃจํŠธ ๊ถŒํ•œ์„ ๋ฐ›๋Š”๋‹ค

sudo su –ย 

  • ์‹คํ–‰์ค‘์ธ ๋„์ปค ๋ฆฌ์ŠคํŠธ์—์„œ Container ID๋ฅผ ์ฐพ๋Š”๋‹ค

docker ps -a

  • ์ฐพ์€ Container ID๋ฅผ ํ™œ์šฉํ•ด์„œ Docker์— ์ ‘์†ํ•œ๋‹ค

docker exec -it containerID /bin/bash