Skip to content

Instantly share code, notes, and snippets.

View huming2207's full-sized avatar
💭
I may be slow to respond.

Jackson Ming Hu huming2207

💭
I may be slow to respond.
  • SmartGuide Pty Ltd.
  • Melbourne, VIC, Australia
  • 14:32 (UTC +10:00)
  • X @huming2207
View GitHub Profile
@huming2207
huming2207 / README.md
Last active May 11, 2022 14:10
OpenWrt Chaos Calmer 15.05.1 Linux kernel configuration for SV3-26026

OpenWrt 15.05 Chaos Calmer Linux Kernel Configuration for Seavo SV3-260xx

What it is

This is a Linux Kernel 3.18 configuration for Seavo SV3-260xx series motherboard.

It has:

  • Intel Atom N2600 dual-core CPU
  • Intel GMA3650 (SGX545) GPU
  • Several RS232 serial ports
@huming2207
huming2207 / secret_garden.py
Created June 2, 2016 23:55 — forked from haojian/secret_garden.py
secret garden
import skimage;
from skimage import data
from skimage.filters import threshold_otsu
from skimage.segmentation import clear_border
from skimage.measure import label
from skimage.morphology import closing, square
from skimage.measure import regionprops
from skimage.color import label2rgb
import cv2
import numpy as np
@huming2207
huming2207 / boot.log
Created April 25, 2017 23:42
PB-M2 bootlog LEDE SNAPSHOT r3995-2db05cd199
[ 0.000000] Linux version 4.4.61 (hu@hu-mac) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3995-2db05cd199) ) #0 SMP Sun Apr 23 11:51:55 2017
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is PBR-M1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
@huming2207
huming2207 / gist:f53660e064cf859f0dc981b446a07730
Created May 3, 2017 05:01
LEDE 17.01-SNAPSHOT, r3356-8b9f7bd7bd bootlog, for PBR-M1 running on PBR-M2
REBOOT
:▒
_______________________________________________________________
| ____ _ ____ |
| | _ \ __ _ _ __ __| | ___ _ __ __ _| __ ) _____ __ |
| | |_) / _` | '_ \ / _` |/ _ \| '__/ _` | _ \ / _ \ \/ / |
| | __/ (_| | | | | (_| | (_) | | | (_| | |_) | (_) > < |
| |_| \__,_|_| |_|\__,_|\___/|_| \__,_|____/ \___/_/\_\ |
| |
| PandoraBox Ralink/MTK Platform |
@huming2207
huming2207 / IntelliJ_IDEA__Perf_Tuning.txt
Last active June 11, 2017 12:23 — forked from P7h/IntelliJ_IDEA__Perf_Tuning.txt
Performance tuning parameters for IntelliJ IDEA. Add these params in idea64.exe.vmoptions or idea.exe.vmoptions file in IntelliJ IDEA. If you are using JDK 8.x, please knock off PermSize and MaxPermSize parameters from the tuning configuration.
-server
-Xms2048m
-Xmx2048m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
@huming2207
huming2207 / .vimrc
Created August 1, 2017 04:41 — forked from rocarvaj/.vimrc
Minimal .vimrc for C/C++ developers
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
@huming2207
huming2207 / full-dmesg.log
Created October 4, 2017 06:43
log-mi6-no-wifi-tethering
This file has been truncated, but you can view the full file.
[10051.203238] CPU3: update max cpu_capacity 1024
[10051.223253] CPU3: update max cpu_capacity 1024
[10051.236392] IRQ5 no longer affine to CPU3
[10051.253227] CPU0: update max cpu_capacity 1024
[10051.263242] CPU0: update max cpu_capacity 1024
[10051.283216] CPU0: update max cpu_capacity 1024
[10051.303205] CPU0: update max cpu_capacity 1024
[10051.335465] suspend ns: 10051335456473 suspend cycles: 398709617912
[10051.335456] Enabled clocks:
[10051.335456] bimc_a_clk:1:1 [546963456]
@huming2207
huming2207 / logcat.full.bluetooth.log
Created October 5, 2017 12:50
Sagit no bluetooth sound
This file has been truncated, but you can view the full file.
--------- beginning of system
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.huawei.launcher3.permission.WRITE_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.sec.android.app.twlauncher.settings.READ_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.sec.android.app.twlauncher.settings.WRITE_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.anddoes.launcher.permission.READ_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.anddoes.launcher.permission.WRITE_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknown permission com.tencent.qqlauncher.permission.READ_SETTINGS in package com.eg.android.AlipayGphone
10-05 23:24:59.611 2227 2227 W PackageManager: Unknow
@huming2207
huming2207 / gist:19a8a05d00b4c569edc5b1aef83acfa8
Created October 7, 2017 10:18
logcat.still.no.bluetooth.oct.7.log
LE (LTE) - 104] isDefaultNetwork=false
10-07 21:15:45.511 3799 3965 D DcNetworkAgent: NetworkAgent: NetworkAgent channel lost
10-07 21:15:45.511 3799 3965 D DcNetworkAgent: NetworkAgent: DcNetworkAgent: [unwanted]: disconnect apnContext={mApnType=supl mState=CONNECTED mWaitingApns={[[ApnSettingV3] Optus Preconnect, 2942, 50502, preconnect, , , , , , -1, default | supl, IP, IP, true, 0, 0, 0, false, 0, 0, 0, 0, , , false]} mApnSetting={[ApnSettingV3] Optus Preconnect, 2942, 50502, preconnect, , , , , , -1, default | supl, IP, IP, true, 0, 0, 0, false, 0, 0, 0, 0, , , false} mReason=connected mDataEnabled=true mDependencyMet=true}
10-07 21:15:45.512 1833 3532 D ConnectivityService: NetworkAgentInfo [MOBILE (LTE) - 104] got DISCONNECTED, was satisfying 7
10-07 21:15:45.513 3799 3799 D QC_RIL_OEM_HOOK: dds phoneId: 0
10-07 21:15:45.513 3799 3799 V QC_RIL_OEM_HOOK: sendRilOemHookMsg: Outgoing Data is 514f454d484f4f4b270008000400000000000000
10-07 21:15:45.514 3784 3784 D QcrilMsgTunnelIfaceManager: han