alepharchives / nginx_circle_gif Goto Github PK
View Code? Open in Web Editor NEWThis project forked from evanmiller/nginx_circle_gif
Serve 68,000 round corners per second
Home Page: http://wiki.nginx.org/NginxHttpCircleGifModule
This project forked from evanmiller/nginx_circle_gif
Serve 68,000 round corners per second
Home Page: http://wiki.nginx.org/NginxHttpCircleGifModule
Notes on the circle_gif module --- To install, compile nginx with this ./configure option: --add-module=path/to/this/directory You must have the ImageMagick development headers for it to work. The circle_gif module generates simple circle images with the colors and size specified in the URL. The images are served quickly, much faster than if they had been read from disk. The module was made to help web designers change the colors of their "round corners" without having to fire up PhotoShop. To enable the circles, add a "circle_gif;" directive to the location where you want them. My nginx.conf has this: location /circles { circle_gif; } After that, the circles will be accessible like this: /circles/<background color>/<foreground color>/<size>.gif Background and foreground color are 24-bit hex colors, e.g. "ffffff" is white and "000000" is black. Size is the radius of the circle in pixels. This generates a black on white circle of radius 20: /circles/ffffff/000000/20.gif By default, only even-numbered radii between 10 and 20 are allowed. To change this, you can use the directives "circle_min_radius" (default 10), "circle_max_radius" (default 20), and "circle_step_radius" (default 2). Note that an image for each radius is created at server startup and kept in memory, so adding more circle sizes will slow server startup and use (a very small amount of) RAM. --Evan Miller [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.