A utility to create gists from command line
usage:
create-gist.sh /path/to/file Github_user_name
or
backtrace: | |
#0 0x00007fffee31cac7 in QTextEngine::itemize() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#1 0x00007fffee31ea6c in QTextEngine::attributes() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#2 0x00007fffee32b08f in QTextLine::layout_helper(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#3 0x00007fffee3ca050 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#4 0x00007fffee3cabb1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 |
backtrace: | |
#0 0x0000000000000030 in ?? () | |
No symbol table info available. | |
#1 0x00007fffed5f70a9 in QMetaObject::cast(QObject const*) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 | |
No symbol table info available. | |
#2 0x00007fffb635171a in qobject_cast<SpreadsheetGui::LineEdit*> (object=0x55555bded700) at /usr/include/qt4/QtCore/qobject.h:380 | |
No locals. | |
#3 0x00007fffb6350416 in SpreadsheetGui::SheetTableView::closeEditor (this=0x555556be38c0, editor=0x55555bded700, hint=QAbstractItemDelegate::NoHint) at /root/FreeCAD/src/Mod/Spreadsheet/Gui/SheetTableView.cpp:337 | |
le = 0x7fffb63507da <SpreadsheetGui::SheetTableView::metaObject() const+28> | |
#4 0x00007fffed604660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 |
backtrace: | |
#0 0x0000000000000040 in ?? () | |
No symbol table info available. | |
#1 0x00007fffed5f70a9 in QMetaObject::cast(QObject const*) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 | |
No symbol table info available. | |
#2 0x00007fffb638871a in qobject_cast<SpreadsheetGui::LineEdit*> (object=0x555558492710) at /usr/include/qt4/QtCore/qobject.h:380 | |
No locals. | |
#3 0x00007fffb6387416 in SpreadsheetGui::SheetTableView::closeEditor (this=0x55555b1de560, editor=0x555558492710, hint=QAbstractItemDelegate::NoHint) at /root/FreeCAD/src/Mod/Spreadsheet/Gui/SheetTableView.cpp:337 | |
le = 0x7fffb63877da <SpreadsheetGui::SheetTableView::metaObject() const+28> | |
#4 0x00007fffed604660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 |
backtrace: | |
#0 0x00007fffee31cac7 in QTextEngine::itemize() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#1 0x00007fffee31ea6c in QTextEngine::attributes() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#2 0x00007fffee32b08f in QTextLine::layout_helper(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#3 0x00007fffee3ca050 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 | |
No symbol table info available. | |
#4 0x00007fffee3cabb1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 |
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-7-amd64] (local build) | |
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Western Digital Scorpio Blue Serial ATA (AF) | |
Device Model: WDC WD5000BPVT-22HXZT1 | |
Serial Number: WD-WXM1AC027188 | |
LU WWN Device Id: 5 0014ee 2b01ee098 | |
Firmware Version: 01.01A01 | |
User Capacity: 500,107,862,016 bytes [500 GB] |
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-7-amd64] (local build) | |
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Seagate Barracuda 7200.14 (AF) | |
Device Model: ST2000DM001-9YN164 | |
Serial Number: S240K8R7 | |
LU WWN Device Id: 5 000c50 051c9630e | |
Firmware Version: CC9F | |
User Capacity: 2,000,398,934,016 bytes [2.00 TB] |
#!/bin/bash | |
gif=$1 | |
out="${gif%.gif}.webm" | |
echo "converting $gif to $out" | |
ffmpeg -y -i $gif -r 16 -c:v libvpx -quality good -cpu-used 0 -b:v 500K -crf 12 -pix_fmt yuv420p -movflags faststart $out |