Skip to content

Instantly share code, notes, and snippets.

View pknam's full-sized avatar

KyeongNam Park pknam

View GitHub Profile
__author__ = 'pknam'
from selenium import webdriver
import time
def main():
# browser = webdriver.PhantomJS(executable_path=r"D:\selenium_drivers\phantomjs-2.0.0-windows\bin\phantomjs.exe")
# browser = webdriver.Ie(executable_path=r"D:\selenium_drivers\Internet Explorer(x64)\IEDriverServer.exe")
browser = webdriver.Chrome(executable_path=r"D:\selenium_drivers\Chrome(x86)\chromedriver.exe")
using System.Collections;
using System.Collections.Generic;
using OpenCvSharp;
using System.Runtime.InteropServices;
using System;
public class MyBlobLabeling : System.Object
{
public int m_nBlobs;
public List<CvRect> m_recBlobs;
using System.Collections;
using System.Collections.Generic;
using OpenCvSharp;
using System.Runtime.InteropServices;
using System;
public class MyBlobLabeling : System.Object
{
public int m_nBlobs;
public List<CvRect> m_recBlobs;
using UnityEngine;
using System.Collections;
public class CamMatrixControl : MonoBehaviour
{
public float rotate_angle = 0;
public float scale = 1;
public Vector2 shearing = Vector2.zero;
public Vector2 translation = Vector2.zero;
#--*-- coding:utf-8 --*--
def arg_log(func):
def dec(*args, **kwargs):
print args # list형식. 위치기반 인자정보
print kwargs # dictionary 형식. 이름있는 인자정보
func(*args, **kwargs)
return dec
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pknam
pknam / download_map_tiles.py
Last active December 11, 2015 03:17
This python script downloads map tile images of the Korean Peninsula from OpenStreetMap, GoogleMap. Please check the global variables before running this script.
#--*-- coding:utf-8 --*--
import requests
import urlparse
import os
import time
import random
import multiprocessing as mp
from gevent.monkey import patch_all
@pknam
pknam / MemoryCache_sample.cs
Last active January 18, 2016 09:10
Memory Cache sample code
using System;
using System.Runtime.Caching;
using System.Threading;
namespace cache_test
{
class Program
{
static void Main(string[] args)
{
@pknam
pknam / rvalue_test.cpp
Last active December 17, 2017 12:05
rvalue test
#include <iostream>
#include <string>
using namespace std;
class AA
{
string* data;
public: