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
#-*- coding:utf-8 -*- | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
import urllib | |
# 작성일: 2018.02.17 | |
# 작성자: 박성완(adsloader99@gmail.com) | |
# Scratch 2.0 http extension doc 참고했음. | |
# https://wiki.scratch.mit.edu/wiki/File:ExtensionsDoc.HTTP-9-11.pdf | |
PORT_NUMBER = 50505 |
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
*************************************************************** | |
* Name: wxTestMain.h | |
* Purpose: Defines Application Frame | |
* Author: () | |
* Created: 2012-11-05 | |
* Copyright: () | |
* License: | |
**************************************************************/ | |
#ifndef WXTESTMAIN_H |
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
from uilib import * | |
import subprocess | |
def ParseProcInfo(s, sKeyword): | |
sline=s.split() | |
num = -1 | |
num = s.find(sKeyword) | |
if num == -1: return |
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
# -*- coding: cp949 -*- | |
from SimpleXMLRPCServer import SimpleXMLRPCServer | |
import xmlrpclib | |
import os | |
import base64 | |
import time | |
import sys | |
import zipfile | |
# zip 관리 클래스 |
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
/* | |
* 제목:inner Class를 이용한 동적함수처리 | |
* 작성자: 박성완(adsloader@naver.com) | |
* 목적 : 예제 | |
* */ | |
import java.util.HashMap; | |
class Event{ | |
public int STATE = 0; |
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
/* | |
* 제목:reflection을 이용한 동적함수처리 | |
* 작성자: 박성완(adsloader@naver.com) | |
* 목적 : 예제 | |
* */ | |
import java.util.HashMap; | |
import java.lang.reflect.Method; | |
class Event{ | |
public int STATE = 0; | |
public Event (int i ){STATE = i;} |
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
var 나의가치 :String = "기술지향적 개발자" | |
get (){ | |
return field | |
} | |
set(value) { | |
field = "니가 뭐라해도! 난 순수한 개발자다" | |
} | |
fun main(args: Array<String>) { | |
// 남이 말하는 나의 가치 |
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
fun 나의업무인가(업무요청 : String) : Boolean { | |
val 나의업무 = arrayListOf<String>("개발", "기술검토", "솔루션설계") | |
if( 업무요청 in 나의업무 ){ | |
return true | |
} | |
return false | |
} | |
fun main(args: Array<String>) { | |
나의업무인가("기획회의").let{ |
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
class 회사평가 { | |
val m = mapOf<String, Int>( | |
"일이좋다" to 25, | |
"자부심" to 30, | |
"높은연봉" to 25, | |
"유명회사" to 20, | |
"야근당연" to -60) | |
var 만족도 : Int = 0 |
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
fun 업무스타일() : (String) -> Unit { | |
var 연차: Int = 0; | |
// 견고함 | |
class 전문가coding{ | |
fun 메시지출력(s : String?){ | |
println ("전문가모드:"+ s) | |
} | |
} |
OlderNewer