Skip to content

Instantly share code, notes, and snippets.

View faddah's full-sized avatar

Faddah Wolf faddah

View GitHub Profile
@faddah
faddah / gist:2a86eb3507250bc268e7
Created August 21, 2014 00:06
result of $ brew doctor on my Mac OS X system with Homebrew 0.9.5
$ 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: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/lib/node_modules/libulockmgr.0.0.0.dylib
Warning: Your XQuartz (2.7.5) is outdated
Please install XQuartz 2.7.6:
@faddah
faddah / gist:f686cc4048e23eef39e7
Created August 21, 2014 01:24
Gist of output of my $ brew install -v /usr/local/Library/Taps/josegonzalez/homebrew-php/Formula/php55.rb
$ brew install -v /usr/local/Library/Taps/josegonzalez/homebrew-php/Formula/php55.rb
Warning: php55-5.5.15 already installed
@faddah
faddah / gist:2c963c48b3fb0f8668c4
Created August 21, 2014 02:30
My output of $ running brew update && brew upgrade && brew install php55 - per homebrew-php upgrade issues instructions.
$ brew update && brew upgrade && brew install php55
Already up-to-date.
==> Upgrading 5 outdated packages, with result:
couchdb 1.6.0_1, git 2.1.0, icu4c 53.1, mongodb 2.6.4, node 0.10.31
==> Upgrading couchdb
==> Installing couchdb dependency: icu4c
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-53.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring icu4c-53.1.mavericks.bottle.tar.gz
==> Caveats
@faddah
faddah / output_homebrew_php55_uninstall_reinstall
Created August 22, 2014 06:00
my output of brew doctor, fixes & linking, brew update, brew upgrade, rm -rf /usr/local/php5*, and reinstalling with brew install php55
$ 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: Your XQuartz (2.7.5) is outdated
Please install XQuartz 2.7.6:
https://xquartz.macosforge.org
Warning: Your Homebrew is outdated.
@faddah
faddah / httpd.conf
Created September 16, 2014 19:12
faddah's httpd.conf file from his Mac OS X 10.9.4 set-up with apache 2.2.26
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@faddah
faddah / httpd -V
Created September 16, 2014 19:26
result of faddah's httpd -V
$ httpd -v
Server version: Apache/2.2.26 (Unix)
Server built: Dec 10 2013 22:09:38
django:Sites yuetsu$ httpd -V
Server version: Apache/2.2.26 (Unix)
Server built: Dec 10 2013 22:09:38
Server's Module Magic Number: 20051115:33
Server loaded: APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture: 64-bit
@faddah
faddah / gist:6f8628fb0eaeed01aead
Created September 23, 2014 23:44
Record Album JSON examples
{
"The Rise and Fall of Ziggy Stardust and the Spiders From Mars" : {
"artist" : "David Bowie"
"songs" : ["Five Years","Soul Love","Moonage Dream","Starman","It Ain't Easy","It Ain't Easy","Lady Stardust","Star","Hang On To Yourself","Ziggy Stardust","Sufragette City","Rock 'N' Roll Suicide"]
"label" : ["Emi","RCA Records"]
"yearReleased" : 1972
}
"Olé ELO": {
"artist" : ["Electric Light Orchestra","ELO"]
"songs" : ["10538 Overture","Kuiama","Roll Over Beethoven","Shut Down","Ma-Ma-Ma Belle","Can't Get It Out Of My Head","Boy Blue","Evil Woman","Strange Magic"]
@faddah
faddah / o
Created October 5, 2014 01:20
error on trying to do npm search
// this is on an acer C720P booting into Ubuntu Linux 14.04 LTS, i have node 0.10.32 installed and in use via nvm
//
// from the terminal error -
$ sudo npm search
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
npm WARN Building the local index for the first time, please be patient
npm http GET https://registry.npmjs.org/-/all
@faddah
faddah / gist:cf686a94a80393ca7a63
Created December 6, 2014 23:05
why ain't dis AJAX function woikin'??!
<script>
var xhr = new XMLHttpRequest();
var bringItAJAXButton = document.getElementById('load');
xhr.onreadystatechange = function() {
if(xhr.readyState === 4) {
document.getElementById('ajax').innerHTML = xhr.responseText;
}
};
xhr.open('GET', 'sidebar.html');
function sendAJAX() {
@faddah
faddah / npm-debug.log
Created March 13, 2015 21:06
my npm-debug.log from 13-Mar.-2015
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/.nvm/versions/node/v0.12.0/bin/node',
1 verbose cli '/usr/local/.nvm/versions/node/v0.12.0/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'bonescript' ]
2 info using npm@2.5.1
3 info using node@v0.12.0
4 silly cache add args [ 'bonescript', null ]
5 verbose cache add spec bonescript