This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'initialize': function() { | |
this.model = WordModel; | |
this.url = App.config.get('servicesUrl') + 'services/words/enabled'; | |
this.populate(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymlinks | |
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{request_filename} -f | |
RewriteRule ^(.*) $1 [L] | |
RewriteCond %{request_uri} !(.*)/$ | |
RewriteRule ^(.*)$ $1/ [L,R=301] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'string-replace': { | |
optimized: { | |
files: { | |
'source/index.html': 'source/index.html' | |
}, | |
options: { | |
replacements: [{ | |
pattern: /static\/js\/main/, | |
replacement: 'static/js/main.optimized' | |
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"installed_packages": | |
[ | |
"ApacheConf.tmLanguage", | |
"Base16 Color Schemes", | |
"Gist", | |
"GitGutter", | |
"JsFormat", | |
"nginx", | |
"Package Control", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Base16 Color Schemes/base16-eighties.dark.tmTheme", | |
"enable_telemetry": true, | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 12, | |
"git_command": "/opt/boxen/homebrew/bin/git", | |
"ignored_packages": | |
[ | |
"Vintageous" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
# Add rbenv to the path: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getTotalDonationImpactOfUserIds($user_ids_array){ | |
$queryGZ = "SELECT SUM(amount) FROM gz_donations where "; | |
$queryMGF = "SELECT SUM(amount) FROM mgf_donations where "; | |
for ($i=0; $i<count($user_ids_array); $i++){ | |
$id = $this->db->escape($user_ids_array[$i]); | |
if ($i == count($user_ids_array) - 1) { | |
$queryGZ = $queryGZ . "referrer_user_id ='$id' OR donated_by_user_id ='$id'"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DOCKER-VERSION 0.6.6 | |
FROM ubuntu:12.10 | |
# Install Node.js from Chris Lea's PPA to get v0.10.x | |
RUN apt-get install -y software-properties-common | |
RUN add-apt-repository ppa:chris-lea/node.js | |
RUN apt-get update | |
RUN apt-get install -y nodejs | |
ADD . /var/www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# supervisord This scripts turns supervisord on | |
# | |
# Author: Mike McGrath <mmcgrath@redhat.com> (based off yumupdatesd) | |
# | |
# chkconfig: - 95 04 | |
# | |
# description: supervisor is a process control utility. It has a web based | |
# xmlrpc interface as well as a few other nifty features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for macvim on OS X 10.11.4 | |
Build date: 2016-03-29 21:37:33 |