cat ~/.ssh/id_rsa.pub | \
ssh [email protected] \
"sudo mkdir /root/.ssh; sudo tee -a /root/.ssh/authorized_keys"
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
//TODO make sure all the Faults fall inside the window per ascending start and end time | |
const fault1 = { name: "fault1", timing: [0, 10] }; | |
const fault2 = { name: "fault2", timing: [5, 20] }; | |
const fault3 = { name: "fault3", timing: [10, 30] }; | |
const fault4 = { name: "fault4", timing: [70, 80] }; | |
let allFaults = [fault2, fault1, fault3, fault4]; | |
allFaults.sort((a, b) => { |
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
/*------------------------------------------ | |
Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
1280-1024 - desktop (default grid) | |
1024-768 - tablet landscape | |
768-480 - tablet | |
480-less - phone landscape & smaller | |
--------------------------------------------*/ | |
@media all and (min-width: 1024px) and (max-width: 1280px) { } | |
@media all and (min-width: 768px) and (max-width: 1024px) { } |
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
####################################### | |
# Custom # | |
####################################### | |
.vscode | |
####################################### | |
# Operating Systems # | |
####################################### |
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
db.livepolicies.aggregate() | |
.match({ | |
masterGroupID1Count: { | |
$exists: true | |
} | |
}) | |
.project({ | |
'DateString': { | |
$dateToString: { | |
format:'%Y-%m-%d', |
NewerOlder