首页 软件开发 代码片段 ( Page 672 )

代码片段 8064

#Ruby
Rails 根据email地址获取对应的邮件服务器信息

require 'resolv' dns = Resolv::DNS.new domain = "oreilly.com" dns.each_resource(domain, Re…

2014-10-16 843

#SQL
解密存储过程,视图,触发器

此存储过程解密比较短的存储过程可以,运行前先备份存储过程,否则可能无法恢复。 Decrypt Stored Procedures, Views and Triggers Scrip…

sql
2014-10-16 572

#Python
批量查询未注册域名

#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import re import sys def getI…

2014-10-16 550

#Objective-C
10分钟掌握Objective-C中的block块语法

// // main.m // // Created by 丁诚昊 on 14/10/27. // Copyright (c) 2014年 科长. All rights reser…

2014-10-16 146

#Objective-C
画一条虚线 ————————————————

UIImageView *imageView1 = [[UIImageView alloc]initWithFrame:CGRectMake(0, 200, 320, 20)]; …

2014-10-16 339

#APS/Basic
用EXCEL解数独

Rem Attribute VBA_ModuleType=VBAModule Option VBASupport 1 Option Explicit ' 機能:取得数字 ' 引数:…

2014-10-16 130

#HTML
百度分享按钮

<!--百度一键分享 图片大小bdSize:16/24/32--> <div class="bdsharebuttonbox" style="padding-to…

2014-10-16 602

#Shell
一键删除svn文件

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Del…

2014-10-16 955

#Objective-C
远程获取iOS设备的屏幕截图

#import <QuartzCore/QuartzCore.h> #import <sys/socket.h> #import <netinet/i…

2014-10-15 760

#Shell
Ubutun 发送邮件配置

echo "test email" | mail -s XXXXX test@lookicloud.com

2014-10-15 684

#Shell
判断文件夹是否存在

@echo off @title 批处理判断文件夹是否存在 if exist folder1 ( echo "已经存在文件夹" ) else ( md folder1 ) if n…

2014-10-15 939
1 670 671 672