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
- job_name: 'jenkins-agents' | |
scrape_interval: 5m | |
scheme: https | |
basic_auth: | |
username: ${functional_username} | |
password_file: /jenkins_apitoken | |
static_configs: | |
- targets: ['${jenkins_base_url}'] | |
metrics_path: 'job/${job_path}/lastSuccessfulBuild/artifact/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
almafa |
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
# -*- coding: utf-8 -*- | |
import re | |
def extract_key_parts(text): | |
message_match = re.compile('<p>([^<]*)<\/p>') | |
sender_match = re.compile('<span class="user">([^<]*)<\/span>') | |
thread_match = re.compile('<div class="thread">([^<]*)<div') | |
messages = message_match.finditer(text) |
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
mongo_filter = { | |
"status": | |
"open", | |
"current_status": | |
"open", | |
"applications_close_date":{ | |
"$gt":"2016-05-20"}, | |
"latest_end_date": { | |
"$gt":"2016-08-05"}, | |
"earliest_start_date" :{ |
#Android program találkozószervezéshez
Egy olyan android applikációt tervezünk, amely segítségével barátok hatékonyabban tudjanak egy munka utáni sörözést megbeszélni. A program segít kiválasztani a helyet, amelyik mindenkihez közel van és mindenki szeret, útvonalat tervez a helyszínre és megadja a tervezett indulási időpontot.
További funkciók későbbi megbeszélés alapján. A leírásban ahol kérdőjel van az azt jelenti, hogy jó ötletnek tartom (Rudolf), de valószínűleg úgy sem érdemes belefejleszteni, csak ha valaki nagyon jónak/fontosnak találja. A felkiáltójel azt mutatja, hogy szerintem mit kéne berakni a programba. Ahol nincs jelölés ott mindegyik opció egyenrangú szerintem.
##A felhasználó által megadott adatok:
- Indulási helyszín
- Indulási idő
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 REQ | |
{ | |
public string field1 { get; set; } | |
public int field2 { get; set; } | |
} | |
void use() | |
{ | |
string req = JsonParser.Serialize(new REQ() { field1 = "asd", field2 = 32; }); | |
REQ resp = JsonParser.Deserialize<REQ>(response); |
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
void use() | |
{ | |
using (var context = NetMQContext.Create()) | |
{ | |
using (RequestSocket socket = context.CreateRequestSocket()) | |
{ | |
socket.Connect("tcp://ipcím:port"); | |
socket.Send("sztring"); | |
var response = socket.ReceiveString(); | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am R-Rudolf on github. | |
* I am rudolf88 (https://keybase.io/rudolf88) on keybase. | |
* I have a public key whose fingerprint is 253E 45A2 CFBD FFB1 22B7 DEC4 212C B6F3 71F7 4138 | |
To claim this, I am signing this object: |