prtsoft.com
域名年龄: 19年9个月4天HTTP/1.1 200 OK 访问时间:2015年02月02日 11:20:00 缓存控制:no-store, 不缓存,必须更新, post-check=0, pre-check=0 其他指令:不缓存 X-Pingback: http://www.paulscv.org/xmlrpc.php 设置Cookie:PHPSESSID=fGNj2O4BdARQrmnym3dkP1; path=/ 设置Cookie:wfvt_2973686890=54ceece0e54d7; expires=Mon, 02-Feb-2015 03:50:00 GMT; path=/ 设置Cookie:pll_language=en; expires=Tue, 02-Feb-2016 03:20:00 GMT; path=/ 动作:Accept-Encoding Content-Encoding: gzip 文件大小:4829 Keep-Alive: timeout=2, max=100 连接:Keep-Alive 类型:text/html; charset=UTF-8 网站编码:UTF-8
PRTSoft – Paul ThompsonPHP/MySQL FreelancerUpdated ResumeNovember 30th, 2012 by adminI have added new newest work in my updated resume.This resume highlight the contract work in PHP Web development that I have done, as well as the current Oracle work I am doing now.Posted in General | No Comments »C# Command Line ClipboardJune 15th, 2012 by adminI have a client that wanted a program that would put whatever is passed to it into the clipboard:C:\> ClipIt.exe This all goes into the clipboardIts relatively simple. I did this as a console app, so if you do this as a Winform, skip the first step.1. Add a reference to System.Windows.Forms to give you access to the ClipBoard class.2. Add this code to your Program.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;namespace ClipIt{class Program{[STAThread]static void Main(string[] args){string clipped = "";foreach (string s in args){clipped += s + " ";}Clipboard.SetText(clipped.Trim());}}}3. That’s it. Now you can pass it text, and it will put it into the Windows Clipboard.Tags: C# Posted in C#, Freelancing, General | No Comments »Quick and painless XML with XSD and XMLSerializer March 17th, 2011 by admin I spend 1/2 of my day last week banging my head against a wall, trying to parse a long XML document into a CLR object. I tried XPATH, DOM, etc, but they kept running into snags when trying to iterate multiple values, etc. So the following solution allowed me to take the XML our billing company POSTs to me, and make it into a CLR object that I can use in code very easily. Get the XSD for the XML – fortunately, my billing company provides it, otherwise, xsd can convert the xml to xsd. xsd file.xsd /c /o:dest/path use the XMLSerialize class to take the POSTed XML and put it into the generated CS class from XSD: XmlSerializer deserializer = new XmlSerializer(typeof(GENERATED.CS)); TextReader textReader = new StreamReader(Request.InputStream); GENERATED response = (GENERATED.CS)deserializer.Deserialize(textReader); There you are, the GENERATED class’s object now contains all of the data from the XML in a CLR accessable manner! Posted in General | No Comments » New API February 10th, 2011 by admin I’m in the process of designing an API for MP3-Sermons.com. It will be XML-RPC. Post an XML to the addresses, and get an XML response back, or JSON, if desired. Here is how I’m approaching this: POST and XML to: apiServer.php?type=XML <method_call> <method name=”get_sermon_ids”> <parameter name=”username”>gfc</parameter> <parameter name=”password”>****</parameter> <parameter name=”limit”>5</parameter> <parameter name=”sortOrder”>desc</parameter> </method> </method_call> RESPONSE: <result> <sermons> <sermon_id>5</sermon_id> <sermon_id>7<
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2024-05-17 21:01, Process in 0.0065 second.