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

代码片段 8064

#Perl
Perl 的 DBM 文件操作实例

#Format: #dbmopen(hash, dbfilename, mode); #tie(hash, Module , dbfilename, flags, mode); d…

2015-12-14 455

#Perl
使用 Perl 检测 系统进程,实现进程意外退出重启。

#! /usr/bin/perl $ck=`ps -ef | grep 'sasl' | grep -v grep`; if ($ck eq ''){ print "SASL Do…

2015-12-14 354

#Perl
Perl 创建 Windows 下的快捷方式

#!/usr/bin/perl -w use Win32::Shortcut; $ApplicationName = 'c:/winnt/system32/notepad.exe'…

2015-12-14 147

#Perl
Perl 一个超级简单的Socket服务器

#!/usr/bin/perl use warnings; use strict; use IO::Socket; # queue up no more than 5 pendin…

2015-12-14 480

#Perl
Perl 为 Festival 编写的 Emacspeak speech server

#!/usr/bin/perl # EmacSpeaks Festival # # A Emacspeak speech server for Festival written i…

2015-12-14 710

#APS/Basic
VB 中创建表格(1)

Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Form1_Load(ByVal sender …

2015-12-14 652

#Ruby
Ruby 查询域名的 MX 记录

require 'resolv' Resolv::DNS.open do |dns| mail_servers = dns.getresources("google.com", R…

2015-12-14 403

#CSS
导航字体的Css3特效

<!DOCTYPE html> <html> <head> <title>导航字体的Css3特效</title> <…

css
2015-12-14 456

#CSS
CSS3实现鼠标悬浮到图片使图片旋转180度

.xwcms { margin: 0 auto; -webkit-border-radius: 110px; border-radius: 110px; -webkit-trans…

css
2015-12-14 408

#CSS
三列布局,两列定宽,左侧自适应

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content…

css
2015-12-14 461

#CSS
变量的继承和覆盖

:root { --color: blue; } div { --color: green; } #alert { --color: red; } * { color: var(-…

css
2015-12-14 988

#CSS
纯html+css写的动态导航栏

<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <title&g…

css
2015-12-14 949
1 49 50 51 52 53 672