This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 剛才的 script 替換為這段 | |
var $lis = $('.cd-pricing-list .cd-form .cd-pricing-features li'), | |
$inps = $('.cd-pricing-list .cd-form .cd-pricing-features li input'); | |
$inps.on('blur', function () { | |
if (this.value || this.value=='0') { | |
$inps.not(this).val('').attr('readonly', true); | |
$lis.not($(this).closest('li')).addClass('inp-restrict') | |
.each(function () { | |
var _inp = $(this).find('input').eq(0), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ele = document.body, | |
mov, | |
ascing = false; | |
function asc () { | |
document.body.scrollTop += mov; | |
if (ascing) window.requestAnimationFrame(asc); | |
} | |
document.addEventListener("keyup", function() { | |
if (!ascing) { | |
ascing = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FROM image ubuntu:14.04 | |
FROM ubuntu:14.04 | |
# my info | |
MAINTAINER benbai123 | |
# image version | |
LABEL version="0.1.0" | |
RUN apt-get -y update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eyJ2ZXIiOjAuMTUsInRpbWUiOjE0NTE5MDU5NDcwNTgsIm1sIjoxNzYsImJhbCI6eyIxIjo1MzczNzEwNTQ1MjM2NTY4LCIyIjozNTU0ODQ5MjQ4ODU5NDUzMCwiNCI6NTc4NTM1NjkzOTQzNjUwMDAsIjgiOjExOTc1MDI2ODIwNDMzMjQsIjE2Ijo0MzgwOTExMTE0NzkxMjEuNDQsIjMyIjoxMTY4MDE2MzU1OTg0MSwiNjQiOjc4Njc5NTE1MjEyNDc4NS45LCIxMjgiOjM3NjI1MjE2MzA1NTk2Ni42LCIyNTYiOjczNjI5OTgwNzI5OTU5LCI1MTIiOjI1MDgzMTM1ODU5NTQuMjUsIjEwMjQiOjc1MDAyODYwNTQ3MC4zOTcsIjIwNDgiOjE3NzQxMTkxNjg1NCwiNDA5NiI6MTQyOTg4OTI1NTIuNjM4NzU2LCI4MTkyIjoxMjYwMjEyNzIsIjE2Mzg0IjoyODMwMzIwNSwiMzI3NjgiOjB9LCJtYXAiOlt7InkiOjMsIngiOjUsImJ1aWxkIjowLCJsZXZlbCI6MCwiYnVmIjp7fX0seyJ5Ijo0LCJ4Ijo4LCJidWlsZCI6MCwibGV2ZWwiOjAsImJ1ZiI6e319LHsieSI6NSwieCI6MTQsImJ1aWxkIjowLCJsZXZlbCI6MCwiYnVmIjp7fX0seyJ5Ijo3LCJ4IjoyNiwiYnVpbGQiOjExLCJsZXZlbCI6MCwiYnVmIjp7fX0seyJ5IjoxMSwieCI6MTksImJ1aWxkIjoxMSwibGV2ZWwiOjAsImJ1ZiI6e319LHsieSI6MTIsIngiOjI2LCJidWlsZCI6MCwibGV2ZWwiOjAsImJ1ZiI6e319LHsieSI6MTQsIngiOjI2LCJidWlsZCI6MCwibGV2ZWwiOjAsImJ1ZiI6e319LHsieSI6MTUsIngiOjI1LCJidWlsZCI6MCwibGV2ZWwiOjAsImJ1ZiI6e319LHsieSI6MTcsIngiOjE5LCJidWls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testtest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testEclipse; | |
import java.awt.Graphics2D; | |
import java.awt.GraphicsConfiguration; | |
import java.awt.GraphicsDevice; | |
import java.awt.GraphicsEnvironment; | |
import java.awt.geom.AffineTransform; | |
import java.awt.image.BufferedImage; | |
import java.io.BufferedInputStream; | |
import java.io.File; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test.tree.rod; | |
import java.util.List; | |
/** | |
* tested with ZK 6.0.2 | |
* | |
* The interface for data bean that used in RODTreeModel and RODTreeNode | |
* | |
* @author benbai123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iVBORw0KGgoAAAANSUhEUgAAAjEAAAH8CAIAAACvk2lUAAAVvUlEQVR42u3dv28UVwLA8ftDruOq | |
UJHOHVVShQoqUh0VriwaRIFEgUSBKJAokFJEoqBAoojSIBrLDaJBNIgmSmVXls5kjb1e7Nh3L1n8 | |
mFsv9v6Y2Xnvzecj63S6HwTPvnnfmdmZN//4LwCk4R82AQCaBACaBIAmAYAmAaBJAKBJAGgSAGgS | |
AJoEAJoEgCYBgCYBoEkAoEkAaBIAaBIAmgQAmgQAmgSAJgGAJgGgSQCgSQBoEgBoEgCaBACaBIAm | |
AYAmAaBJAKBJAGgSAGgSAJoEAJoEgCYBgCYBgCYBoEkAoEkAaBIAaBIAmgQAmgSAJgGAJgGgSQCg | |
SQBoEgBoEgCaBACaBIAmAYAmAaBJAKBJAKBJAGgSAGgSAJoEAJoEgCYBgCYBoEkAoEkAaBIAaBIA | |
mgQAmgSAJgGAJgGgSR23v7r2Yenif/75r/Cvg2fPbRAATWrNhwtLIUjDn61z520QAE1qTQxS+Nm9 | |
ddsGAdCk9ptkUwBoUpv2X70eBunD0kVbA0CT2rR76/awSf17920NAE1qU7zB4eDNW1sDQJPa5Msk | |
AE3SJAA0SZMANClBh5ubmgSgSUnYvXN3GKTe9z/YGgCa1KZ4092nFy9tDQBNapMLdwCapEkAaJIm | |
AWiSJgGgSZoEoEmaBIAmaRKAJmkSAJqkSUDd9lfXtq9cHTx7blNokiYBLRuu87J17rxNoUmaBJgf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; | |
import com.google.common.util.concurrent.ListeningScheduledExecutorService; | |
import com.google.common.util.concurrent.MoreExecutors; | |
public class Test { |