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
#!/bin/bash | |
# https://wiki.archlinux.org/index.php/NetworkManager#Captive_portals | |
# README : make sure these binaries are available on your distribution. | |
# curl sed | |
login_wificity() { | |
# wificity authentication server | |
authserver="http://10.254.0.254:1000" |
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
let calificacion = 4 // Cambiar por el valor deseado {1,2,3,4} | |
for(let i = 1; i <=33; i++) { if(i === 17) continue; $(`input[value="${i}-${calificacion}"]`).click() } |
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
// A C / C++ program for Bellman-Ford's single source shortest path algorithm. | |
// http://www.geeksforgeeks.org/dynamic-programming-set-23-bellman-ford-algorithm/ | |
/* input | |
10 18 | |
0 1 3 | |
0 2 5 | |
0 4 4 | |
1 4 1 |
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
"Plot a PNG using matplotlib in a web request, using Flask." | |
# Install dependencies, preferably in a virtualenv: | |
# | |
# pip install flask matplotlib | |
# | |
# Run the development server: | |
# | |
# python app.py | |
# |