Skip to content

Instantly share code, notes, and snippets.

View airend's full-sized avatar

Andrei Măceș airend

View GitHub Profile
@airend
airend / CoinMarketCap.gs
Last active April 1, 2023 08:13
CoinMarketCap API-based Prices for Google Sheets
const cmcAPIkey = '';
const cmcAPIurl = 'https://pro-api.coinmarketcap.com';
const defCoin = "USD";
const cmcAPIcall = {
headers: {
'Accepts': 'application/json',
'X-CMC_PRO_API_KEY': cmcAPIkey,
'Accept-Encoding': 'deflate, gzip',
},
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.0 (dmaces@gc-arch) (gcc version 8.2.0 (Arch Repository) ) #1 SMP PREEMPT Tue Nov 27 18:27:52 EET 2018
[ 0.000000] CPU: ARMv7 Processor [512f06f0] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: Qualcomm MSM 8974 HAMMERHEAD (Flattened Device Tree), model: LGE MSM 8974 HAMMERHEAD
[ 0.000000] qcom,ion-heap@28 reserved EBI1 size 614000
[ 0.000000] qcom,mdss_fb_primary reserved EBI1 size 1000000
[ 0.000000] qcom,msm-contig-mem reserved EBI1 size 280000
[ 0.000000] Node qcom,msm-mem-hole removed memory 7b00000-ff00000
#!/bin/sh
TRACK=nougat-release
BRANCH=aosp-7.0; CANARY=build
FETCH=https://android.googlesource.com
SAUCE=~/android/$BRANCH; cd $SAUCE # or whatever location
OLDTAG=`git -C $CANARY describe --tag aosp/$TRACK`
git -C $CANARY fetch $FETCH/platform/$CANARY $TRACK && \

Nook HDs

  • fix audio HAL for N/K3.4
  • figure out K3.4 drain
  • fix hummingbird 3.4 DSS
  • update all manifests

OMAP4 3.4 Common

  • prepare Nook tree for merging
  • remove extraneous branches
@airend
airend / DDK 1.12 (SGX 544_116)
Last active March 18, 2016 19:03
libIMGegl/Selected Syms
IMGeglGetError
IMGeglGetDisplay
IMGeglInitialize
IMGeglTerminate
IMGeglQueryString
IMGeglGetProcAddress
IMGeglGetConfigs
IMGeglChooseConfig
IMGeglGetConfigAttrib
IMGeglCreateWindowSurface
@airend
airend / ovation.CMA
Last active February 6, 2016 17:06
Nook HD+ CMA Allocations & Logs
rproc:
pool->st_base=0xb8d00000, size sum 0x6800000=109051904=104mb, pool->st_size 0x7000000=117440512=112mb
pool->st_base=omap4_ducati_heap_addr
CMA: 0xb7d00000 to 0xbfd00000 (size: 0x8000000=128mb)
omap4_ion_heap_tiler_mem_addr = 0xb7d00000
omap4_ion_heap_tiler_mem_size = 0x1000000=16mb
tiler: 0xb7d00000 to 0xb8d00000
@airend
airend / hummingbird.CMA
Last active February 14, 2016 20:01
Nook HD CMA Allocations & Logs
rproc:
pool->st_base=0xb8d00000, size sum 0x6800000=109051904=104mb, pool->st_size 0x7000000=117440512=112mb
pool->st_base=omap4_ducati_heap_addr
CMA: 0xb7d00000 to 0xbfd00000 (size: 0x8000000=128mb)
omap4_ion_heap_tiler_mem_addr = 0xb7d00000
omap4_ion_heap_tiler_mem_size = 0x1000000=16mb
tiler: 0xb7d00000 to 0xb8d00000
@airend
airend / Asterisk_OpenCORE-AMR-NB.patch
Created May 18, 2015 18:59
AMR Narrowband for Asterisk 11.x
Index: asterisk-11.10.2/channels/chan_sip.c
===================================================================
--- asterisk-11.10.2.orig/channels/chan_sip.c 2014-06-17 18:53:02.633454582 -0400
+++ asterisk-11.10.2/channels/chan_sip.c 2014-06-23 19:56:24.565721407 -0400
@@ -11143,6 +11143,23 @@
}
switch ((int) format->id) {
+ case AST_FORMAT_AMRNB:
+ if (sscanf(fmtp_string, "mode=%30u", &value) == 1) {