This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ▐▛███▜▌ Claude Code v2.1.34 + tweakcc v3.4.0 | |
| ▝▜█████▛▘ Opus 4.6 · Claude API | |
| ▘▘ ▝▝ ~/projects/the_observer | |
| ┃ ✓ tweakcc patches are applied | |
| [msg:5c546f5b-180a-4c64-9c8b-a46998c7ac5c] | |
| [msg:5c546f5b-180a-4c64-9c8b-a46998c7ac5c] | |
| > I'm testing a new feature added to Claude Code called "smart compaction". | |
| It's different from auto compaction in that it can compact targetted messages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ❯ What unanswered questions remain? | |
| ● Read 1 file (ctrl+o to expand) | |
| ● From the scratchpad plus things that came up implicitly: | |
| Listed in the doc: | |
| 1. GitHub publish flow - PAT handling, UX for "push to real repo" | |
| 2. DOM swapping mechanics - how exactly does the overlay work for multi-page content? | |
| 3. Assets in live preview - images, CSS, fonts when previewing changes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.beam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BoardViewer | |
| def initialize(board, opts = {}) | |
| @board = board | |
| @coordinate_enumerator = opts[:coordinate_enumerator] | |
| end | |
| attr_accessor :coordinate_enumerator | |
| def view() | |
| p @board.inspect | |
| end | |
| def close() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env jruby | |
| require 'snmp4jruby' | |
| class TrapListener | |
| def initialize() | |
| @transport = SNMP4JR::Transport::DefaultUdpTransportMapping.new | |
| @address = SNMP4JR::SMI::GenericAddress.parse("udp:127.0.0.1/1162") | |
| @snmp = SNMP4JR::Snmp.new(@transport) | |
| @callbacks = [] | |
| @snmp.addNotificationListener(@address, self) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8'?> | |
| <server xmlns='urn:jboss:domain:1.4'> | |
| <extensions> | |
| <extension module='org.jboss.as.clustering.infinispan'/> | |
| <extension module='org.jboss.as.connector'/> | |
| <extension module='org.jboss.as.deployment-scanner'/> | |
| <extension module='org.jboss.as.ee'/> | |
| <extension module='org.jboss.as.jmx'/> | |
| <extension module='org.jboss.as.logging'/> | |
| <extension module='org.jboss.as.messaging'/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'eventmachine' | |
| class EventTimer < EventMachine::Connection | |
| def receive_data(data) | |
| event_identifier = get_identifier_from(data) | |
| setup_timer_for(event_identifier) | |
| end | |
| def get_identifier_from(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ps-timer: count how much time processes are using during a task | |
| # Usage: | |
| # edit the $procs variable below to care about processes you want to watch | |
| # run ps-timer comand [command_arg1] [command_arg2]... | |
| # the output shows an estimate of the time each proces in the $procs list was running | |
| $@ & | |
| pid=$! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vim regex | |
| :%s/\([^ ]\+\)\.has_key(\(.\{-}\))/\2 in \1/g | |
| sed regex | |
| s/\([^ ]\+\)\.has_key(\([^)]*\))/\2 in \1/g | |
| And here is the string.method(object, ...) -> object.method(...) | |
| Specificlaly for string.replace(): | |
| Vim regex: | |
| %s/string\.replace(\(.\{-}\), /\1.replace(/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Awesome (the window manager) (10 mins) | |
| - general tiling window manager description, demonstration | |
| - not limited to just tiles (floating mode) | |
| - extremely keyboard friendly | |
| - extremely mouse friendly | |
| - extremely fast | |
| - extremely configurable | |
| Shell Tricks: Parameter Expansion (10 mins) | |
| - POSIX |
NewerOlder