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 catBreeds = [ 'tabby', 'maine coon', 'calico', 'siamese' ] | |
const dogBreeds = [ 'corgi', 'doberman', 'pit bull', 'black lab' ] | |
const animals = [ | |
{ | |
name: 'duke', | |
breed: 'corgi', | |
age: 1, | |
weight: 22, | |
chipId: '55cdac0e-2029-4764-85bd-f2378f87c4cf' |
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
$ sudo systemctl daemon-reload | |
$ sudo systemctl enable synergyc.service | |
$ sudo systemctl start synergyc.service | |
$ sudo systemctl status synergyc.service | |
● synergyc.service - Start the synergyc client | |
Loaded: loaded (/etc/systemd/system/synergyc.service; enabled; vendor preset: enabled) | |
Active: active (running) since Fri 2020-03-27 21:06:28 CDT; 5s ago | |
Process: 3440 ExecStop=/usr/local/bin/synergyc-ctl.sh stop (code=exited, status=0/SUCCESS) | |
Process: 3716 ExecStart=/usr/local/bin/synergyc-ctl.sh start (code=exited, status=0/SUCCESS) | |
Main PID: 3730 (synergyc) |
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
Logic.FindMatchingUser(User, data.data, function(matchingUser){ | |
if(matchingUser) | |
{ | |
Logs.appendEventLog("Match Found"); | |
console.log("Match Found"); | |
//compare attributes and run update to update | |
User["Id"] = matchingUser.Id; | |
if(Logic.CompareUsers(User, matchingUser) == true) | |
{ |
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
logic.FindMatchingUser = function(NewUser, ExistingUsers, callback) | |
{ | |
//campare email to see if same user or not | |
console.log("Comparing"); | |
console.log(ExistingUsers); | |
//make sure this handles multiple possible matches\ | |
//for each | |
for(var i = 0; i < ExistingUsers.length; i++) | |
{ | |
var user = ExistingUsers[i]; |
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
angular.module('schemaService', []) | |
.service('schemaService', function($http, $q){ | |
var _schema = {}; | |
this.loadSchema = function(){ | |
var deferred = $q.defer(); | |
$http.get('schema.json') | |
.success(function(data){ | |
deferred.resolve(data); | |
}); |
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
//Service | |
angular.module('schemaService', []) | |
.service('schemaService', function($http, $q){ | |
var deferred = $q.defer(); | |
$http.get('schema.json') | |
.success(function(res){ | |
deferred.resolve(res.data); | |
}); | |
return deferred.promise; | |
}); |
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
source 'https://rubygems.org' | |
source 'https://code.stripe.com' | |
ruby '2.1.1' | |
gem 'rails', '~> 4.0.0' | |
gem 'pg' | |
group :assets do | |
gem 'sass', '3.2.13' | |
gem 'sass-rails' | |
gem 'coffee-rails' |
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
Name: submissions.arttoaid.com | |
Type: A record | |
Content: 50.116.42.164 | |
TTL: default | |
Priority: default | |
Name: | |
Type: MX record | |
Content: mx.zohomail.com | |
TTL: as low as possible |
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
source 'https://rubygems.org' | |
ruby '2.1.1' | |
gem 'rails', '~> 4.0.0' | |
gem 'pg' | |
group :assets do | |
gem 'sass', '3.2.13' | |
gem 'sass-rails' | |
gem 'coffee-rails' | |
gem 'therubyracer', :platforms => :ruby |
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
<<<<<<< HEAD | |
<% @faculty_assignment.supervisor_roles.each do |role| %> | |
<div> | |
<%= FacultyAssignment.human_attribute_name :assign_faculty %>: | |
<%= role.user.name rescue "N/A" %> | |
<% if (period = role.period).present? %>(<%= period %>)<% end %> | |
</div> | |
<% end %> | |
======= | |
<div> |
NewerOlder