This will start a Claude Code session, so you can optmize the 5 hour token limit window. It will start at the scheduled time or as soon as you log in to your machine.
Tested on Ubuntu 24.04 with nvm.
Create the 2 files from this gist in:
This will start a Claude Code session, so you can optmize the 5 hour token limit window. It will start at the scheduled time or as soon as you log in to your machine.
Tested on Ubuntu 24.04 with nvm.
Create the 2 files from this gist in:
| <?php | |
| $start = microtime(true); | |
| define('MEMCACHED_HOST', '127.0.0.1'); | |
| define('MEMCACHED_PORT', '11211'); | |
| // Connection creation | |
| $memcache = new Memcache; | |
| $cacheAvailable = $memcache->connect(MEMCACHED_HOST, MEMCACHED_PORT); | |
| // init var | |
| $dummyArray = null; |
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |
| alert("Hello World!"); |