REQUEST_URI: <%= request.env["REQUEST_URI"] %> <br /> SERVER_NAME: <%= requ…
require 'resolv' Resolv.each_address("http://www.google.com/") do |ip| puts ip end
>>> def getList(data): if isinstance(data,dict): for i in data: path.append(i) ge…
lloyd = { "name": "Lloyd", "homework": [90.0, 97.0, 75.0, 92.0], "quizzes": [88.0, 40.0, 9…
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <…
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> &l…
require 'net/ftp' ftp = Net::FTP.new('ftp.ruby-lang.org') ftp.passive = true ftp.login(use…
/****** Object: StoredProcedure [dbo].[getSplitValue] Script Date: 03/13/2014 13:58:12 ***…
#!/bin/bash : << mark 转码工具,支持UTF-8转GBK和GBK转UTF-8 孔令飞@2012-05-07 mark #set -x scode="…