Skip to content

Instantly share code, notes, and snippets.

Adam Stacoviak adamstac

Block or report user

Report or block adamstac

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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
adamstac / changelog-slack.md
Created Feb 9, 2015
Official Changelog Slack Theme
View changelog-slack.md

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

#2B2D2D,#4A4C4D,#428BCA,#FFFFFF,#428BCA,#FFFFFF,#67D044,#DE495B
@adamstac
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
adamstac / .htaccess
Created Feb 28, 2014
.htaccess to 301 redirect an old domain to a new domain
View .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.olddomain.com$
RewriteRule (.*)$ http://newdomain.com/$1 [R=301,L]
@adamstac
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 () {
gulp.src('sass/*.scss')
.pipe(sass({ style: 'expanded', compass: true }))
.pipe(gulp.dest('css'))
.pipe(notify({ message: 'Styles task completed' }))
@adamstac
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/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
  3. In System Preferences, set the display to "scaled" using the resolution 1292 x 807 (HiDPI)
  4. Enjoy.
@adamstac
adamstac / _ga_event_link.html
Created Jan 9, 2014
Track and event to Google Analytics - Category, Action, Label
View _ga_event_link.html
You can’t perform that action at this time.