Proposed
2025-02-11
| int* range(int start, int end) { | |
| int len; | |
| if (start <= end) { | |
| len = end - start + 1; | |
| } else { | |
| len = start - end + 1; | |
| } | |
| int* array = malloc(sizeof(int) * len); | |
| if (start == end){ | |
| array[0] = start; |
| module tinygowifi | |
| go 1.18 | |
| replace device/arm => /usr/local/lib/tinygo/src/device/arm | |
| replace internal/reflectlite => /usr/local/lib/tinygo/src/internal/reflectlite | |
| replace internal/task => /usr/local/lib/tinygo/src/internal/task |
| CREATE OR REPLACE FUNCTION restful.put(auri character varying, ajson_text text) | |
| RETURNS text | |
| LANGUAGE plperlu | |
| SECURITY DEFINER | |
| AS $function$ | |
| use REST::Client; | |
| use Encode qw(encode); | |
| my $client = REST::Client->new(); | |
| $client->getUseragent()->proxy( 'https', 'http://some-proxy/' ); # use for proxy authentication | |
| $client->addHeader('Content-Type', 'application/json'); # headers |
| aws organizations list-accounts | jq -r '.[] | .[] | [.Id, .Name] | @csv' | perl -pe 's|,|, //|' |