Skip to content

Instantly share code, notes, and snippets.

View goungoun's full-sized avatar
๐ŸŒด
On vacation

Goun Na goungoun

๐ŸŒด
On vacation
  • 19:07 (UTC +09:00)
View GitHub Profile
@askcompany-kr
askcompany-kr / public-mask.ipynb
Last active March 11, 2020 08:00
๊ณต์ ๋งˆ์Šคํฌ ๋ฐ์ดํ„ฐ๋ฅผ ํŒŒ์ด์ฌ์œผ๋กœ ๊ฐ€์ ธ์™€์„œ Pandas๋กœ ์‚ด์ง ์‚ดํŽด๋ณด๊ธฐ
Loading
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 10, 2025 22:15
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 November 21, 2024 15:11
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