As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| <?php | |
| $mongodb = new Mongo("mongodb://username:password@localhost/database_name"); | |
| $database = $mongodb->database_name; | |
| $collection = $database->collection; | |
| $page = isset($_GET['page']) ? (int) $_GET['page'] : 1; | |
| $limit = 12; | |
| $skip = ($page - 1) * $limit; | |
| $next = ($page + 1); | |
| $prev = ($page - 1); |
| /* Arduino USB Keyboard HID demo | |
| * Cut/Copy/Paste Keys | |
| */ | |
| #define KEY_LEFT_CTRL 0x01 | |
| #define KEY_LEFT_SHIFT 0x02 | |
| #define KEY_RIGHT_CTRL 0x10 | |
| #define KEY_RIGHT_SHIFT 0x20 | |
| uint8_t buf[8] = { |
| yum groupinstall "Development Tools" |
| # Add correct content-type for fonts | |
| AddType application/vnd.ms-fontobject .eot | |
| AddType font/ttf .ttf | |
| AddType font/otf .otf | |
| AddType font/x-woff .woff | |
| AddType image/svg+xml .svg | |
| # Compress compressible fonts | |
| AddOutputFilterByType DEFLATE font/ttf font/otf image/svg+xml |
| <!-- This is a Node+WebSocket powered demo to sync videos | |
| across different browsers. This file is the client, | |
| the other one is the Node server. Powered by Node and | |
| http://github.com/miksago/node-websocket-server --> | |
| <style> | |
| .inactive { display: none; } | |
| .active { display: block; } | |
| </style> | |
| <script> |