# SDK_ROOT
D:\Program_Files\Xilinx\SDK\2015.4
# BOOTGEN
${SDK_ROOT}\bin\unwrapped\win64.o
This file contains hidden or 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
// use C source code, not macro | |
void debug_printf(char *fmt,...){ | |
#ifdef _DEBUG | |
va_list ap; | |
va_start(ap,fmt); // #include <stdarg.h> | |
vprintf(fmt,ap); | |
va_end(ap); | |
#endif | |
} |
This file contains hidden or 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
✔ [/home/ubuntu/nginx_html/] | |
$ tree | |
. | |
├── homepage.php | |
├── home.php | |
├── index.html | |
└── xxoo | |
├── back.php | |
└── backup.php |
This file contains hidden or 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
<?php | |
// https://stackoverflow.com/questions/1545432/what-is-the-easiest-way-to-use-the-head-command-of-http-in-php | |
$dst_url='http://qq.com/'; | |
// create a new cURL resource | |
$ch = curl_init(); | |
// set URL and other appropriate options |
This file contains hidden or 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
/* | |
* IniSettings.cpp | |
* | |
* Created on: 2017年12月25日下午2:55:07 | |
* Author: lixingcong | |
*/ | |
//#include "StdAfx.h" | |
#include "IniSettings.h" | |
#include <iostream> |
This file contains hidden or 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
# C++ objects and libs | |
*.slo | |
*.lo | |
*.o | |
*.a | |
*.la | |
*.lai | |
*.so | |
*.dll | |
*.dylib |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Create on: 2015年10月25日 下午4:48:30 | |
# 说明:删除重复文件 dfs递归搜索目录判断有垃圾sdr文件 | |
# Author:lixingcong | |
import os | |
import shutil | |
import time |
This file contains hidden or 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
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
void restore_fmt(std::_Ios_Fmtflags fmt) | |
{ | |
cout << "restore flag" << endl; | |
cout.flags(fmt); | |
cout << endl; |