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
{ | |
"common": { | |
"roles": ["dj"], | |
"stationLogo": "https://cdn.radiofx.co/0d7ab4fe6ed0250d9ce61947423cd2b6%2F2ae46f14-7b9e-426e-9841-796ec8305d51%2F08c6690b-3a85-4073-b6db-18fce0f21c0a.png", | |
"stationTheme": “#0C2C50”, | |
"stationSchool": “Auburn University”, | |
"stationChatId": "711534f1-903d-4ec4-8cc2-39444da757b6" | |
}, | |
"users": [ | |
[“John”, “Horton”, "jmh0099@auburn.edu"], |
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
void function(global){ | |
if ('DataView' in global && 'ArrayBuffer' in global) { | |
return; | |
} | |
var hide = (function(){ | |
// check if we're in ES5 | |
if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
var hidden = { enumerable: false }; |
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
pkgname=libvips | |
pkgver=8.3.1 | |
pkgrel=0 | |
pkgdesc="libvips" | |
url="https://github.com/jcupitt/libvips" | |
arch="all" | |
license="LGPL" | |
depends="libgomp libintl libxml2 gettext libpng libjpeg-turbo tiff libwebp libexif orc lcms2 fftw" | |
depends_dev="libjpeg-turbo-dev pkgconfig zlib-dev tiff-dev libexif-dev lcms2-dev fftw-dev gettext-dev libffi-dev libpng-dev | |
libwebp-dev libxml2-dev orc-dev" |
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
app.controller "adminUsersController", [ | |
"$scope" | |
"$http" | |
"Restangular" | |
"$q" | |
"User" | |
"UserGet" | |
($scope, $http, Restangular, $q, User,UserGet) -> |
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
<div class="b-offer-item clear_fix" > | |
<div class="b-offer-item-human"> | |
<img ng-src="{{ offer.owner.photo || offer.owner.photo_50 }}" alt="{{ offer.owner.name || offer.owner.first_name + ' ' + offer.owner.last_name }}"> | |
<p><a href="//vk.com/{{ offer.owner.screen_name }}" target="_blank">{{ offer.owner.name || offer.owner.first_name + ' ' + offer.owner.last_name }}</a></p> | |
<p class="b-offer-item-human-status"> | |
<span ng-show="offer.owner.online == 1">Online</span> | |
<span ng-show="offer.owner.online == 0">Offline</span> | |
</p> |
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
mongoose = require 'mongoose' | |
s = require('validator').sanitize | |
Schema = mongoose.Schema | |
ObjectId = Schema.Types.ObjectId | |
async = require 'async' | |
a = {"Ё":"YO","Й":"I","Ц":"TS","У":"U","К":"K","Е":"E","Н":"N","Г":"G","Ш":"SH","Щ":"SCH","З":"Z","Х":"H","Ъ":"","ё":"yo","й":"i","ц":"ts","у":"u","к":"k","е":"e","н":"n","г":"g","ш":"sh","щ":"sch","з":"z","х":"h","ъ":"","Ф":"F","Ы":"I","В":"V","А":"a","П":"P","Р":"R","О":"O","Л":"L","Д":"D","Ж":"ZH","Э":"E","ф":"f","ы":"i","в":"v","а":"a","п":"p","р":"r","о":"o","л":"l","д":"d","ж":"zh","э":"e","Я":"Ya","Ч":"CH","С":"S","М":"M","И":"I","Т":"T","Ь":"","Б":"B","Ю":"YU","я":"ya","ч":"ch","с":"s","м":"m","и":"i","т":"t","ь":"","б":"b","ю":"yu"} | |
transliterate = (word)-> | |
return word.split('').map((char)=> |
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
{ | |
"Grundfos" : [ | |
{ "name": "GTR", "type": "facility", "children": [ | |
{"name": "Cooling System", "type": "system", "children": [ | |
{"name" : "Pumps", "type" : "assetType", "children": [ | |
{"name": "Heating pump xQ", "type": "asset", "mac": "XX-XX-XX-XX"} | |
]} | |
}] | |
]} | |
] |
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
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.5.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
sudo mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
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
esc = require 'elasticsearchclient' | |
### | |
Elastic search module | |
### | |
serverOptions = | |
host: process.env.esHost || 'localhost' | |
port: 9200 | |
secure: false | |
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
const gulp = require('gulp'); | |
const gutil = require('gulp-util'); | |
const source = require('vinyl-source-stream'); | |
const buffer = require('gulp-buffer'); | |
const babelify = require('babelify'); | |
const Browserify = require('browserify'); | |
const nodemon = require('gulp-nodemon'); | |
const path = require('path'); | |
const rev = require('gulp-rev'); | |
const revDel = require('rev-del'); |
NewerOlder