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/bash | |
############################################## | |
# This script is a helper to Mount Encripted Volumes | |
# we use luks (2) and Cryptsetup | |
# we also use a Encrypted File that contain Files that are use as | |
# decryption keys. this key are "safe" stored within a file that is | |
# encrypted. we will ask it to be decripted (hence you will at least be ask ONCE | |
# for a password or whatever measure it was used with Cryptsetup to decript the file | |
# once Decripted it will be mounted to a location setup and use the Keyfiles to unlock | |
# the actual volumes. WE DO THIS, this way cuz in my experince is better to use keyfiles |
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
document.getElementsByTagName("body")[0].style= 'overflow-y:scroll;'; | |
document.getElementsByClassName("g-overlay")[0].parentNode.removeChild(document.getElementsByClassName("g-overlay")[0]); | |
document.getElementById("metered_overlay").parentNode.removeChild(document.getElementById("metered_overlay")); | |
var xhr = new XMLHttpRequest(); | |
xhr.onload = function() { | |
document.getElementById("main-content").innerHTML = this.responseXML.getElementById("main-content").innerHTML ; | |
//alert("Que Gato"); | |
} | |
xhr.open( 'GET', window.location.toString()); | |
xhr.responseType = 'document'; |
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
/* | |
* | |
* Copyright © 2018 Eduardo Vindas Cordoba. All rights reserved. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |