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
| const gulp = require('gulp') | |
| const imagemin = require('gulp-imagemin') | |
| const imageminPngquant = require('imagemin-pngquant'); | |
| const imageminZopfli = require('imagemin-zopfli'); | |
| const imageminMozjpeg = require('imagemin-mozjpeg'); // need to run 'brew install libpng' | |
| const imageminGiflossy = require('imagemin-giflossy'); | |
| gulp.task('esketit', () => | |
| gulp.src(['src/**/*.{gif,png,jpg,jpeg,svg}']) | |
| .pipe(imagemin([ |
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
| import loopQuery from '../tools/loopQuery' // https://gist.github.com/shelldandy/da437ea6a134dca26a4ceec42b88e893 | |
| import { faqs } from 'styles' | |
| const accordion = ({ | |
| activeClass = 'js-accordion-active', | |
| // The whole accordion | |
| accordionSelector = '[data-accordion]', | |
| // The part of the accordion that shrinks and shows | |
| contentSelector = '[data-content]', | |
| // The part of the accordion you click |
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
| #!/bin/bash | |
| font_family="FiraCode-Regular.ttf" | |
| image="logo.jpg" | |
| getMetaTitle (){ | |
| tmp=$( ffprobe "$1" 2>&1 | grep title) | |
| echo ${tmp##*:} | |
| } |
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
| #!/usr/bin/bash | |
| # | |
| # Author: BowlineDandy | |
| # | |
| # Convert DaVinci Resolve Videos Back to Original GoPro sizes | |
| # And have them be web friendly as well | |
| # Outperforms Compressor in Mac | |
| # Requires Nvidia GPU | |
| # Requires CUDA Enabled ffmpeg (Custom compiled from Source) | |
| # |
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
| import Twitter from 'twitter-lite' | |
| import sleep from 'sleep' | |
| import chalk from 'chalk' | |
| const options = { | |
| consumer_key: process.env.CONSUMER_KEY, | |
| consumer_secret: process.env.CONSUMER_SECRET, | |
| access_token_key: process.env.ACCESS_TOKEN_KEY, | |
| access_token_secret: process.env.ACCESS_TOKEN_SECRET | |
| } |
OlderNewer