Mostly notes to myself, but hey, maybe it helps you too! Get Kali for the GPD Pocket I installed using re4son’s modified image from here. Removing the GRUB splash screen (it’s sideways anyway, which looks horrible, and I’m not multibooting) /etc/default/grub GRUB_TIMEOUT=0 GRUB_BACKGROUND=”” Speeding up WiFi so it doesn’t lag if you SSH into the […]
I recently reinstalled one of these cheap-ass, but surprisingly well built for the price, “ultraportable” laptops. Here’s the WiFi driver to get you started, and the remaining drivers that were not available from Windows Update. Enjoy.
Tasked with cleaning up an installation script, I noticed it was calling dpkg dozens of times to verify that the required packages were in place. On a Raspberry Pi, or similar low powered device, this takes ages. I replaced it with the following: c=0 while read -r pkg; do printf ‘Missing package: %s\n’ “$pkg” >&2 […]
Awesome laptop. Some tools I use, archived for personal reference. AutoHotkey LidWatcher
For personal reference: MNL-1566.pdf Original source here.
Mostly a note to self, original source here. SELECT TOP 10 SUBSTRING(qt.TEXT, (qs.statement_start_offset/2)+1, ((CASE qs.statement_end_offset WHEN -1 THEN DATALENGTH(qt.TEXT) ELSE qs.statement_end_offset END – qs.statement_start_offset)/2)+1), qs.execution_count, qs.total_logical_reads, qs.last_logical_reads, qs.total_logical_writes, qs.last_logical_writes, qs.total_worker_time, qs.last_worker_time, qs.total_elapsed_time/1000000 total_elapsed_time_in_S, qs.last_elapsed_time/1000000 last_elapsed_time_in_S, qs.last_execution_time, qp.query_plan FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp ORDER BY qs.total_logical_reads DESC — logical reads […]
I was recently tasked with creating a local CA for a project, where we needed to verify custom client certificates, have the ability to revoke them at will, and we wanted to add additional custom fields to the certificates. Cool. The first stop after searching a bit was this excellent howto by Jamie Nguyen. There’s […]
Just a short note to self here, as the process is fully documented at Microsoft’s website (local archive here). The command to use is: C:\windows\system32> redircmp ou=mycomputers,DC=contoso,dc=com Of course you have to customize the location to fit your domain.
I was recently debugging a case where a customer’s installation was hanging due to a database lock. The issue turned out to be that the database was not set to a default transaction level of READ COMMITTED SNAPSHOT, which the product expects. Regardless, while troubleshooting the issue, I stumbled upon a very useful SQL query […]
Found myself needing this. If you need it too, here it is.