From here, we can pretty much follow the exact same procedure.
On a terminal just do the following steps:
Install dependencies:
sudo apt install build-essential checkinstall libreadline-gplv2-dev \
s |
'''FTP server for Pythonista (iOS) | |
You can use this to exchange files with a Mac/PC or a file management app on the same device (e.g. Transmit). | |
If you use a Mac, you can connect from the Finder, using the "Go -> Connect to Server..." menu item. | |
''' | |
import os | |
from socket import gethostname |
import ui | |
import console | |
import keychain | |
import ftplib | |
import os | |
import re | |
import time | |
from datetime import datetime | |
global cur_dir | |
cur_dir = os.path.abspath(os.getcwd()) |
$ sudo apt-get install python-virtualenv |
import os | |
import datetime | |
import glob | |
from wand.image import Image | |
def ctime_prefix(name): | |
""" | |
파일 생성 시간을 취득하여 prefix를 생성해주는 함수 | |
:param path: 파일 절대경로 |
import os | |
import datetime | |
import glob | |
from wand.image import Image | |
def ctime_prefix(name): | |
""" | |
파일 생성 시간을 취득하여 prefix를 생성해주는 함수 | |
:param path: 파일 절대경로 |
From here, we can pretty much follow the exact same procedure.
On a terminal just do the following steps:
Install dependencies:
sudo apt install build-essential checkinstall libreadline-gplv2-dev \
# Add multimedia source | |
echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install deb-multimedia-keyring # if this aborts, try again | |
apt-get update | |
# Go to local source directory | |
cd /usr/local/src |
I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.
So it might be really unintuitive at first but lambda functions have three states.
AWSTemplateFormatVersion: "2010-09-09" | |
Description: 개발용 환경 구축 | |
Resources: | |
DevServer: | |
Type: "AWS::Cloud9::EnvironmentEC2" | |
Properties: | |
OwnerArn: !Sub 'arn:aws:iam::${AWS::AccountId}:user/datalake_2018' | |
Description: "헨드온 실습진행에 사용할 cloud9" | |
AutomaticStopTimeMinutes: 20 | |
InstanceType: t2.micro |