category
| id | name | parent | index |
|---|---|---|---|
| 1 | 맛집 | 0 | 0 |
| 3 | 로컬정보 | 0 | 2 |
| 4 | 치킨 | 3 | 0 |
| 5 | 중식 | 3 | 1 |
| 6 | 피자/스파게티 | 3 | 2 |
| import boto3 | |
| client = boto3.client('sns', | |
| aws_access_key_id=settings.AWS_ACCESS_KEY_ID, | |
| aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY, | |
| region_name='ap-northeast-1') | |
| for phone in recipient_list: | |
| client.publish( | |
| PhoneNumber=phonenumbers.format_number(phone, phonenumbers.PhoneNumberFormat.E164), | |
| Message=message, | |
| ) |
| from flask import Flask | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def hello_world(): | |
| return 'Hello, World!' |
| function check_password(pwd) { | |
| // Copyright (c) 2015 Lee Sahghyuck <[email protected]> | |
| // MIT License (http://opensource.org/licenses/mit-license.php) | |
| // Author : Lee Sahghyuck <[email protected]> | |
| // Date : 2015.02.17 | |
| var char_type = 0; | |
| if (/[a-z]/.test(pwd)) char_type = char_type + 1; | |
| if (/[A-Z]/.test(pwd)) char_type = char_type + 1; | |
| if (/[0-9]/.test(pwd)) char_type = char_type + 1; |
category
| id | name | parent | index |
|---|---|---|---|
| 1 | 맛집 | 0 | 0 |
| 3 | 로컬정보 | 0 | 2 |
| 4 | 치킨 | 3 | 0 |
| 5 | 중식 | 3 | 1 |
| 6 | 피자/스파게티 | 3 | 2 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <saram> | |
| <database> | |
| <node>mysql://test:testtest@localhost/test</node> | |
| </database> | |
| <module> | |
| <module name='elab.user' mid='user' path='users'> | |
| <module name='elab.keyvalue' mid='data' path='data'> | |
| <config> | |
| "name":"user_data", |