Skip to content

Instantly share code, notes, and snippets.

Avatar

Brion Vibber brion

View GitHub Profile
View gist:8901920
(lldb) bt
* thread #11: tid = 0x7aba6, 0x000660f8 MobileVLCTest`ff_decode_block_coeffs_armv6 + 1188, stop reason = EXC_BAD_ACCESS (code=1, address=0x1e1c160e)
frame #0: 0x000660f8 MobileVLCTest`ff_decode_block_coeffs_armv6 + 1188
* frame #1: 0x00226422 MobileVLCTest`vp8_decode_mb_row_no_filter [inlined] decode_block_coeffs(c=0x01c111d4, block=0x02438900, i=0, zero_nhood=<unavailable>) + 5338 at vp8.c:835
frame #2: 0x00226418 MobileVLCTest`vp8_decode_mb_row_no_filter [inlined] decode_mb_coeffs(td=<unavailable>, c=0x01c111d4, l_nnz=0x02438938) + 214 at vp8.c:851
frame #3: 0x00226342 MobileVLCTest`vp8_decode_mb_row_no_filter(tdata=<unavailable>, avctx=<unavailable>, jobnr=<unavailable>, threadnr=<unavailable>) + 5114 at vp8.c:1701
frame #4: 0x0022445e MobileVLCTest`vp8_decode_mb_row_sliced(avctx=0x01bc9c00, tdata=<unavailable>, jobnr=0, threadnr=0) + 106 at vp8.c:1815
frame #5: 0x001ed94a MobileVLCTest`avcodec_default_execute2 + 66
frame #6: 0x002243d6 MobileVLCTest`ff_vp8_decode_frame(
View gist:d31bce3c787568e521fd
Increase font size of edit text.
Made article background white not light gray.
Made edit text background light gray.
Switched edit workflow nav "eye" icon to right arrow.
Switched left facing arrow in edit workflow nav to pencil.
View gist:249231538bad0110dc99
* Saved Pages morphed into Bookmarks
* Fix email validation bug in Account Creation
* Make search work better for non-main namespaces
----
* Even more crash fixes!
* Displays Main Page when first opened
* Handle Special pages properly
View gist:2d233200da983850031c
vagrant@mediawiki-vagrant:~$ redis-cli monitor | grep -i job
1405719083.707215 [0 127.0.0.1:35480] "HGETALL" "jobqueue:aggregator:h-ready-queues:v1"
1405719088.708363 [0 127.0.0.1:35480] "HGETALL" "jobqueue:aggregator:h-ready-queues:v1"
1405719092.318244 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:main:refreshLinks:empty" "300" "s:5:\"false\";"
1405719092.318719 [0 127.0.0.1:35497] "GET" "wiki:jobqueue:refreshLinks:rootjob:bdcbefffb99cc366cd9ea41ed0df61f0b887bc6a"
1405719092.319266 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:refreshLinks:rootjob:bdcbefffb99cc366cd9ea41ed0df61f0b887bc6a" "2419200" "s:14:\"20140718213132\";"
1405719092.376393 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:main:htmlCacheUpdate:empty" "300" "s:5:\"false\";"
1405719092.380027 [0 127.0.0.1:35497] "EXISTS" "wiki:stats:job-insert"
1405719092.380455 [0 127.0.0.1:35497] "INCR" "wiki:stats:job-insert"
1405719092.380948 [0 127.0.0.1:35497] "EXISTS" "wiki:stats:job-insert-htmlCacheUpdate"
View gist:9a560169c5b966364d03
1405719213.757491 [0 127.0.0.1:35480] "HGETALL" "jobqueue:aggregator:h-ready-queues:v1"
1405719218.760745 [0 127.0.0.1:35480] "HGETALL" "jobqueue:aggregator:h-ready-queues:v1"
1405719223.763006 [0 127.0.0.1:35480] "HGETALL" "jobqueue:aggregator:h-ready-queues:v1"
1405719224.637524 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:main:webVideoTranscode:empty" "300" "s:5:\"false\";"
1405719224.640142 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:main:webVideoTranscode:empty" "300" "s:5:\"false\";"
1405719224.643030 [0 127.0.0.1:35497] "SETEX" "wiki:jobqueue:main:webVideoTranscode:empty" "300" "s:5:\"false\";"
1405719224.701888 [0 127.0.0.1:35497] "EXISTS" "wiki:stats:job-insert"
1405719224.702694 [0 127.0.0.1:35497] "INCRBY" "wiki:stats:job-insert" "3"
1405719224.703424 [0 127.0.0.1:35497] "EXISTS" "wiki:stats:job-insert-webVideoTranscode"
1405719224.704329 [0 127.0.0.1:35497] "INCRBY" "wiki:stats:job-insert-webVideoTranscode" "3"
View gist:127dfc1f1d8b2f74f3fd
__32-[WebViewController resetBridge]_block_invoke553 Line 901
referenceClicked: {
linkId = (
"cite_ref-Taylor_2009_150_152_50-0",
"cite_ref-Sella_1983_651_687_51-0"
);
linkText = (
"[38]",
"[39]"
);
@brion
brion / gist:d30496a1a31223c86875
Created Oct 15, 2014
adb logcat from flatfish build 20141015 boot failure
View gist:d30496a1a31223c86875
brion@lino:~/Downloads/20141015$ adb logcat
--------- beginning of /dev/log/main
I/DEBUG ( 1269): debuggerd: Oct 15 2014 01:17:00
I/installd( 1272): installd firing up
E/cutils ( 1272): Failed to read /data/.layout_version: No such file or directory
D/installd( 1272): Upgrading /data/media for multi-user
D/installd( 1272): Upgrading to shared /data/media/obb
E/IMGSRV ( 1267): :0: SetupuKernel : EDM status value DevVAddr: 0xF4005000 pvLinAddrKM: 0x0xf105b000
--------- beginning of /dev/log/system
I/Vold ( 1266): Vold 2.1 (the revenge) firing up
View gist:16a65e610fc25ac53bb9
/* theora is one in, one out... */
if (ogg_stream_packetpeek(&theoraStreamState, &videoPacket) > 0) {
videobufReady = 1;
videobufGranulepos = videoPacket.granulepos;
videobufTime = th_granule_time(theoraDecoderContext, videobufGranulepos);
keyframeGranulepos = (videobufGranulepos >> theoraInfo.keyframe_granule_shift) << theoraInfo.keyframe_granule_shift;
keyframeTime = th_granule_time(theoraDecoderContext, keyframeGranulepos);
printf("granulepos: %llx; time %lf; offset %d\n",(unsigned long long)videobufGranulepos, (double)videobufTime, (int)theoraInfo.keyframe_granule_shift);
View gist:ec2b02b220714f2edc90
commit 226dc007b17b3bca315327d08131a51cc1e4a2f4
Author: Brion Vibber <brion@pobox.com>
Date: Mon Nov 10 20:13:48 2014 -0800
Fix quoting on iOS VPX_LDFLAGS for latest changes
This gets quoted later, so don't quote it first.
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 97ec939..b55199d 100644
View gist:e6d2de1583f06b26a561
PREFIX=/usr
sudo apt-get build-dep libav || exit 1
wget -c https://libav.org/releases/libav-10.5.tar.gz && tar zxvf libav-10.5.tar.gz || exit 1
(cd libav-10.5 && ./configure --prefix=/opt/libav10 --disable-avplay --disable-avprobe --disable-avserver --enable-runtime-cpudetect --enable-libopus --enable-libvorbis --enable-libvpx && make -j4) || exit 1
sudo cp libav-10.5/avconv $PREFIX/bin/avconv10
You can’t perform that action at this time.