Skip to content

Instantly share code, notes, and snippets.

View adamstac's full-sized avatar

Adam Stacoviak adamstac

View GitHub Profile
@adamstac
adamstac / changelog-microsoft-coverage.md
Created June 4, 2018 18:26
Changelog's coverage of the dramatic shift of Microsoft over the years
for i in `gem list --no-versions`; do gem uninstall -aIx $i; done
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 February 9, 2015 01:21
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.

#2B2D2D,#4A4C4D,#428BCA,#FFFFFF,#428BCA,#FFFFFF,#67D044,#DE495B

@adamstac
adamstac / gist:9328069
Created March 3, 2014 15:59
Sass command to specify a load-path and compile the Sass
sass --load-path ./path/to/load stylesheet.scss:path/to/stylesheet.css
@adamstac
adamstac / .htaccess
Created February 28, 2014 05:56
.htaccess to 301 redirect an old domain to a new domain
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 August 29, 2015 13:56
Gulp.js for Sass and Compass
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:8714911
Last active August 29, 2015 13:55
Fake users
@adamstac
adamstac / gist:8347083
Last active November 29, 2017 00:55
Enable HiDPI mode on a VMware Fusion OS X 10.9 Mavericks Vagrant VM
  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 January 9, 2014 22:48
Track and event to Google Analytics - Category, Action, Label