Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected])
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select

Flash Copy 组件

官方网站 在线例子

OSChina 也大量应用这个组件,借助 JavaScript 和 Flash 之间的通信,可以解决 JavaScript 的兼容性问题。

function copyLink(link){
	var clipBoardContent=link;
	window.clipboardData.setData("Text",clipBoardContent);  

HTML & CSS 实现进度条效果

来自前程无忧

<style type="text/css">
.barp {
	background: url('http://img01.51jobcdn.com/im/2009/cv/bar_green_bg.gif') repeat-x scroll 0 0 transparent;
	border: 1px solid #AEB8D8;
	float: left;
@chenzixin
chenzixin / flash-play-time.md
Last active December 28, 2015 22:49
Flash播放时长

Flash播放时长

富媒体广告,要求精确控制时长,因此要学会看Flash播放时间的方法。

传统的Flash素材,主要分为两类:

一、主时间轴多帧动画

这种看时长很方便:

@chenzixin
chenzixin / flash-version.md
Created November 21, 2013 01:57
Flash 版本总结

Flash 版本总结

关于Flash版本, 我总结了一下,有兴趣的可看一下。这个东西确实很繁杂:

Flash版本

Flash 5 → Flash6.0(Flash MX)→ Flash 7.0 (Flash MX 2004)→ Flash 8.0(Flash 8)→ Flash 9.0 (Flash CS3)→ Flash 10.0 (Flash CS4) → Flash 11 (Flash CS5 ) → Flash 11.5 (Flash CS 5.5) → Flash 12 (Flash CS 6)

这是指我们的编辑Flash的工具,花钱买的,很贵,Flash 8.0 目前已经很少有人用。CS的全称,Creative Suite,Adobe 收购 Flash 之后,包装出来的名称;

@chenzixin
chenzixin / md-cheat-sheet.md
Last active December 28, 2015 20:39
Markdown cheat sheet

Markdown Cheat Sheet

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one line (or many), and can drone on for hours.

Here is a Markdown link to Warped, and a literal . Now some SimpleLinks, like one to [google] (automagically links to are-you- feeling-lucky), a [wiki: test] link to a Wikipedia page, and a link to [foldoc: CPU]s at foldoc.

@chenzixin
chenzixin / learning-excel-by-example.md
Last active December 28, 2015 20:39
Learning Excel by Examples

Learning Excel by Examples

函数

1、非空求和

测试例子

公式一:

@chenzixin
chenzixin / Win32-Worm.f1e.md
Last active December 28, 2015 20:29
查杀顽固木马 Win32/Worm.f1e

查杀顽固木马 Win32/Worm.f1e

类型:

感染型病毒(Win32/Worm.f1e)

描述:

木马通常利用系统的漏洞,绕过系统防御,达到:盗取账号、窃取资料、篡改文件、破坏数据的目的。经过360安全中心检验,此文件是木马,建议您立即处理。

@chenzixin
chenzixin / delete-expired-file.md
Last active December 28, 2015 20:09
Delete Expired File

Delete Expired File

Programed by Bingal, which will delete the files in current directory created 30 days ago.:

#!/usr/bin/python
# encoding: utf-8

def main():
	import os,time