Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
Please go to https://github.com/nishuzumi/gemini-teacher |
// Just an example, for Rails config better use embedded ERB | |
final DATABASE_YAML_TEMPLATE = ''' | |
test: | |
adapter: oracle_enhanced | |
database: app_db | |
username: ${user} | |
password: ${password} | |
''' | |
final CFG_PATH = 'config/database.yml' |
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
程序实例 | |
publicclassId18 { | |
int[] weight={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; //十七位数字本体码权重 | |
char[] validate={ '1','0','X','9','8','7','6','5','4','3','2'}; //mod11,对应校验码字符值 | |
publicchargetValidateCode(String id17){ |
#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
# 又拍云 python sdk 添加更新缓存的接口 | |
def update_cache(self, urls): | |
""" | |
>>> url1 = "http://kaka.b0.upaiyun.com/kaka_001.flv" | |
>>> url2 = "http://kaka.b0.upaiyun.com/kaka_002.flv" | |
>>> urls = [url1, url2] | |
>>> res = up.update_cache(urls) | |
>>> return tuple (status, content) | |
""" |
/* | |
Live.js - One script closer to Designing in the Browser | |
Written for Handcraft.com by Martin Kool (@mrtnkl). | |
Version 4. | |
Recent change: Made stylesheet and mimetype checks case insensitive. | |
http://livejs.com | |
http://livejs.com/license (MIT) | |
@livejs |
#!/usr/bin/env python | |
# ftpserver.py | |
# | |
# pyftpdlib is released under the MIT license, reproduced below: | |
# ====================================================================== | |
# Copyright (C) 2007 Giampaolo Rodola' <g.rodola@gmail.com> | |
# | |
# All Rights Reserved | |
# | |
# Permission to use, copy, modify, and distribute this software and |