This file contains 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
# For combining the specified jpgs to pdf. | |
magick convert edu_imga.jpg edu_imgb.jpg -auto-orient educations.pdf | |
# For combining all jpgs to pdf. | |
magick convert *.jpg -auto-orient educations.pdf |
This file contains 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 Youtube Control Visible Switch | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Use ctrl to hide and show ui! Also shift works, but without subtitle! | |
// @author You | |
// @match https://*.youtube.com/* | |
// @icon https://www.gstatic.com/youtube/img/branding/youtubelogo/svg/youtubelogo.svg | |
// @license https://creativecommons.org/licenses/by-sa/4.0/ | |
// @homepage https://gist.github.com/Tokenyet/e1389eb2620031dc0885b2857071d904 |
This file contains 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
typedef bool GeneticFunction<T>(T geneticData, String key); | |
class CoolType {} | |
class Component<T> extends StatefulWidget { | |
Component({this.data, this.geneticFunc}); | |
final T data; | |
final GeneticFunction<T> geneticFunc; | |
void test() |