Skip to content

Instantly share code, notes, and snippets.

@hustKiwi
hustKiwi / dabblet.css
Last active September 6, 2019 23:10 — forked from Codyzhao/dabblet.css
Untitled
body {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
background: white;
color: #333;
font-size: 16px;
line-height: 1.2;
}
h1 {
text-align: center;
@hustKiwi
hustKiwi / dabblet.css
Created May 11, 2017 10:00 — forked from anonymous/dabblet.css
Untitled
.nav { display: flex; font-family: Helvetica; }
h2 {
color: white; width: 130px; box-sizing: border-box;
position: absolute; margin: 0; font-size: 22px;
}
a {
position: relative; width: 240px; height: 240px;
text-decoration: none; background-size: 240px !important;
}
.current {
@hustKiwi
hustKiwi / draftToHTML.js
Created August 9, 2016 12:25 — forked from davisml/draftToHTML.js
DraftJS block data to HTML
// AttributedString class from https://github.com/cohitre/attributedString.js
// Modifications made to support html tags & remove span wrapper from unstyled blocks
var AttributedString = (function () {
var aString
, StringRange
, RangesList
, HtmlSerializer
, plainStringSerializer
, _ = {}
, entityMap = {
@hustKiwi
hustKiwi / ffmpeg.md
Last active August 29, 2015 14:14 — forked from v5tech/ffmpeg.md

使用ffmpeg合并MP4文件

ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"