take the "export id" on the instance, it's the eventId in the url : https://play.dhis2.org/2.39.4.1/dhis-web-capture/index.html#/viewEvent?viewEventId=aMulsxS3imr
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
| <!DOCTYPE html><meta charset='utf-8'><title>odk_cli test cases</title><style> | |
| body{font:14px system-ui,sans-serif;margin:2em;max-width:70em}summary{cursor:pointer;padding:2px 0} | |
| details details{margin:.5em 0}details>div{margin:0 0 1em 1.5em}h3{font-size:13px;margin:1em 0 .3em} | |
| p.note{background:#fff8c5;border-left:4px solid #d4a72c;padding:6px 10px} | |
| p.filter button{margin-right:.5em;padding:3px 10px;border:1px solid #ccc;border-radius:12px;background:#fff;cursor:pointer} | |
| p.filter button.on{background:#24292f;color:#fff;border-color:#24292f} | |
| h3.class{font-size:1.1em;margin-top:1.5em}b.saved{color:#1a7f37;font-weight:600}b.refused{color:#bc4c00;font-weight:600} | |
| table{border-collapse:collapse;margin-bottom:.5em}td,th{border:1px solid #ddd;padding:2px 6px;text-align:left;font-size:13px}th{background:#f4f4f4} | |
| pre{background:#f6f8fa;padding:8px;overflow:auto;margin:0}.problem{background:#fee;padding:6px;white-space:pre-wrap} | |
| </style><h1>odk_cli test cases</h1><p>Each case's result on the JVM and the binary, in |
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
| { | |
| "sourceDhis2": "https://play.dhis2.org/", | |
| "elasticBeanstalkApp": "sandbox", | |
| "startVersion": "2.32", | |
| "endVersion": "2.34", | |
| "hide": false | |
| } |
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
| { | |
| "payment_rules": { | |
| "hospital_payment": { | |
| "name": "Hospital payment", | |
| "formulas": { | |
| "quality_score": { | |
| "de_id": "kHiZFDjZesb", | |
| "expression": "round( avg(structure_and_management_score, process_of_care_score) ,2)", | |
| "frequency": "quarterly" | |
| }, |
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
| Orgunits* | |
| type -> OrgunitsFetching | |
| tick -> Periods | |
| OrgunitsFetching | |
| type -> Orgunits | |
| Periods | |
| tick -> ReferencePeriods |
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
| { | |
| "act1_weight_level1_for_1_and_2016q1": "6", | |
| "act1_achieved_for_1_and_2016q1": "33", | |
| "act1_target_for_1_and_2016q1": "33", | |
| "act1_active_for_1_and_2016q1": "1", | |
| "act1_cap_level1_for_1_and_2016q1": "125", | |
| "act1_regional_bonus_level1_for_1_and_2016q1": "121235", | |
| "act1_orgunit_id_for_1_and_2016q1": "1", | |
| "act2_weight_level1_for_1_and_2016q1": "5", | |
| "act2_achieved_for_1_and_2016q1": "80", |
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
| require 'histogram/array' | |
| require 'active_support' | |
| require 'active_support/core_ext' | |
| require 'active_support/core_ext/numeric' | |
| timestamps = (1..355).map do |t| | |
| [ | |
| Time.now + (t * 1).days + 3.hours + rand(60).minutes + rand(16).seconds, | |
| Time.now + (t * 1).days - 1.hours + rand(60).minutes + rand(16).seconds | |
| ] |
Hello software developers,
Please check your code to ensure you're not making one of the following mistakes related to cryptography.
- Writing your own home-grown cryptography primitives (For example: Mifare Classic)
- Exception: For the sake of learning, but don't deploy it in production.
- Using a fast hash function (e.g. MD5, SHA256) for storing passwords. Use bcrypt instead.
- Not using a cryptographically secure random number generator
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
| library(ggmap) | |
| library(readr) | |
| data <- read_csv("./input/train.csv") | |
| locations = c(left = -122.5222, | |
| bottom = 37.7073, | |
| right = -122.3481, | |
| top = 37.8381) |
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
| require 'fileutils' | |
| # https://gist.github.com/3798773 speed up vagrant for debian | |
| def local_cache(box_name) | |
| cache_dir = File.join(File.dirname(__FILE__), 'cache', 'apt', box_name) | |
| partial_dir = File.join(cache_dir, 'partial') | |
| FileUtils.mkdir_p(partial_dir) unless File.exists? partial_dir | |
| cache_dir | |
| end | |
NewerOlder

