윈도우 환경에서 linux로 test docker, cuda 는 잘 안된다. linux 용 windows 하위 시스템 (windows 기능) windows 국가또는 지역, 지역설정에서 utf-8 charset 설정 가능 (보안프로그램이 동작이 잘 안할 수 있다.) Linux (export LC_ALL, LANG = ko_KR.UTF-8) curl은 대부분의 protocol을 지원한다.
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
import os | |
from flask import Flask, render_template, redirect, url_for, request | |
import boto3 | |
from botocore.exceptions import ClientError | |
app = Flask(__name__) | |
APP_CLIENT_ID = os.getenv('COGNITO_CLIENT_ID') | |
@app.route('/') |
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
#include <stdio.h> | |
struct node { | |
int weight; | |
}; | |
struct PriorityQueue { | |
struct node n[65]; | |
int cnt; | |
}; |
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
using UnityEditor; | |
using UnityEngine; | |
using System.IO; | |
public class BuildAsssetBundles : MonoBehaviour { | |
[MenuItem ("Bundles/Build AssetBundles")] | |
static void BuildAllAssetBundles () { | |
var path = "./AssetsBundle/default"; | |
if (!Directory.Exists(path)) { | |
Directory.CreateDirectory(path); |
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
using System.Collections; | |
using System.Collections.Generic; | |
using WebSocketSharp; | |
using UnityEngine; | |
public class webSockManager : MonoBehaviour { | |
public static webSockManager instance = null; | |
WebSocket ws = null; |
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
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char **argv) | |
{ | |
int sockfd, n; | |
char sendline[1000]; |
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
import org.json.simple.JSONArray; | |
import org.json.simple.JSONObject; | |
import org.json.simple.parser.JSONParser; | |
public class Main { | |
public static void main(String[] args) { | |
String str = "[{'json_type_1'},{'json_type_2'},{'json_type_3'}]" | |
JSONParser parser = new JSONParser(); | |
JSONArray jsonArray = new JSONArray(); | |
try { |
NewerOlder