Skip to content

Instantly share code, notes, and snippets.

View cameronj86's full-sized avatar

Cameron Jackson cameronj86

View GitHub Profile
@intellectronica
intellectronica / claude-extended-thinking-guide.md
Created November 25, 2025 13:57
Claude Extended Thinking: The Ultimate Guide

Claude Extended Thinking: The Ultimate Guide

When to use extended thinking across Claude models in the Claude App and Claude Code

Generated by Claude Opus 4.5 (with extended thinking)


What Is Extended Thinking?

@aschober
aschober / ssh-on-android-linux-terminal.md
Created March 19, 2025 04:41
Setup SSH and Tailscale on Android 15 Linux Terminal App

Setup SSH and Tailscale on Linux Terminal App

This guide outlines the steps to set up an SSH server and Tailscale on a fresh Debian installation inside the Android Linux Terminal App. After completing these steps, you'll be able to securely SSH into the Linux environment running on your Android device from any remote machine over the internet using Tailscale.

  1. Update package lists and upgrade installed packages to the latest versions:

    sudo apt update && sudo apt upgrade -y
    
#!/usr/bin/env python3
# TaskWarrior Hook for ActivityWatch
# Author: Emir Herrera GonzΓ‘lez
# Inserts a TaskWarrior activity when a Task is stopped
# License: GNU GPLv3
from datetime import datetime, timezone
from time import sleep
@fardjad
fardjad / taming-an-onyx-tablet.md
Last active November 4, 2025 09:57
[Taming an Onyx Tablet] The documented process of securing my Onyx Boox tablet #blog #onyx #boox

Taming an Onyx Tablet

Onyx tablets reportedly phone home and send "data" to some servers in China. The manufacturer apparently refuses to publish the source-code modifications to the OS and the open-source apps they are using and they even go as far as violating GPL.

Of course I learned all that after buying this tablet. To ease my mind, I spent some time debloating it and then blocked the outgoing traffic to

const apiUrl = "http://api.quotable.io/random?tags=";
async function start() {
var quote;
var cite;
const response = await fetch(apiUrl);
const data = await response.json();
if (response.ok) {
// Update DOM elements
@FreddieOliveira
FreddieOliveira / docker.md
Last active December 15, 2025 20:49
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@johanbove
johanbove / .bash_colours
Last active March 30, 2025 19:24
TaskWarrior aliases and other stuff
# Inspired by Paul Fenwick (https://gist.github.com/pjf)
# See https://gist.github.com/pjf/051aa4ef326d493beec950823f7edfd8#file-bashrc
# Reset
Color_Off='\[\e[0m\]' # Text Reset
# Regular Colors
Black='\[\e[0;30m\]' # Black
Red='\[\e[0;31m\]' # Red
Green='\[\e[0;32m\]' # Green
Yellow='\[\e[0;33m\]' # Yellow
@ageis
ageis / systemd_service_hardening.md
Last active December 6, 2025 17:05
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
@varqox
varqox / install_debian_with_debootstrap_howto.md
Last active December 15, 2025 10:16
Instructions how to install Debian using debootstrap
@wbsch
wbsch / on-modify.blocks_attr.py
Last active December 5, 2025 21:12
Taskwarrior hook script that adds a "blocks:" pseudo-attribute for adding/modifying tasks.
#!/usr/bin/env python
#
# Adds the ability to add / modify tasks using a "blocks:" attribute,
# the opposite of "depends:".
#
# This script acts as an on-modify, on-add and on-launch hook at the same time.
#
### SETUP
# Save this file as
# ~/.task/hooks/on-modify.blocks_attr.py