Skip to content

Instantly share code, notes, and snippets.

@askcompany-kr
askcompany-kr / public-mask.ipynb
Last active March 11, 2020 08:00
공적마스크 데이터를 파이썬으로 가져와서 Pandas로 살짝 살펴보기
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Extension을 통한 설치에서는 종종 Timeout이 발생합니다.

본 설치를 통해 Azure Function에서 파이썬3를 활용하고 있습니다.

함수 앱 > 플랫폼 기능 > 고급도구 (KUDU) > Debug Console > CMD

필요한 라이브러리는 d:/home/site/tools/python -m pip install 필요한팩키지명 명령으로 설치해주세요.

네트워크가 느릴 수 있으니, 미리 Pull 받아주세요!
docker pull ubuntu:14.04
docker pull ubuntu:16.04
docker pull centos:7
docker pull byrnedo/alpine-curl
docker pull subicura/docker-workshop-app:1
docker pull subicura/docker-workshop-app:2
docker pull subicura/docker-workshop-app:3
docker pull redis
@tasdikrahman
tasdikrahman / python_tests_dir_structure.md
Last active February 21, 2024 02:16
Typical Directory structure for python tests

A Typical directory structure for running tests using unittest

Ref : stackoverflow

The best solution in my opinion is to use the unittest [command line interface][1] which will add the directory to the sys.path so you don't have to (done in the TestLoader class).

For example for a directory structure like this:

new_project

├── antigravity.py

@rxin
rxin / ramdisk.sh
Last active December 13, 2023 02:40
ramdisk create/delete on Mac OS X.
#!/bin/bash
# From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/
#
ARGS=2
E_BADARGS=99
if [ $# -ne $ARGS ] # correct number of arguments to the script;
then