sudo dnf install xrdp xorgxrdp
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
<form action="" enctype="multipart/form-data" id="file-form" method="POST"> | |
<div id="upup"> | |
<h2>Upload update file</h2> | |
<p id="progressdiv"><progress max="100" value="0" id="progress" style="display: none;"></progress></p> | |
<input type="file" name="file-select" id="file-select"> | |
<button type="submit" id="upload-button">Upload</button> | |
</div> | |
</form> | |
<script type="text/javascript"> | |
var form = document.getElementById('file-form'); |
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
# MS Security bulletin: https://technet.microsoft.com/en-us/library/security/3009008.aspx | |
# Azure post where this script originally came from: http://azure.microsoft.com/blog/2014/10/19/how-to-disable-ssl-3-0-in-azure-websites-roles-and-virtual-machines/ | |
# | |
# | |
# NOTE: This registry change requires that the server be restarted. The script | |
# will detect if a change is applied and AUTOMATICALLY reboot the server. | |
# If you don't want automatic reboot comment out the final section of the | |
# script before running! | |
Function Ensure-RegKeyExists { |
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"; | |
function login(a, b) { | |
console.log("login " + a + b); | |
} | |
function logout(a) { | |
console.log("logout " + a); | |
} | |
function display(a) { | |
console.log("display " + a); | |
} |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Chart.js Demo</title> | |
<style> | |
canvas { | |
-moz-user-select: none; | |
-webkit-user-select: none; |
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
<?php | |
/** | |
* JSON data to html table | |
* | |
* @param object $data | |
* | |
*/ | |
function jsonToTable ($data) | |
{ |
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 lang="es"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Unidades de medida</title> | |
<style type="text/css"> | |
body { |
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
<?php | |
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ | |
/** | |
* Converts to and from JSON format. | |
* | |
* JSON (JavaScript Object Notation) is a lightweight data-interchange | |
* format. It is easy for humans to read and write. It is easy for machines | |
* to parse and generate. It is based on a subset of the JavaScript | |
* Programming Language, Standard ECMA-262 3rd Edition - December 1999. |
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
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |