按日期获取
Type: GET
URL: https://insekai.com/api/get_unravel_by_date/YOUR_DATE
YOUR_DATE: YYYYMMDD
RESPONSE:
$translateProvider.translations('cn', { | |
'GLOBAL':{ | |
'save': '保存', | |
'cancel': '取消', | |
'confirm': '确定' | |
}, | |
'NAV':{ | |
'file': { | |
'title': '文件', | |
'option': { |
$translateProvider.translations('cn', { | |
'GLOBAL':{ | |
'save': '保存', | |
'cancel': '取消', | |
'confirm': '确定' | |
}, | |
'NAV':{ | |
'file': { | |
'title': '文件', | |
'option': { |
$translateProvider.translations('cn', { | |
'GLOBAL':{ | |
'save': '保存', | |
'cancel': '取消', | |
'confirm': '确定' | |
}, | |
'NAV':{ | |
'file': { | |
'title': '文件', | |
'option': { |
{ | |
"font_face": "Menlo Plus", | |
"font_size": 13, | |
"tab_size": 4, | |
"translate_tabs_to_spaces": true, | |
"line_padding_top": 1.1, | |
"line_padding_bottom": 1.1 | |
} |
<? | |
$files = glob('path/to/temp/*'); // get all file names | |
foreach($files as $file){ // iterate files | |
if(is_file($file)) | |
unlink($file); // delete file | |
} |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// Remove the very first line to use class outside of codeigniter | |
/* | |
* Gravatar library for use with codeigniter <V2EX driven> | |
* | |
* @author 0x142857 <0x142857@gmail.com> | |
* @link http://0x142857.com | |
* @package Codeigniter | |
* @subpackage Gravatar | |
* |
var el = $('img'); | |
el.one("load", function() { | |
//do something, for me I wanna make the position vertical center, so I call function center(); | |
}).each(function() { | |
if(this.complete) $(this).load(); | |
}); | |
/* | |
function center(){ | |
var marginTop = 0; |
if(strpos($text, 'www.xiami.com')){ | |
$text = preg_replace('/http:\/\/www.xiami.com\/song\/([a-zA-Z0-9\=]+)?/', '<iframe src="//inmusic.sinaapp.com/xiamiplayer/\1" frameborder="0" scrolling="0" width="420" height="200" allowtransparency></iframe>', $text); | |
} |
按日期获取
Type: GET
URL: https://insekai.com/api/get_unravel_by_date/YOUR_DATE
YOUR_DATE: YYYYMMDD
RESPONSE: