How to block Facebook’s like and commenting features *within* Facebook using...
Add these two three lines to AdBlock’s filtering rules: facebook.com##span.UIActionLinks facebook.com##div.commentActions>span facebook.com##li.uiUfiAddComment
View ArticleUdev rules to own a dm disk
Just making this big mental/virtual note of how to assign LVM volumes’ ownership: a /etc/udev/rules.d/99-my-volume.rules with the following contents:...
View ArticleHow to install a ton of -dbg packages for shits and giggles
# dpkg -l | cut -d\ -f 3 | sed 's/^\(.*\)$/apt-get install \1-dbg/g' | sed -n '/aacp/,$p' | bash (This is making a lot of assumptions and it’s generally a bad idea to run arbitrary code you find on the...
View Article2 gigabytes for Acer Aspire One A0A110?
Finally got me the titanium drill bit I needed to remove the corroded-solid screw that held the last piece of +Acer #Aspire One’s PCB in place. Then spent better part of the day disassembling and...
View ArticlePAN over Bluetooth in Ubuntu 12.04 w/Bluez 4 & Blueman
I’m setting up a Bluetooth “Group ad-hoc Network” (GN) between my desktop (say, MAC 00:00:00:00:00:0A) and laptop (MAC 00:00:00:00:00:0B) just to see if I can. Existing documentation’s pretty sparse,...
View ArticleYourls, just Yourls
This is a fork of YOURLS: WordPress to Twitter that does nothing but generate YOURLS for new posts (and new media if opted). I ripped out all the Twitter bits and other stuff I have no use for, because...
View ArticleDump effective Xorg.conf (note to self)
sudo service lightdm stop sudo Xorg -configure :1 sudo service lightdm start
View ArticleQJoyPad w/255 keycodes
Here’s QJoyPad as it was on PlayDeb.net today, but with MAXKEY in constants.h changed to 255 to allow for bigger keycodes. qjoypad_4.1.0-1~getdeb1_amd64.deb
View ArticleList (dpkg) packages that provide a virtual package
jani@saegusa:~$ grep-available -F Provides -s Package mail-transport-agent Package: postfix Package: dma where mail-transport-agent is an example virtual package. (Via Serverfault).
View ArticleKB928416 ei asennu?
Tuli pitkästä aikaa käpisteltyä nyt jo elinkaarensa loppua lähestyvää Windows Xp:tä. Sen päivityksissä oli heti jotain perinteistä häikkää: KB928416:een itsensä assosioiva valinnainen .NET 3.0...
View ArticleExample run of regionset
I once bought a DVD from outside my region, partly just to see if I could make it work. Regionset is the commandline tool to change your drive’s region setting, but it’s somewhat exciting to use due to...
View ArticleHow to prefer official repository packages over GetDeb’s updated versions
Adapted this from yuvilio’s solution to down prioritize a PPA: jani@saegusa:~$ cat /etc/apt/preferences.d/getdeb-unprefer Package: * Pin: release o=GetDeb Pin-Priority: 400 On Precise, this lets me...
View ArticleMore transcoding notes: libvpx
As I wrote at the end of the previous post, the second pass may fail with “Application provided invalid, non monotonically increasing dts to muxer in stream 0″ when auto-alt-ref=1 is used. The VP8...
View ArticleThus Spoke Don Munsil
Two-lobe Lanczos is fine. It’s Lanczos (or any other sinc-based filter) with more than two lobes that gets problematic. However, if you’re going to use 2-lobe Lanczos, you might as well use Catmull-Rom...
View Article“Core Enabled: 1″ or enabledcores=1 from a 2 core Intel Pentium G2120
For my Intel Pentium G2120, `lshw -class cpu` and `dmidecode -t processor` both claim only one core is enabled on my dual-core Intel Pentium G2120. This is despite ‘All’ being enabled in the UEFI...
View ArticleTranscoding note: targeting quality with VP8
In CQ mode, --target-bitrate becomes “target maximum rate”. If requested quality (--cq-level) can be achieved with less (than --target-bitrate) bits, it will be encoded so, but --target-bitrate does...
View ArticleTranscoding note: better crop without Avidemux
I came up with a better way to crop the videos: as before, figure out the best deinterlacer (say, yadif) with Avidemux, but then just look up the timecode (say, 123 seconds) for a good reference frame...
View ArticleTranscoding notes: VP8 on old noisy grayscale material
Flush the stupid green tint with lutyuv=u=128:v=128. Avconv’s -nr option is there but doesn’t seem to do anything (at least for compressibility, with libavtools 4:0.8.6-0ubuntu0.12.04.1). hqdn3d does...
View ArticleImageMagick: combine multiple PNGs into a multi-layer TIFF
convert frames10/frame001.png frames20/frame001.png frames30/frame001.png -adjoin frames/frame001.tiff
View ArticleShotwell from Yorba’s daily PPA depends on libgee 0.8.2
Shotwell from Yorba’s daily builds PPA cyrrently depends on “libgee-0.8-2 (>=0.8.3) but it is not installable” on Precise. Fundamentally, this is caused by Yorba (by decision) moving to libgee 0.8...
View Article