Skip to content

Instantly share code, notes, and snippets.

View pavel-sakun's full-sized avatar

Pavel Sakun pavel-sakun

  • Epam.com, Oracle.com, Pentaho.com, Walmart.com, Bayer.com, FedEx.com
  • Laniakea Galactic Supercluster, Virgo Supercluster, Local Group, Milky Way Galaxy, Solar System, Planet Earth, Belarus, Minsk
View GitHub Profile
@pavel-sakun
pavel-sakun / gist:6615666
Created September 18, 2013 21:02
Brew doctor and --config output for OSX 10.9
~ » brew doctor
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
~ » brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f18baebe4e07a7b284036946583ac66609569f8b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
@pavel-sakun
pavel-sakun / QLTextFiles.sh
Last active June 9, 2018 16:23
Use OSX Finder Quicklook to preview all plain text files. Handy shortcut for actions need to install QLStephen plugin for OSX Finder's QuickLook. Please find info on QLStephen at https://github.com/whomwah/qlstephen Usage: curl https://raw.github.com/gist/6192519 | sh
#!/bin/bash
curl -O http://cloud.github.com/downloads/whomwah/qlstephen/QLStephen.qlgenerator.zip
unzip QLStephen.qlgenerator.zip
echo "Please enter your password when asked (the one sudo asks you for usuqlly). It's needed to copy some files to /Library/QuickLook"
sudo mv -f QLStephen.qlgenerator /Library/QuickLook
rm QLStephen.qlgenerator.zip
qlmanage -r
echo "We're done. Have fun and do not forget to give a credit to QLStephen's author Duncan@https://github.com/whomwah"