carlostyq
码龄14年
关注
提问 私信
  • 博客:51,122
    社区:5,088
    56,210
    总访问量
  • 2
    原创
  • 742,938
    排名
  • 4
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:江苏省
  • 加入CSDN时间: 2011-01-04
博客简介:

carlostyq的专栏

查看详细资料
个人成就
  • 获得6次点赞
  • 内容获得4次评论
  • 获得5次收藏
创作历程
  • 12篇
    2012年
兴趣领域 设置
  • 软件工程
    性能优化
创作活动更多

2024 博客之星年度评选报名已开启

博主的专属年度盛宴,一年仅有一次!MAC mini、大疆无人机、华为手表等精美奖品等你来拿!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

curl 参数

-a/--append 上传文件时,附加到目标文件-A/--user-agent string> 设置用户代理发送给服务器    -anyauth 可以使用“任何”身份验证方法-b/--cookie name=string/file> cookie字符串或文件读取位置    - basic 使用HTTP基本验证-B/--use-ascii 使用ASC
转载
发布博客 2012.09.11 ·
568 阅读 ·
2 点赞 ·
0 评论 ·
2 收藏

shell中两个函数(带参数)相互调用

#!/bin/bashaa () {typeset ii=$1if [ $i -ge 5 ]; thenexitfiecho aa call bbbb $(( i+=1 ))}bb () {typeset ii=$1if [ $i -ge 5 ]; thenexitfiecho bb call aaaa $(( i+=1 ))}aa 1
转载
发布博客 2012.08.31 ·
2767 阅读 ·
1 点赞 ·
1 评论 ·
1 收藏

shell 下 urlencode/urldecode 编码/解码的几种方法

1、先弄清楚为什么要 urlencode?http://www.genome.iastate.edu/community/angenmap/URLEncoding.htmlURL Encoding is the process of converting string into valid URL format. Valid URL format means that the URL con
转载
发布博客 2012.08.31 ·
34035 阅读 ·
3 点赞 ·
0 评论 ·
5 收藏

shell urldecode(awk版)

#/bin/shawk 'BEGIN{for(i=0;i1);printf"%s",substr(i,1,RSTART-1);printf"%c",hex[substr(i,RSTART+1,1)]*16+hex[substr(i,RSTART+2,1)];i=substr(i,RSTART+RLENGTH);}print i;}'
转载
发布博客 2012.08.31 ·
6171 阅读 ·
0 点赞 ·
3 评论 ·
3 收藏

验证码captcha用C语言实现

// Version 2012-02-20 (http://github.com/ITikhonov/captcha/tree/bbbaaa33ad3f94ce3f091badba51b44a231f12fd)// zlib/libpng license is at the end of this fileconst int gifsize;void captcha(unsigned ch
转载
发布博客 2012.08.30 ·
1548 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

md5.c

#include #include #include #include typedef unsigned char *POINTER; typedef unsigned short int UINT2; typedef unsigned long int UINT4; typedef str
转载
发布博客 2012.08.30 ·
915 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

md5.js

/*sha1 * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 * Version 2.1a Copyright Paul Johnston 2000 - 2002. * Other contributors: Greg Holt, Andrew
转载
发布博客 2012.08.30 ·
747 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

getaddrinfo.c

/* * getaddrinfo.c - Simple example of using getaddrinfo(3) function. * * Michal Ludvig (c) 2002, 2003 * http://www.logix.cz/michal/devel/ * * License: public domain. */#include #include
转载
发布博客 2012.08.30 ·
848 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

FTP EPRT 的解析(for IPv6)

#include #include #include #include #include #include #include #include #include #include #include int main(int argc,char **argv){ int i=0,j=0,k=0,ret=0; char str[512]={0}; char str2[5
原创
发布博客 2012.08.30 ·
1068 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

mydlink.asp的解析

#include #include int main(int argc,char **argv){ char buffer[1024] = "/mydlink/set_apply.asp?settingsChanged=1&index=1&Sta_type=3&Sta_reboot=1&index=2&Sta_type=3&Sta_reboot=1&index=3&Sta_type=3&
原创
发布博客 2012.08.30 ·
419 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

strtok_r用法

#include#include#define INFO_MAX_SZ 255int main(){ int i=0,j=0; char buffer[INFO_MAX_SZ]="Fred male 25,John male 62,Anna female 16"; char *p[20]; char *buf=buffer; char *outer
转载
发布博客 2012.08.30 ·
1564 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

用JavaScript实现UrlEncode和UrlDecode的脚本代码

Function str2asc(strstr) str2asc = hex(asc(strstr)) End Function Function asc2str(ascasc) asc2str = chr(ascasc) End Function /*这里开始时UrlEncode和UrlDecode函数*/ function UrlEncode(str){ var re
转载
发布博客 2012.08.30 ·
469 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏