Bash commnad:
midclt call app.query | jq -r '.[].name' | xargs -L1 midclt call app.upgrade
| F 012D1FFF 00000000 254AA110F3CFDB9D ;ABERTIS-abertpy 301 (30.0W) | |
| F 012F1FFF 00000000 254AA110F3CFDB9D ;ABERTIS-abertpy 303 (30.0W) | |
| F 01A41FFF 00000000 19103C655FDC9CD7 ;ABERTIS-abertpy 420 (30.0W) | |
| F 01A51FFF 00000000 19103C655FDC9CD7 ;ABERTIS-abertpy 421 (30.0W) | |
| F 01A71FFF 00000000 FCF5190A9481A4B9 ;ABERTIS-abertpy 423 (30.0W) | |
| F 01AF1FFF 00000000 2E4E9511A3155C14 ;ABERTIS-abertpy 431 (30.0W) | |
| F 01B11FFF 00000000 2E4E9511A3155C14 ;ABERTIS-abertpy 433 (30.0W) | |
| F 01B81FFF 00000000 19103C655FDC9CD7 ;ABERTIS-abertpy 440 (30.0W) | |
| F 02BD1FFF 00000000 7578FAE7D3B728B2 ;ABERTIS-abertpy 701 (30.0W) | |
| F 02BE1FFF 00000000 7578FAE7D3B728B2 ;ABERTIS-abertpy 702 (30.0W) |
Bash commnad:
midclt call app.query | jq -r '.[].name' | xargs -L1 midclt call app.upgrade
| { | |
| "name": "t212buy", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "t212buy.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "@vk496", | |
| "license": "GPLv3", |
| #!/bin/env bash | |
| # Author: Valentin Kivachuk Burda | |
| DEPENDS=(nccopy awk wc grep find) | |
| #https://stackoverflow.com/a/12436838/2757192 | |
| function max_bg_procs { | |
| if [[ $# -eq 0 ]] ; then |
| -- Debug: Sent Message: | |
| -------------------------- BEGIN NETLINK MESSAGE --------------------------- | |
| [NETLINK HEADER] 16 octets | |
| .nlmsg_len = 28 | |
| .type = 28 <0x1c> | |
| .flags = 773 <REQUEST,ACK,ROOT,MATCH> | |
| .seq = 1540414428 | |
| .port = -1237292432 | |
| [GENERIC NETLINK HEADER] 4 octets | |
| .cmd = 17 |
| =================================================================== | |
| MT7621 stage1 code Mar 12 2015 14:43:30 (ASIC) | |
| CPU=500000000 HZ BUS=166666666 HZ | |
| ================================================================== | |
| Change MPLL source from XTAL to CR... | |
| do MEMPLL setting.. | |
| MEMPLL Config : 0x31100000 | |
| 3PLL mode + External loopback | |
| === XTAL-40Mhz === DDR-800Mhz === | |
| PLL2 FB_DL: 0xa, 1/0 = 615/409 29000000 |
| # Maintainer: Miguel Revilla <yo at miguelrevilla dot com> | |
| pkgname=autofirma | |
| pkgver=1.6 | |
| pkgrel=1 | |
| pkgdesc='Spanish Government digital signature client' | |
| arch=('i686' 'x86_64') | |
| url='http://firmaelectronica.gob.es' | |
| license=('GPL' 'EUPL') | |
| depends=('java-runtime=8' 'nss' 'firefox') |
| cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl | |
| gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c | |
| gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c | |
| gcc objs/tl-parser.o objs/tlc.o -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lreadline -llua5.3 -lm -ldl -lssl -lcrypto -ldl -lpth |
| ### Keybase proof | |
| I hereby claim: | |
| * I am vk496 on github. | |
| * I am vk496 (https://keybase.io/vk496) on keybase. | |
| * I have a public key ASBW2AjvabmTrwvvs1oDyqvxx85J2ZtnHQvaer2XV3zJGwo | |
| To claim this, I am signing this object: |
| function print_r ( t ) | |
| local print_r_cache={} | |
| local function sub_print_r(t,indent) | |
| if (print_r_cache[tostring(t)]) then | |
| print(indent.."*"..tostring(t)) | |
| else | |
| print_r_cache[tostring(t)]=true | |
| if (type(t)=="table") then | |
| for pos,val in pairs(t) do | |
| if (type(val)=="table") then |