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
| time_namelookup: %{time_namelookup}s\n | |
| time_connect: %{time_connect}s\n | |
| time_appconnect: %{time_appconnect}s\n | |
| time_pretransfer: %{time_pretransfer}s\n | |
| time_redirect: %{time_redirect}s\n | |
| time_starttransfer: %{time_starttransfer}s\n | |
| ----------\n | |
| time_total: %{time_total}s\n |
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
| ./configure --with-http_dav_module --with-http_ssl_module --add-module=../nginx-dav-ext-module-master/ |
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
| nombre_archivo = "blah.xlsx" | |
| wb = Workbook() | |
| ws1 = wb.active | |
| ws1.title = titulo | |
| header = NamedStyle(name="header") | |
| header.font = Font(bold=True) | |
| header.border = Border(bottom=Side(border_style="thin")) | |
| header.alignment = Alignment(horizontal="center", vertical="center") | |
| for i in range(len(columnas)): |
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
| import logging | |
| logging.basicConfig(level=logging.DEBUG) | |
| from spyne import Application, rpc, ServiceBase, \ | |
| Integer, Unicode | |
| from spyne import Iterable | |
| from spyne.protocol.soap import Soap11 |
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
| gem install --user-install gem_name |
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
| Check disk for USB stick: | |
| fdisk sdX | |
| Check partitions: | |
| disklabel sdX | |
| mount /dev/sdXUID | |
| Driver | |
| fw_update -p PATH |
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
| object Polinomios { | |
| def main(args: Array[String]) { | |
| println("Polinomio:") | |
| val r = scala.util.Random | |
| val grado = 4 | |
| val cant_monomios = r.nextInt(grado) + 1 | |
| println("\tGrado:" + grado + ", con " + cant_monomios + " monomios.") |
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
| dom.battery.enabled |
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
| mv index.html "`xmllint --xpath /html/head/title index.html | sed '/^\/ >/d' | sed 's/<[^>]*.//g'`.html" |
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
| -- Generadores y "guardias" | |
| {-- | |
| Sea la tupla (x,y) tal que, | |
| x ∈ [1..10] ^ x < 3 | |
| y ∈ [11,13] ^ y < 12 | |
| --} | |
| [(x,y) | x <- [1..10], y <- [11,13], x<3, y<12] | |