This file contains 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
# First of all, ensure farming-consumers is up and running | |
ct_attributes = FactoryBot.build(:es_concept_type).attributes | |
# in Staging you might need to do this before call Create service: | |
# transactions (sta):009> ct_attributes["uuid"] = SecureRandom.uuid | |
ES::ConceptTypes::Create.new(attributes: ct_attributes).call | |
# check concept type created consumer in Farming (devkit logs farming-consumers) | |
ct = ES::ConceptType.last |
This file contains 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) |
This file contains 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 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ând în vedere avertiz\U0103rile emise de meteorologi, care anun\U021ba fenomene meteo extreme în Bucure\U0219ti începând cu data de 20 septembrie, Primarul General, Gabriela Firea, face apel la to\U021bi de\U021bin\U0103torii de mijloace de |
This file contains 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 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 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 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 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" |
NewerOlder