Skip to content

Instantly share code, notes, and snippets.

原始数据
sandbox64378288034842b4a69a3da00cc4100e
appKey 7420320534529026
auth_token 49bd335a-7aae-42ac-afc1-bf14ea84a5db
method fn.trades.sold.get
params {"pageCount":20,"orderType":4,"currPage":1,"dateType":7,"dateStart":"2016-01-01 00:00:00","dateEnd":"2016-11-04 11:22:56"}
timestamp 2016-11-04 11:22:56
version 1.0
sandbox64378288034842b4a69a3da00cc4100e
public function panelStart()
{
Form::macro('panel_start', function ($title = '') {
return '<div class="panel panel-default">
<div class="panel-heading bg-white">
<span class="font-bold">' . $title . '</span>
</div>
<div class="panel-body">';
});
}
@RJustice
RJustice / demo
Created June 4, 2014 04:49
temp
$(".overlayLink").bind("mouseenter mouseleave",function(e){
/** the width and height of the current div **/
var w = $(this).width();
var h = $(this).height();
/** calculate the x and y to get an angle to the center of the div from that x and y. **/
/** gets the x value relative to the center of the DIV and "normalize" it **/
var x = (e.pageX - this.offsetLeft - (w/2)) * ( w > h ? (h/w) : 1 );
var y = (e.pageY - this.offsetTop - (h/2)) * ( h > w ? (w/h) : 1 );
.arc_img{
width: 160px;
height: 160px;
position: relative;
display: block;
overflow: hidden;
margin:200px auto;
box-shadow: 0 0 10px #FFF;
}
.light{
<?php
/**
* 加密 hash,生成发送给用户的 hash 字符串
*
* @param array $hash_data
* @param string $hash_key
* @return string
*/
function encode_hash($hash_data, $hash_key = false)
@RJustice
RJustice / html5_template.html
Created December 5, 2012 06:53 — forked from nathansmith/html5_template.html
Simple HTML5 Template
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" />
<title>untitled</title>
<link rel="stylesheet" href="" />
</head>
<body>
@RJustice
RJustice / gist:4213126
Created December 5, 2012 06:46
LESS:classes
.box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) {
box-shadow: @x @y @blur @color;
-moz-box-shadow: @x @y @blur @color;
-webkit-box-shadow: @x @y @blur @color;
}
.inset-box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) {
box-shadow: inset @x @y @blur @color;
-moz-box-shadow: inset @x @y @blur @color;
-webkit-box-shadow: inset @x @y @blur @color;