Skip to content

Instantly share code, notes, and snippets.

01-27 01:22:20.488 24152 24152 E chromium: [0127/012220.483803:ERROR:crashpad_info_reader.cc(72)] invalid signature 0x0
01-27 01:22:20.567 24152 24152 W chromium: [0127/012220.567563:WARNING:thread_snapshot_linux.cc(112)] Unknown scheduling policy 1073741825
01-27 01:22:20.578 24152 24152 W chromium: [0127/012220.577835:WARNING:thread_snapshot_linux.cc(112)] Unknown scheduling policy 1073741825
01-27 01:22:20.587 24152 24152 E chromium: [0127/012220.587427:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied (13)
01-27 01:22:20.626 2147 2147 I Choreographer: Skipped 50 frames! The application may be doing too much work on its main thread.
01-27 01:22:20.637 24152 24152 D RefBase : RefBase: Explicit destruction, weak count = 0 (in 0xea31a350)
01-27 01:22:20.656 24152 24152 D RefBase : #00 pc 0000aaa1 /system/lib/libutils.so (android::RefBase::~RefBase()+104)
01-27 01:22:20.656 24152 24152 D RefBase : #01 pc 00082d17 /apex/com.android.runtime/lib/bionic
01-26 07:36:06.864 635 635 I BufferQueueProducer: [com.android.chrome/ChromeChildSurface#0](this:0xb4000075659b9908,id:-1,api:0,p:-1,c:635) queueBuffer: fps=30.97 dur=1000.82 max=66.88 min=15.97
01-26 07:36:07.590 24243 24243 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.mdisync.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.GmsApiService }
01-26 07:36:07.897 635 635 I BufferQueueProducer: [com.android.chrome/ChromeChildSurface#0](this:0xb4000075659b9908,id:-1,api:0,p:-1,c:635) queueBuffer: fps=30.00 dur=1033.32 max=66.58 min=15.95
01-26 07:36:08.914 635 635 I BufferQueueProducer: [com.android.chrome/ChromeChildSurface#0](this:0xb4000075659b9908,id:-1,api:0,p:-1,c:635) queueBuffer: fps=30.50 dur=1016.40 max=66.56 min=16.21
01-26 07:36:09.826 1175 1175 D android.hardware.wifi@1.0-service-lazy: WifiRequest::create vendor command to iface 9, vendor_id=0x1a11, subcmd=0x1200, res=0
01-26 07:36:09.826 1175 1175 I android.hardware.wifi@1.0-service-lazy: WifiCo
@gurpal2000
gurpal2000 / Using VPS as an extension to home intranet.md
Last active December 4, 2023 08:35
Using VPS as an extension to home intranet

Using VPS as extension to home intranet v1

Using Wireguard show how VPS hardware can be used as an extension to your homelab. I am not interested in exposing services to the internet from the VPS. It is not intended to be a way for a user to VPN into the homelab from the internet.

  • Refer to the diagram at: https://i.imgur.com/n5elXC4.png
  • Server = a host inside your homelab (assume it is NOT a router already).
  • VPS = external cloud host.
  • Assume Ubuntu 18.04 LTS for all hosts involved.
  • Should be able to scale this easily. So if I had numerous VPSs, I could link them (mesh?)
  • I don't know much about OpenVPN, but that may be more suited to the goal. You tell me.
@gurpal2000
gurpal2000 / gist:c641c61b6146e10a93e597afb956272c
Created August 4, 2019 14:02
CamelSplitAggTimeoutTest & ArrayListAggregationStrategy - take #2
public class CamelSplitAggTimeoutTest extends CamelTestSupport {
@Test
public void test() throws Exception {
template.sendBody("direct:start", "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z");
Thread.sleep(10_000);
}
@Override
protected RoutesBuilder createRouteBuilder() throws Exception {
@gurpal2000
gurpal2000 / gist:59283b05f78fbc8fcb6b866c149ef838
Last active August 4, 2019 09:46
CamelSplitAggTimeoutTest & ArrayListAggregationStrategy
public class CamelSplitAggTimeoutTest extends CamelTestSupport {
@Test
public void test() throws Exception {
template.sendBody("direct:start", "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z");
Thread.sleep(10_000);
}
@Override
protected RoutesBuilder createRouteBuilder() throws Exception {
// instrument populated from a CSV
@Data
public class Instrument {
private LocalDate expiry;
}
// map transformer
public class MapTransformer {
public Map<String, Object> getMap(Object obj) {
return (new ObjectMapper()).convertValue(obj, new TypeReference<Map<String, Object>>() {});