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="modal" data-backdrop="false"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-body"> | |
<div ng-transclude></div> | |
</div> | |
</div> | |
</div> | |
</div> |
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
var removeDamageData = function(i){ | |
return (('sourceIP' in row) && ('destinationIP' in row) && ('appProtocol' in row) && ('destinationPort' in row) && ('contentBytesTotal' in row)); | |
}; | |
var pgraph = element.find('.parcoords')[0]; | |
function renderMe(){ | |
if(scope.parallelData){ | |
var dataToShow = scope.parallelData.filter(removeDamageData); | |
var graph = d3.parcoords()(pgraph) | |
.data(dataToShow) |
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/sh | |
# ./create_vm.sh vm1 Debian_64 1024 20000 3393 Downloads/debian-7.1.0-amd64-netinst.iso | |
# VBoxManage startvm vm1 -type headless | |
# VBoxManage unregistervm vm1 --delete | |
VM_NAME=$1 | |
OS_TYPE=$2 | |
MEMORY_SIZE=$3 |
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
# Generate the key | |
`gpg --generate-key` | |
# Print your public key in the terminal | |
`gpg --export -a geguez@ioet.com | base64` | |
# Copy and share the public key with the person you will send the message to (this has to be done just once) | |
# import the public key of the sender (once per sender) | |
`echo <the text of the public key> | base64 --decode | gpg --import` |
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
/* | |
employees projects | |
+---------------+---------+ +---------------+---------+ | |
| id | int |<----+ +->| id | int | | |
| first_name | varchar | | | | title | varchar | | |
| last_name | varchar | | | | start_date | date | | |
| salary | int | | | | end_date | date | | |
| department_id | int |--+ | | | budget | int | | |
+---------------+---------+ | | | +---------------+---------+ |