I hereby claim:
- I am ostico on github.
- I am ostico (https://keybase.io/ostico) on keybase.
- I have a public key ASBfbyMT0Msc0514ycsCd1gMb-kfWTDNyP-_MeB8nJ75ygo
To claim this, I am signing this object:
| <?php | |
| /** | |
| * @author Domenico Lupinetti ostico@gmail.com | |
| * Date: 11/04/16 | |
| * Time: 19.52 | |
| * | |
| * The try block is executed but the comparison are made on Exporter::toArray() | |
| * and if the object has no properties $expected and $actual are equals but refers to two different instances | |
| * ( tried with PDO as example ) | |
| * |
| <?php | |
| /** | |
| * Get the char code from a multi byte char | |
| * | |
| * 2/3 times faster than the old implementation | |
| * | |
| * @param $mb_char string Unicode Multibyte Char String | |
| * | |
| * @return int |
I hereby claim:
To claim this, I am signing this object:
| # maximum capability of system | |
| user@ubuntu:~$ cat /proc/sys/fs/file-max | |
| 708444 | |
| # If this limit is too low, you can increase the available limit to say 200000 | |
| user@ubuntu:~$ sudo vim /etc/sysctl.conf | |
| # add the following line to it | |
| fs.file-max = 200000 |
| #!/bin/bash | |
| # | |
| # copy this into /etc/profile.d/instance-name-tag.sh | |
| # | |
| # you will need: | |
| # - curl, jq, and aws cli installed | |
| # - an IAM role that gives the EC2 instance access to describe tags | |
| # |
| #!/bin/bash | |
| ps -ylC apache2 --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}' |
OpenCode + Signet Memory + Oh-My-OpenAgent + Local MCP Tooling
Target: Ubuntu 24.04 LTS (or any Debian-based Linux) / macOS 14+ (Sonoma/Sequoia)
Windows: via WSL recommended — see Windows appendix for native
Audience: Junior developers comfortable with the terminal
Time: ~30 minutes
Tested versions: Node 22, OpenCode 1.4.22, Oh-My-OpenAgent 3.17.5, Signet 0.108.0, uv 0.11.1, Python 3.13
Back up your AI-assisted development environment and restore it on a fresh machine
Prerequisite: The target machine must have completed developer-workstation-setup.md before restoring
Target: Ubuntu 24.04 LTS / macOS 14+ (same platforms as the setup recipe)
Time: ~5 minutes backup, ~10 minutes restore
Tested with: Signet 0.98.7, OpenCode 1.4.3, Oh-My-OpenAgent 3.12.3