Skip to content

Instantly share code, notes, and snippets.

View ssmusoke's full-sized avatar
♻️
In search of green builds

Stephen Senkomago Musoke ssmusoke

♻️
In search of green builds
View GitHub Profile
<p>🥇 | A<a href="https://t.me/ATHcoinEth">ll Time High Community Chat $ATH<br>
</a><br>
A<a href="https://t.me/ATHcoinEth">ll Time High </a>Buy!<br>
💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹💹</p>
<p>💵 0.07 ETH ($127.61)<br>
/*
* Available context bindings:
* COLUMNS List<DataColumn>
* ROWS Iterable<DataRow>
* OUT { append() }
* FORMATTER { format(row, col); formatValue(Object, col) }
* TRANSPOSED Boolean
* plus ALL_COLUMNS, TABLE, DIALECT
*
* where:
{
"fullUrl": "http://localhost:8000/Observation/1968",
"resource": {
"resourceType": "Observation",
"id": "1968",
"meta": {
"versionId": "1",
"lastUpdated": "2021-08-12T13:50:52.192+00:00",
"source": "#Vnns2E6uggGyIQHz"
},
[
{
"instanceID": "UUID" // UUID
"*entry_date": "string",
"username": "string / nurse's username / logged in user *",
"area": "string / eg kampala, arua ",
"studyID": "string",
"health_facility_id": "integer" // required
"initials": "string",
"age": "integer",
WARN No project package.json file found at /Users/ssmusoke/IdeaProjects/dgmt-poc/package.json
WARN Project has no dependency on medic-conf.
INFO Processing config in dgmt-poc.
INFO Actions:
- convert-app-forms
- upload-app-forms
INFO Starting action: convert-app-forms…
INFO Converting form /Users/ssmusoke/IdeaProjects/dgmt-poc/forms/app/child-visit.xlsx …
Traceback (most recent call last):
File "/usr/local/opt/python/libexec/bin/xls2xform-medic", line 5, in <module>
"district_code","district_name","parish_code","parish_name","polling_station_code","polling_station_name","registered_voters","amuriat_oboi_patrick","kabuleeta_kiiza_joseph","kalembe_nancy_linda","katumba_john","kyagulanyi_ssentamu_robert","mao_norbert","mayamba_la_willy","mugisha_muntu_gregg","mwesigye_fred","tumukunde_henry_kakurugu","yoweri_museveni_tibuhaburwa_kaguta","valid_votes","invalid_votes"
87,ZOMBO,4,ZULUME,1,4,821,12,8,4,4,45,4,2,11,2,6,347,445,24
87,ZOMBO,30,ABANGA,1,ABANGA KUBI P/S,638,7,4,3,4,24,4,3,1,3,3,228,284,12
87,ZOMBO,16,ABEJU,1,ABEJU COOP. SOCIETY,449,6,2,6,0,47,1,0,2,1,1,125,191,19
87,ZOMBO,45,AMUDA,1,ADHINGI PR SCHOOL,912,4,2,3,1,25,6,1,7,2,6,389,446,23
87,ZOMBO,6,PAMACH,1,ADWOGU CLUB,354,3,0,1,2,9,1,0,2,0,0,196,214,10
87,ZOMBO,39,AFFERE WARD,1,AGIERMACH MALITABU CLUB,749,3,1,2,5,44,5,0,2,2,2,330,396,24
87,ZOMBO,19,OMBILA,1,AJEI P SCHOOL,614,2,2,1,1,35,3,0,2,0,3,205,254,24
87,ZOMBO,52,OSOYE,1,AJERE CHAPEL,609,5,4,2,0,48,4,0,3,1,6,164,237,46
87,ZOMBO,8,JUPADINDO WARD,1,AJIGO CATHOLIC
district_name,polling_station_name,registered_voters,katumba_john,kyagulanyi_ssentamu_robert
ABIM,AGWATA CATHOLIC CHURCH,620,107,15
ALEBTONG,OCOM,483,6,3
AMOLATAR,BAROWALO TE AEME,247,19,1
AMURIA,ANGARO MANGO TREE,238,2,0
BUKEDEA,OLWA PILOT SC,831,2,1
BUKWO,KAPNAUNJURO,107,1,0
BUNYANGABU,KIGAYA,309,1,0
ISINGIRO,RUBONDO PRI SCH,476,1,0
ISINGIRO,RWENGE C.O.U,538,5,4
@ssmusoke
ssmusoke / showbreakpoints.blade.php
Last active December 13, 2020 20:33 — forked from adamhopkinson/showbreakpoints.blade.php
Small TailwindCss component to show which breakpoint is active based on the debug mode
@if (config('app.debug'))
<div class="flex space-x-2 mb-4 rounded border text-center text-sm font-bold">
<div class="flex-1 p-2"><span class="text-green-700 mr-1 xs:inline-block sm:hidden">&#x2713;</span><span class="text-red-700 mr-1 hidden sm:inline-block">&#x2717;</span><br>XS</div>
<div class="flex-1 p-2"><span class="text-green-700 mr-1 hidden sm:inline-block md:hidden">&#x2713;</span><span class="text-red-700 mr-1 inline-block sm:hidden md:inline-block">&#x2717;</span><br>SM</div>
<div class="flex-1 p-2"><span class="text-green-700 mr-1 hidden md:inline-block lg:hidden">&#x2713;</span><span class="text-red-700 mr-1 inline-block md:hidden lg:inline-block">&#x2717;</span><br>MD</div>
<div class="flex-1 p-2"><span class="text-green-700 mr-1 hidden lg:inline-block xl:hidden">&#x2713;</span><span class="text-red-700 mr-1 inline-block lg:hidden xl:inline-block">&#x2717;</span><br>LG</div>
<div class="flex-1 p-2"><span class="text-green-700 mr-1 hidden xl:inline-block 2xl:hidden">&#x2713;</span><span
Forking a new process... (use -Dfork=false to prevent forking)
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T19:41:47+03:00)
Maven home: /usr/local/Cellar/maven@3.3/3.3.9_1/libexec
Java version: 1.8.0_251, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
[INFO] Scanning for projects...
an despite precondition failure due to onFail='MARK_RAN':
liquibase.xml : Not precondition failed
SEVERE 11/30/20 2:43 PM:liquibase: Change Set liquibase.xml::muzima-20201123083000::bmokaya failed. Error: Error executing SQL INSERT INTO scheduler_task_config (name, description, schedulable_class,
start_time, start_time_pattern, repeat_interval, start_on_startup, started,
created_by, date_created, changed_by, date_changed, last_execution_time, uuid )
VALUES ('Process Muzima's Queue Data', 'Task to process queue data submitted to the muzima processor.', 'org.openmrs.module.muzima.task.ProcessQueueDataTask',
'2020-11-23 00:00:00','MM/dd/yyyy HH:mm:ss',3600, 1, 1,
1, now(), NULL, NULL, NULL, uuid()): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Queue Data', 'Task to process queue data submitted to the muzima processor.', ' at line 4
liquibase.excepti