Skip to content

Instantly share code, notes, and snippets.

@ksitko
ksitko / FastList.tsx
Last active November 8, 2020 03:46 — forked from derekstavis/FastList.tsx
Discord's FastList, but in TypeScript
import { forEachObjIndexed } from "ramda";
import * as React from "react";
import { Animated, ScrollView, View, ViewStyle, LayoutChangeEvent, NativeScrollEvent } from "react-native";
type HeaderHeight = number | (() => number);
type FooterHeight = number | (() => number);
type SectionHeight = number | ((section: number) => number);
type RowHeight = number | ((section: number, row?: number) => number);
type SectionFooterHeight = number | ((section: number) => number);
-- Logs begin at Mon 2019-03-04 21:27:05 UTC, end at Wed 2019-03-06 00:04:10 UTC. --
Mar 05 23:43:16 ip-172-31-45-110 kamailio[30813]: {1 465 REGISTER lCnROoXCbq7xTKbxmDx6VTIhp4Iz.zk6} 13(30845) DEBUG: <core> [db_res.c:119]: db_new_result(): allocate 56 bytes for result set at 0x7f204a299900
Mar 05 23:43:16 ip-172-31-45-110 kamailio[30813]: {1 465 REGISTER lCnROoXCbq7xTKbxmDx6VTIhp4Iz.zk6} 13(30845) DEBUG: db_mysql [km_res.c:66]: db_mysql_get_columns(): 1 columns returned from the query
Mar 05 23:43:16 ip-172-31-45-110 kamailio[30813]: {1 465 REGISTER lCnROoXCbq7xTKbxmDx6VTIhp4Iz.zk6} 13(30845) DEBUG: <core> [db_res.c:156]: db_allocate_columns(): allocate 8 bytes for result names at 0x7f204a2641a8
Mar 05 23:43:16 ip-172-31-45-110 kamailio[30813]: {1 465 REGISTER lCnROoXCbq7xTKbxmDx6VTIhp4Iz.zk6} 13(30845) DEBUG: <core> [db_res.c:167]: db_allocate_columns(): allocate 4 bytes for result types at 0x7f204a264218
Mar 05 23:43:16 ip-172-31-45-110 kamailio[30813]: {1 465 REGISTER lCnROoXCbq7xTKbxmDx6VTIhp4Iz.zk6} 13
-- Logs begin at Mon 2019-03-04 21:27:05 UTC, end at Tue 2019-03-05 23:45:14 UTC. --
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: <core> [core/sr_module.c:937]: init_mod_child(): idx 14 rank 14: tm [udp receiver child=5 sock=172.31.45.110:5060]
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: tm [callid.c:136]: child_init_callid(): callid: '56ee5e7b6f9ca2df-30846@127.0.0.1'
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: <core> [core/sr_module.c:937]: init_mod_child(): idx 14 rank 14: tmx [udp receiver child=5 sock=172.31.45.110:5060]
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: tmx [tmx_mod.c:260]: child_init(): rank is (14)
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: <core> [core/sr_module.c:937]: init_mod_child(): idx 14 rank 14: sl [udp receiver child=5 sock=172.31.45.110:5060]
Mar 05 23:39:45 ip-172-31-45-110 kamailio[30813]: 14(30846) DEBUG: <core> [core/sr_module.c:937]: init_mod_child(): idx 14 rank
-- Logs begin at Mon 2019-03-04 21:27:05 UTC, end at Tue 2019-03-05 23:17:01 UTC. --
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:135]: db_mysql_get_columns(): use DB1_STRING result type
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:83]: db_mysql_get_columns(): allocate 16 bytes for RES_NAMES[2] at 0x7fe3ea34d190
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:90]: db_mysql_get_columns(): RES_NAMES(0x7fe3ea34d190)[2]=[expires]
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:115]: db_mysql_get_columns(): use DB1_DATETIME result type
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:83]: db_mysql_get_columns(): allocate 16 bytes for RES_NAMES[3] at 0x7fe3ea34d208
Mar 05 23:08:33 ip-172-31-45-110 kamailio[30444]: 1(30465) DEBUG: db_mysql [km_res.c:90]: db_mysql_get_columns(): RES_NAMES(0x7fe3ea34d208)[3]=[q]
Mar 05 23:08:
This file has been truncated, but you can view the full file.
-- Logs begin at Mon 2019-03-04 21:27:05 UTC, end at Tue 2019-03-05 22:53:32 UTC. --
Mar 04 21:27:05 ubuntu kernel: Linux version 4.15.0-1021-aws (buildd@lcy01-amd64-001) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21-Ubuntu SMP Tue Aug 28 10:23:07 UTC 2018 (Ubuntu 4.15.0-1021.21-aws 4.15.18)
Mar 04 21:27:05 ubuntu kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1021-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme.io_timeout=4294967295
Mar 04 21:27:05 ubuntu kernel: KERNEL supported cpus:
Mar 04 21:27:05 ubuntu kernel: Intel GenuineIntel
Mar 04 21:27:05 ubuntu kernel: AMD AuthenticAMD
Mar 04 21:27:05 ubuntu kernel: Centaur CentaurHauls
Mar 04 21:27:05 ubuntu kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Mar 04 21:27:05 ubuntu kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Mar 04 21:27:05 ubuntu kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
# The Kamailio configuration file for the control tools.
#
# Here you can set variables used in the kamctl and kamdbctl setup
# scripts. Per default all variables here are commented out, the control tools
# will use their internal default values.
## your SIP domain
SIP_DOMAIN=52.25.13.22
## chrooted directory
#!KAMAILIO
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_DEBUG
#
# Kamailio (OpenSER) SIP Server v5.1 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#