This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
| [Unit] | |
| Description=Mirror arch linux | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/local/bin/sync_arch_mirror.sh | |
| User=arch | |
| IPAccounting=yes | |
| NoNewPrivileges=yes | |
| PrivateTmp=yes |
| #!/bin/bash | |
| # You can call this script like this: | |
| # $./volume.sh up | |
| # $./volume.sh down | |
| # $./volume.sh mute | |
| function get_volume { | |
| amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1 | |
| } |
| #!/usr/bin/env bash | |
| # You can call this script like this: | |
| # $ ./brightnessControl.sh up | |
| # $ ./brightnessControl.sh down | |
| # Script inspired by these wonderful people: | |
| # https://github.com/dastorm/volume-notification-dunst/blob/master/volume.sh | |
| # https://gist.github.com/sebastiencs/5d7227f388d93374cebdf72e783fbd6a |
| Remote Package Installer | |
| Package link: https://mega.nz/#!2dN1XajB!Z5fXyFoKOXFI_ujgGoCZfFFy5nyn7OWo6vF6h_HmWhQ | |
| Requirements: | |
| Any exploit on 4.5x+ | |
| HEN 1.8 (you could get it from zecoxao's page) or any other kernel payload (it just need to have fPKG stuff and /data mount patches for ShellCore that I've posted recently) | |
| Changelog: | |
| [+] Added CORS header to interact with browser's AJAX |
| OLDNAME=$(hostname) | |
| hostnamectl set-hostname ${1} | |
| mkdir -p /etc/pve/nodes/${1} | |
| cp -a /etc/pve/nodes/${OLDNAME} /etc/pve/nodes/${1} | |
| echo 'A reboot is required, Exit with CTRL-C' | |
| read |
If you want resources offline to learn about programming and web technologies MDN is for you! and I recommend to use MDN over w3school because w3school is outdated.
Download it offline (2.1gb) at https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz
Quizás tu usas un proveedor de telefonía que tiene entre sus ofertas una tarifa plana, o una bien generosa y que te alcanza, pero en Cuba no existe tarifa plana y tendemos a exprimir cada byte de la conexión de datos.
Puede que te hayas topado con este caso: usas los datos móviles del celular compartidos por WiFi con la PC/Laptop de trabajo y no hay nada malo con eso, o si?