Skip to content

Instantly share code, notes, and snippets.

luigi 007lva

Block or report user

Report or block 007lva

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cursos.js
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);
});
});
View remove_utf8_header.rb
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"
View agnostic_config_file.js
var applicationConfig = {
local: {
server: {
host: 'localhost',
port: 8889,
clientSecret: 'abcd',
callbackURL: 'def'
}
},
development: {
View shared_count.coffee
SharedCount = Object.create(HTMLSpanElement.prototype)
PROVIDERS =
facebook:
url: (url) -> "http://graph.facebook.com/#{url}"
counter_field: 'share.share_count'
twitter:
url: (url) -> "http://opensharecount.com/count.json?url=#{url}"
counter_field: 'count'
View node_exporter_generic.json
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
View gist:ef9b987bb1973873d72610b83e502e52
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
View script.html
<script>
document.querySelector('body > div > div.core-Event > div > aside > p:nth-child(7) > a').textContent = "Más información"
</script>
View decode?
Av&amp;acirc;nd &amp;icirc;n vedere avertiz\U0103rile emise de meteorologi, care anun\U021ba fenomene meteo extreme &amp;icirc;n Bucure\U0219ti &amp;icirc;ncep&amp;acirc;nd cu data de 20 septembrie, Primarul General, Gabriela Firea, face apel la to\U021bi de\U021bin\U0103torii de mijloace de
@007lva
007lva / ameba
Created May 19, 2018
ameba report on anykeyh/clear
View ameba
# 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
You can’t perform that action at this time.