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
module.exports = function(cursos, database){ | |
cursos.get("/", function(req, res, next){ | |
console.log("FUNCIONA"); | |
database.getConnection(function(err, connection){ | |
connection.query("select * from curso", function(err, rows){ | |
console.log(JSON.stringify(rows)); | |
res.send(rows); | |
}); | |
}); |
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
class String | |
def starts_with?(prefix) | |
prefix.respond_to?(:to_str) && self[0, prefix.length] == prefix | |
end | |
end | |
def delete_lines_from_file(filename) | |
line_arr = File.readlines(filename) | |
line_arr.delete_at(0) | |
line_arr.delete_at(0) if line_arr.first == "\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
var applicationConfig = { | |
local: { | |
server: { | |
host: 'localhost', | |
port: 8889, | |
clientSecret: 'abcd', | |
callbackURL: 'def' | |
} | |
}, | |
development: { |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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
Parcitipar en el concurso | |
Regístrate ahora | |
solicitar información | |
DESCARGAR GUIA | |
quiero más información | |
quiero el manual | |
Reservar plaza | |
Descargar YA | |
Quiero mi manual | |
reserva mi plaza |
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
<script> | |
document.querySelector('body > div > div.core-Event > div > aside > p:nth-child(7) > a').textContent = "Más información" | |
</script> |
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
Av&acirc;nd &icirc;n vedere avertiz\U0103rile emise de meteorologi, care anun\U021ba fenomene meteo extreme &icirc;n Bucure\U0219ti &icirc;ncep&acirc;nd cu data de 20 septembrie, Primarul General, Gabriela Firea, face apel la to\U021bi de\U021bin\U0103torii de mijloace de |
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
# luigi @ x200 in ~/projects/clear on git:master x [17:27:35] | |
$ ./bin/ameba | |
Inspecting 97 files. | |
.....F..............F........FF.............F..F...F.F......FFF..........FF......F....F......F... | |
src/clear/migration/manager.cr:247:5 | |
UnlessElse: Favour if over unless with else | |
src/clear/model/reflection/table.cr:42:5 |
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 | |
PARAMS=('-m 6 -q 80 -mt') | |
if [ $# -ne 0 ]; then | |
PARAMS=$@; | |
fi | |
cd $(pwd) |
OlderNewer