This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rfm.ta.test; | |
import org.apache.commons.lang.StringUtils; | |
import org.apache.commons.net.ftp.FTPClient; | |
import org.apache.commons.net.ftp.FTPClientConfig; | |
import org.apache.commons.net.ftp.FTPFile; | |
import org.apache.commons.net.ftp.FTPReply; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rfm.ta.gateway.sbs.helper; | |
import org.apache.commons.lang.StringUtils; | |
import rfm.ta.gateway.hfnb.model.txn.TaHfnbTiaXml2002; | |
import rfm.ta.test.Bean20002Test; | |
import java.lang.reflect.Field; | |
import java.math.BigDecimal; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: UTF-8 -*- | |
import requests | |
def getLang(user): | |
re = requests.get('https://api.github.com/users/'+user+'/repos') | |
if 200 == re.status_code: | |
for k,v in enumerate(re.json()): | |
print v['name'],v['language'] | |
if __name__ == '__main__': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package clientTest.test; | |
import org.apache.commons.lang.StringUtils; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.net.InetAddress; | |
import java.net.InetSocketAddress; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="stylesheet" href="gh-fork-ribbon.css"> | |
<link rel="stylesheet" href="style.css" /> | |
<style> | |
.right .github-fork-ribbon { | |
background-color: #333; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
You can use this to convert a DOM element or a HTML string to markdown. | |
Usage examples: | |
var markdown = toMarkdown(document.getElementById("content")); | |
// With jQuery you can easily convert HTML strings | |
var markdown = toMarkdown($("<ul><li>Hi!</li></ul>")[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onExpExcel() { | |
String[] excelHeader4 = {"代号", "名称", "金额", "代号", "名称", "金额"}; | |
String[] excelHeader3 = {"支出项目", "收入项目"}; | |
List<T623.Bean> dataList6 = new ArrayList<>(); | |
List<T623.Bean> dataList5 = new ArrayList<>(); | |
BigDecimal totexp = null;//支出合计 | |
BigDecimal totrev = null;//收入合计 | |
BigDecimal bene = null;//结益 | |
BigDecimal loss = null;//结损 | |
for (T623.Bean datas : dataList) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2010 by LongTop Corporation. | |
* | |
* All rights reserved. | |
* | |
* This software is the confidential and proprietary information of | |
* LongTop Corporation ("Confidential Information"). You | |
* shall not disclose such Confidential Information and shall use | |
* it only in accordance with the terms of the license agreement | |
* you entered into with LongTop. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String onExpExcel() { | |
try { | |
if (dataList == null || dataList.size() == 0) { | |
MessageUtil.addWarn("未查询数据!"); | |
return null; | |
} | |
Map beansMap = new HashMap(); | |
String excelFilename = "SBS损益表" + ".xls"; | |
JxlsManager jxls = new JxlsManager(); | |
beansMap.put("records", dataList); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: UTF-8 -*- | |
import requests | |
def getLang(user): | |
re = requests.get('https://api.github.com/users/'+user+'/repos') | |
if 200 == re.status_code: | |
for k,v in enumerate(re.json()): | |
print v['name'],v['language'] | |
if __name__ == '__main__': |