This file contains hidden or 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 add-apt-repository ppa:yannubuntu/boot-repair | |
sudo apt update | |
sudo apt install -y boot-repair | |
boot-repair |
This file contains hidden or 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
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/mi_llave_privada | |
git clone git@github.com:usuario_u_organizacion/nombre-repositorio.git | |
cd nombre-repositorio | |
git config core.sshCommand "ssh -i ~/.ssh/mi_llave_privada" |
This file contains hidden or 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> | |
<title>Page Title</title> | |
<script> | |
function mostrarAlerta(){ | |
alert('Se impidió el envío del formulario por medio de onsubmit="event.preventDefault();"'); | |
} | |
</script> | |
</head> |
This file contains hidden or 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
onboardFlowSettings = { | |
"site_key": "aBcDEFgh", // Site Key Example | |
"src": "https://media.onboardflow.com/gen/tracker/aBcDEFgh.min.js", // URL with js file | |
"user": { | |
"id": "123", // Your internal User ID for the logged in user | |
"customer_id": "123", // The payment providers Customer ID for the logged in user | |
"email": "user@email.com", // Email address of the logged in user (optional) | |
"image_url": "https://example.com/images/123_pic.jpg", // Profile Image URL of the logged in user (optional) | |
'has_payment_method': false, // Has the user added a payment card? | |
'subscription': { |
This file contains hidden or 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
function send(onboardFlowSettings) { | |
(function() {var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; | |
po.src = onboardFlowSettings.src; | |
po.onload = po.onreadystatechange = function() {var rs = this.readyState; if (rs && rs != 'complete' && rs != 'loaded') return; | |
OnboardFlowLoader = new OnboardFlowLoaderClass(); OnboardFlowLoader.identify(onboardFlowSettings);}; | |
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);})(); | |
} |
This file contains hidden or 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
echo '' | |
echo 'Starting ...' | |
echo '' | |
echo 'Updating sources ...' | |
echo '' | |
apt -qq update | |
echo '' | |
echo 'Installing Git, Docker, Docker.io and Make ...' | |
echo '' | |
apt install -y build-essential git docker docker.io make |
This file contains hidden or 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
server { | |
# IPv4 | |
listen 80; | |
# IPv6 | |
listen [::]:80; | |
# Domain name: example.com | |
server_name example.com; | |
# Domain root: example.com/ |