Skip to content

Instantly share code, notes, and snippets.

View cozuya's full-sized avatar

Chris Ozols cozuya

View GitHub Profile
@a7madgamal
a7madgamal / dark.md
Last active July 14, 2023 04:00
Dark mode for Slack on MacOS
@Problematic
Problematic / gulpfile.js
Last active May 28, 2017 16:29
Using Babel and Browserify with gulp
var gulp = require('gulp');
var browserify = require('browserify');
var through2 = require('through2');
gulp.task('build', function () {
return gulp.src('./src/main.js')
.pipe(through2.obj(function (file, enc, next) {
browserify(file.path, { debug: process.env.NODE_ENV === 'development' })
.transform(require('babelify'))
.bundle(function (err, res) {
@mikeperri
mikeperri / gist:8344779
Last active January 2, 2016 18:39
Reddit Enhancement Suite module to show a Loch Ness Monster icon on long posts that end with the tree fiddy thing. Based on https://gist.github.com/Raugturi/1077321
/*
To install, find your reddit_enhancement_suite.user.js file and paste it in after the other modules.
Firefox seems to detect when you tamper with extensions, so for now this is only working in Chrome.
1. WIN: Press Windows+R and paste in "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\Extensions" (w/o quotes).
MAC: Open a Finder window, press Command+Shift+G, and paste in "~/Library/Application Support/Google/Chrome/Default/Extensions" (w/o quotes).
2. Paste "reddit_enhancement_suite.user.js" (w/o quotes) into the search bar, and search in the Extensions folder.
3. Open the file in a text editor (if you don't have one, download Sublime Text from sublimetext.com and use that).
Paste the code right after all the other module definitions, which should be around line 21323.