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
# Log verbosity: PANIC, FATAL, ERROR, WARN, INFO, DEBUG, TRACE | |
log-level: INFO | |
# If no log file is provided logs are written to stdout. | |
#log-file: | |
# Number of retries to perform after a pipeline plugin error. | |
retry-count: 10 | |
# Time duration to wait between retry attempts. |
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
# Log verbosity: PANIC, FATAL, ERROR, WARN, INFO, DEBUG, TRACE | |
log-level: INFO | |
# If no log file is provided logs are written to stdout. | |
#log-file: | |
# Number of retries to perform after a pipeline plugin error. | |
retry-count: 10 | |
# Time duration to wait between retry attempts. |
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
// include the static image variable | |
// static const char display [] PROGMEM | |
#include "images.h" | |
oled_rotation_t oled_init_user(oled_rotation_t rotation) { | |
return OLED_ROTATION_0; | |
} | |
// helper to shift bits across an array. | |
void shiftright(char* buf, int size, int num) { |
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
public final class Example { | |
final static String access = "access-id-here"; | |
final static String secret = "secret-key-here"; | |
public static void main(String[] args) throws Exception { | |
S3FileSystemView viewer = new S3FileSystemView(access, secret); | |
JFileChooser chooser = new JFileChooser("s3:/", viewer); | |
int returnVal = chooser.showOpenDialog(new JFrame()); |
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
#!/usr/bin/env python3 | |
import requests | |
import urllib.parse | |
import hashlib | |
import json | |
#CHROME_UA = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36' | |
CHROME_UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36' | |
def getSession(rhx_gis, csrf_token, variables): |
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
@TestFactory | |
public Stream<DynamicTest> dynamicNextTrackMetricsWeeklyTests() { | |
final DateTime now = DateTime.now(); | |
int thisMonthLength = YearMonth.now().lengthOfMonth(); | |
// Week 2-4, track weekly | |
return IntStream.rangeClosed(7, thisMonthLength) | |
.boxed() | |
.map(i -> { | |
Date published = now.minusDays(i).toDate(); |
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
FollowerConfig tc = FollowerConfig.builder() | |
.listener(new TestListener()) | |
.initialExport(true) | |
.mongoConnectionString("mongodb://login:password@localhost:27017") | |
.mongoDatabase("cyberdyne") | |
.mongoCollection("skynet") | |
.oplogFile("/tmp/testapp/oplog_timestamp") | |
.build(); | |
Runner.run(tc); |
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
public class TestListener implements MongoEventListener { | |
@Override | |
public void exportDocument(Document doc) { | |
System.out.println("Export: " + doc.toString()); | |
} | |
@Override | |
public void delete(Delete entry) { | |
System.out.println("Delete: " + entry.getId()); | |
} |
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
<dependency> | |
<groupId>com.traackr</groupId> | |
<artifactId>mongo-follower</artifactId> | |
<version>1.0.1</version> | |
</dependency> |
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
Looking up unique issues in range: rev-1.54 ... rev-1.53 | |
======================================================= | |
= Came across some commits which couldn't be parsed: = | |
======================================================= | |
Merge branch 'release/1.54' | |
Gitflow: Prepping for release | |
... |
NewerOlder