ffmpeg -i video.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr -qscale:v 2 still-%02d.jpg
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
| // 1. Open the browser developper console on the network tab | |
| // 2. Start the video | |
| // 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
| // 4. Run: node vimeo-downloader.js "<URL>" | |
| // 5. Combine the m4v and m4a files with mkvmerge | |
| const fs = require('fs'); | |
| const url = require('url'); | |
| const https = require('https'); |
Gallery generator for Phugo
For each directory in content it generates or updates the _index.md file with the list of all JPG files in the directory.
If _index.md already exists, it's metadata will be kept, the rest is overwritten.
If the metadata of the _index.md file contains manual: true, the directory is ignored.
The thumbnails must be named by the original name prefixed by _th_.
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
| #ifndef QCHECKLIST | |
| #define QCHECKLIST | |
| #include <QWidget> | |
| #include <QComboBox> | |
| #include <QStandardItemModel> | |
| #include <QLineEdit> | |
| #include <QEvent> | |
| #include <QStyledItemDelegate> | |
| #include <QListView> |
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
| #ifndef QTABWIDGETEXT | |
| #define QTABWIDGETEXT | |
| #include <QTabWidget> | |
| /** | |
| * @brief QTabWidget which allow to set the current tab by its name | |
| */ | |
| class QTabWidgetExt : public QTabWidget | |
| { |
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
| ; The VCRedistNeedsInstall function checks if a given version of VC++ is already installed | |
| ; Modify the function with one (or more) of the VC_* constants to suit your version | |
| [Run] | |
| Filename: "{app}\redist\vcredist_x86.exe"; Parameters: "/q /norestart /q:a /c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; Check: VCRedistNeedsInstall; WorkingDir: {app}\redist; StatusMsg: Installing VC++ 2013 Redistributables... | |
| [Code] | |
| #IFDEF UNICODE | |
| #DEFINE AW "W" | |
| #ELSE |
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
| #ifndef QBUTTONGROUPEXT | |
| #define QBUTTONGROUPEXT | |
| #include <QButtonGroup> | |
| #include <QAbstractButton> | |
| /** | |
| * @brief QButtonGroup which allow to set the checked radio button by its id | |
| */ | |
| class QButtonGroupExt : public QButtonGroup |
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
| #ifndef QLINEEDITCOLOR | |
| #define QLINEEDITCOLOR | |
| #include <QtWidgets/QLineEdit> | |
| #include <QColorDialog> | |
| #include <QEvent> | |
| /** | |
| * @brief A QLineEdit combined with a QColorDialog | |
| * @signal colorChanged(QColor) |
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
| ; AutoHotkey Media Keys | |
| ^!Space::Send {Media_Play_Pause} | |
| ^!Left::Send {Media_Prev} | |
| ^!Right::Send {Media_Next} | |
| ^!NumpadMult::Send {Volume_Mute} | |
| ^!NumpadAdd::Send {Volume_Up} | |
| ^!NumpadSub::Send {Volume_Down} |