本歌单由Listen1创建, 歌曲数:275,歌单数:3,点击查看更多
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
| if (!document.querySelectorAll) { | |
| document.querySelectorAll = function (selectors) { | |
| var style = document.createElement('style'), elements = [], element; | |
| document.documentElement.firstChild.appendChild(style); | |
| document._qsa = []; | |
| style.styleSheet.cssText = selectors + '{x-qsa:expression(document._qsa && document._qsa.push(this))}'; | |
| window.scrollBy(0, 0); | |
| style.parentNode.removeChild(style); |
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
| # move moov to the mp4 file begin | |
| ffmpeg -i input.mp4 -movflags faststart -acodec copy -vcodec copy output.mp4 | |
| # convert video for HLS | |
| ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8 | |
| ffmpeg -i in.mkv -c:v h264 -flags +cgop -g 30 -hls_time 1 out.m3u8 | |
| ffmpeg -i in.ts -b:v:0 1000k -b:v:1 256k -b:a:0 64k -b:a:1 32k \ | |
| -map 0:v -map 0:a -map 0:v -map 0:a -f hls -var_stream_map "v:0,a:0 v:1,a:1" \ | |
| -hls_segment_filename 'file_%v_%03d.ts' out_%v.m3u8 |
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 keras.models import Sequential | |
| from keras.layers.core import Dense, Dropout, Activation | |
| from keras.optimizers import SGD | |
| import numpy as np | |
| X = np.array([[0,0],[0,1],[1,0],[1,1]]) | |
| y = np.array([[0],[1],[1],[0]]) | |
| model = Sequential() | |
| model.add(Dense(8, input_dim=2)) |
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
| <#function objectToJsonFunction object> | |
| <#local json = ""> | |
| <#if object?is_hash || object?is_hash_ex> | |
| <#local first="true"> | |
| <#local json = json + '{'> | |
| <#list object?keys as key> | |
| <#if first="false"><#local json = json + ','></#if> | |
| <#local value = objectToJsonFunction(object[key]) > | |
| <#local json = json + '"${key}": ${value?trim}'> | |
| <#local first="false"> |
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
| http://wpa.qq.com/msgrd?v=3&uin=729219964&site=qq&menu=yes |
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
| // ==UserScript== | |
| // @name New Userscript | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match http://play.baidu.com/* | |
| // @grant none | |
| // ==/UserScript== |
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 gulp = require('gulp'), | |
| cleanCSS = require('gulp-clean-css'), | |
| sourcemaps = require('gulp-sourcemaps'), | |
| jshint = require('gulp-jshint'), | |
| uglify = require('gulp-uglify'), | |
| concat = require('gulp-concat'), | |
| rename = require("gulp-rename"), | |
| notify = require("gulp-notify"), | |
| imagemin = require('gulp-imagemin'), | |
| clean = require('gulp-clean'), |