I hereby claim:
- I am barmatz on github.
- I am barmatz (https://keybase.io/barmatz) on keybase.
- I have a public key whose fingerprint is 1A2B 7EE8 CA84 EBF8 129D 0261 9661 EA48 3EFB 099D
To claim this, I am signing this object:
| #!/bin/bash | |
| # verify membership in the www group | |
| groups | |
| # change the group overship | |
| sudo chown -R root:www /var/www | |
| # change the directory premissions | |
| sudo chmod 2775 /var/www |
| #!/bin/bash | |
| # update yum | |
| sudo yum update -y | |
| # install Apache web server, MySQL, and PHP | |
| sudo yum install -y httpd24 php56 mysql55-server php56-mysqlnd | |
| # start the Apache web server | |
| sudo service httpd start |
| (function () { | |
| 'use strict'; | |
| App.XModalComponent = Ember.Component.extend({ | |
| title: null, | |
| backdrop: true, | |
| keyboard: true, | |
| propertiesDidChange: Ember.observer('backdrop', 'keyboard', function () { | |
| this.refresh(); | |
| }), |
| function request(method, url, data) { | |
| var defferred, xhr; | |
| if (!data) { | |
| data = {}; | |
| } | |
| defferred = new Ember.RSVP.Promise(function (resolve, reject) { | |
| xhr = Ember.$.ajax({ | |
| method: method, |
| function errorParser(err) { | |
| if (err) { | |
| if (typeof err === 'function') { | |
| err = err(); | |
| } | |
| if (typeof err === 'object') { | |
| if ('responseText' in err) { | |
| err = err.responseText; |
I hereby claim:
To claim this, I am signing this object:
| 'use strict'; | |
| module.exports = function (grunt) { | |
| grunt.initConfig({ | |
| clean: { | |
| app: '.tmp/**' | |
| }, | |
| compass: { | |
| app: { | |
| options: { |
| const { Logger, transports: { Console } } = require('winston'); | |
| module.exports = new ]Logger({ | |
| transports: [ | |
| new Console({ | |
| colorize: true, | |
| level: process.env.NODE_ENV === 'development' ? 'silly' : 'info' | |
| }) | |
| ] | |
| }); |
| 'use strict'; | |
| var singletonLock = {}, | |
| instance; | |
| function MySingleton(lock) { | |
| if (!(lock instanceof singletonLock)) { | |
| throw new Error('This is a singleton, do not initiate!'); | |
| } | |
| } |
| 'use strict'; | |
| var inherits = require('util').inherits; | |
| function CustomError(message) { | |
| Error.captureStackTrace(this, CustomError); | |
| this.message = message; | |
| } |