A Pen by Daniel Pedro dos Santos Fernandes on CodePen.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" /> | |
<meta charset=utf-8 /> | |
<title>Angular Tree</title> | |
</head> | |
<body ng-app="myApp" ng-controller="myController"> | |
<ul ng-tree="family"> | |
<li select="selected()">{{item.name}}</li> |
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
.red { | |
color : red !important; | |
} | |
.blue { | |
color : blue !important; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body ng-app="myApp" ng-controller="myController"> | |
<div my-directive> | |
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('myApp', []) | |
.controller('myCtrl', ['$scope', function($scope) { | |
$scope.MyProccessedData = ""; | |
}]) | |
.directive('myDirective', [function(){ | |
return function(scope, element, attrs) { | |
element.bind('keydown', function(event) { | |
scope.MyProccessedData = scope.$eval(attrs.ngModel); | |
}); | |
}; |
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
'use strict'; | |
beforeEach(function() { | |
this.addMatchers({ | |
toEqualData: function(expected) { | |
this.message = function () { | |
var notText = this.isNot ? " not" : ""; | |
return "Expected " + JSON.stringify(this.actual) + notText + " to be equals that " + JSON.stringify(expected); | |
} | |
return JSON.stringify(this.actual) === JSON.stringify(expected); |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
//Variables | |
$default-font-color: red; | |
$default-width: 10px; | |
$title-font-color: blue; | |
//Mixins (functions) |
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
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument( | |
'--potatoes', '-p', | |
nargs='*', | |
type=str, | |
required=True, | |
help='Type of potatoes that you like most' |
After a technical interview where the candidate will have the oportunity to go over these topics this challenge can be used to assess the automation and coding skills as well as the AWS knowledge of a candidate.
- Although documentation is not mandatory for this challenge it still is quite important
- Any automation tool can be used, so feel free to use whatever you are most comfortable with, bash script included
- Although our main development languages are Python and Go, feel free to pick whatever you are most comfortable with
- Please describe how would you do the deploy and configure of the items below in terms of technologies and deployment (CICD):
- Deploy a high available Application using EC2
- https://botkit.ai
- https://riot.im
- A PostgreSQL
- Web API using Java SpringBoot, Python (Flask), Go (MUX), NodeJS (Express or Restify) that connects with a PostgreSQL
- Deploy a SPA
- Deploy a high available Application using EC2
- Please describe how would you architect, configure and deploy your network in terms of technologies and deployment (CICD) in a way that your applications would be safe
OlderNewer