Skip to content

Instantly share code, notes, and snippets.

View jeffarese's full-sized avatar

Jeff Arese jeffarese

View GitHub Profile
@jeffarese
jeffarese / cloudSettings
Last active July 29, 2020 08:34
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-24T15:47:10.729Z","extensionVersion":"v3.4.3"}
@jeffarese
jeffarese / recursiveSubSync.py
Last active November 18, 2019 15:22
Script to recursively sync all the subtitles of a folder and overwrite the old one (after backing it up). It won't try to sync previously synced subs on next iterations
import fnmatch
import os
import subprocess
SUBSYNC_PATH = 'subsync'
VIDEO_EXTENSIONS = ['.mkv', '.mp4', '.avi']
SUBTITLE_EXTENSION_TO_SYNC = '.es.srt'
TEMP_OUTPUT_NAME = 'output.srt'
OLD_SUFFIX = '.old'
FAILED_SUFFIX = '.failed'
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@jeffarese
jeffarese / qhdpullrequest.js
Last active August 24, 2016 14:49
FHD & QHD width on Github pull requests
javascript:(function(){ var style = document.createElement(%27style%27), styleContent = document.createTextNode(%27.container { width: 1600px !important; } .timeline-comment-wrapper { width: 1380px !important; } .comment-holder{ max-width: none !important;} .discussion-item { width: 1300px !important; }%27); style.appendChild(styleContent ); var caput = document.getElementsByTagName(%27head%27); caput[0].appendChild(style); })();
@jeffarese
jeffarese / _calc.scss
Created May 30, 2016 23:51
Sass Calc mixin
/**
* @description
* Generates the calc values for cross browser compatibility
*
* @author Jeffarese
*
* @param $property
* @param $expression
* @returns
* <$property>: -moz-calc(<value>);