Skip to content

Instantly share code, notes, and snippets.


Adam Stacoviak adamstac

View GitHub Profile
View gist:df7e9ea46e0a66952170eccc9e2bdcbc
for i in `gem list --no-versions`; do gem uninstall -aIx $i; done
View gist:6ac191255e9466b784bd
adamstacoviak@AS-rMBP [03:05] [~]
-> % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
adamstac /
Created Feb 9, 2015
Official Changelog Slack Theme

Copy and paste the following line of colors into the app's sidebar theme settings when in the Changelog Members room.

adamstac / gist:9328069
Created Mar 3, 2014
Sass command to specify a load-path and compile the Sass
View gist:9328069
sass --load-path ./path/to/load stylesheet.scss:path/to/stylesheet.css
adamstac / .htaccess
Created Feb 28, 2014
.htaccess to 301 redirect an old domain to a new domain
View .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^$
RewriteRule (.*)$$1 [R=301,L]
adamstac / Gulefile.js
Last active Aug 29, 2015
Gulp.js for Sass and Compass
View Gulefile.js
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
notify = require("gulp-notify");
// Styles
gulp.task('styles', function () {
.pipe(sass({ style: 'expanded', compass: true }))
.pipe(notify({ message: 'Styles task completed' }))
adamstac / gist:8347083
Last active Nov 29, 2017
Enable HiDPI mode on a VMware Fusion OS X 10.9 Mavericks Vagrant VM
View gist:8347083
  1. Set "Use full resolution for Retina display" in the VM's Settings > Display
  2. Run this command in Terminal sudo defaults write /Library/Preferences/ DisplayResolutionEnabled -bool true
  3. In System Preferences, set the display to "scaled" using the resolution 1292 x 807 (HiDPI)
  4. Enjoy.
adamstac / _ga_event_link.html
Created Jan 9, 2014
Track and event to Google Analytics - Category, Action, Label
View _ga_event_link.html