Follow
- Option 1: Running docker comamnds https://getkong.org/install/docker/
- Option 2: Using docker-compose https://github.com/Kong/docker-kong/tree/master/compose
| // ==UserScript== | |
| // @name Suno Aligned Words Fetcher with Auth | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description Fetch aligned words with auth and add a button under the image on Suno pages. | |
| // @author Your Name | |
| // @match https://suno.com/song/* | |
| // @grant none | |
| // ==/UserScript== |
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| import java.awt.EventQueue; | |
| import java.io.*; | |
| import java.math.BigInteger; | |
| import java.util.ArrayList; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| /** | |
| * Quick and dirty implementation of the RSA algorithm |
| <?php | |
| /** | |
| * Super-simple AWS CloudFront Invalidation Script | |
| * | |
| * Steps: | |
| * 1. Set your AWS access_key | |
| * 2. Set your AWS secret_key | |
| * 3. Set your CloudFront Distribution ID | |
| * 4. Define the batch of paths to invalidate | |
| * 5. Run it on the command-line with: php cf-invalidate.php |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| // by Erik Wrenholt | |
| import java.util.*; | |
| class Mandelbrot | |
| { | |
| static int BAILOUT = 16; | |
| static int MAX_ITERATIONS = 1000; | |
| private static int iterate(float x, float y) | |
| { |
Follow
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns | |
| Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
| Read 1 MB sequentially from memory 250,000 ns 0.25 ms | |
| Round trip within same datacenter 500,000 ns 0.5 ms | |
| Read 1 MB sequentially from SSD 1,000,000 ns 1 ms 4X memory |
0.5 ns5 ns (on a bad CPU architecture you're pretty much screwed)7 ns25 ns100 ns3,000 ns20,000 ns250,000 ns| <?php | |
| /** | |
| * ---------------------------------------------------------------------------------------- | |
| * Based on `https://github.com/mecha-cms/mecha-cms/blob/master/engine/plug/converter.php` | |
| * ---------------------------------------------------------------------------------------- | |
| */ | |