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
| # gem install mechanize | |
| require 'mechanize' | |
| class Download | |
| def initialize(site, email, pass) | |
| @options = {site: site, email: email, pass: pass} | |
| end | |
| def call |
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 | |
| # ISC License | |
| # Copyright (c) 2026 Alexandre Gomes Gaigalas <alganet@gmail.com> | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpg| description | Generate a problem-focused summary of the current implementation work | |
|---|---|---|
| argument-hint |
|
|
| allowed-tools | Read(./**), Write(./.strategic-claude-basic/summary/**), Bash(git:*, date:*, grep:*), Glob | |
| model | claude-opus-4-1 |
You are tasked with creating implementation summaries that focus on problems, incomplete work, and outstanding issues from the current work session. You should be problem-focused, session-scoped, and work only with uncommitted changes and current context.
Plan reference (optional): $1
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
| defmodule RequestHelper do | |
| @moduledoc """ | |
| Reference from https://gist.github.com/avdi/7990684 | |
| Stream download large file from url | |
| """ | |
| require Logger | |
| @doc """ | |
| Get stream data from url | |
| mode could be `:binary` or `:line` |
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
| defmodule Task do | |
| defp await_one(tasks, timeout \\ 5_000) when is_list(tasks) do | |
| awaiting = | |
| Map.new(tasks, fn %Task{ref: ref, owner: owner} = task -> | |
| if owner != self() do | |
| raise ArgumentError, invalid_owner_error(task) | |
| end | |
| {ref, true} | |
| end) |
NewerOlder