It assumes the highest positive signed 32-bit float value for numbers.
In other words, 2147483647 (or 0x7FFFFFFF or 2^31-1).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| OPENMONO_DIR="${OPENMONO_DIR:-$HOME/openmono.ai}" | |
| COMPOSE_FILE="${COMPOSE_FILE:-$OPENMONO_DIR/docker/docker-compose.override.yml}" | |
| BACKUP_DIR="${BACKUP_DIR:-$OPENMONO_DIR/docker/.openmono-tune-backups}" | |
| DRY_RUN=0 | |
| RESTART=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE User ( | |
| id SERIAL PRIMARY KEY, | |
| name VARCHAR(255), | |
| email VARCHAR(255) UNIQUE, | |
| password VARCHAR(255), | |
| created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | |
| updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP | |
| ); | |
| CREATE OR REPLACE FUNCTION CreateUser(p_name VARCHAR(255), p_email VARCHAR(255), p_password VARCHAR(255)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE User ( | |
| id INT PRIMARY KEY, | |
| name VARCHAR(255), | |
| email VARCHAR(255) UNIQUE, | |
| password VARCHAR(255), | |
| created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | |
| updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP | |
| ); | |
| DELIMITER $$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE User ( | |
| id INT PRIMARY KEY, | |
| name VARCHAR(255), | |
| email VARCHAR(255) UNIQUE, | |
| password VARCHAR(255), | |
| created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | |
| updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Convert a multi-dimensional array into a single-dimensional array. | |
| * @author Sean Cannon, LitmusBox.com | seanc@litmusbox.com | |
| * @param array $array The multi-dimensional array. | |
| * @return array | |
| */ | |
| function array_flatten($array) { | |
| if (!is_array($array)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| # The ServerName directive sets the request scheme, hostname and port that | |
| # the server uses to identify itself. This is used when creating | |
| # redirection URLs. In the context of virtual hosts, the ServerName | |
| # specifies what hostname must appear in the request's Host: header to | |
| # match this virtual host. For the default virtual host (this file) this | |
| # value is not decisive as it is used as a last resort host regardless. | |
| # However, you must set it for any further virtual host explicitly. | |
| #ServerName www.example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "compilerOptions": { | |
| // project options | |
| "lib": [ | |
| "ESNext", | |
| "dom" | |
| ], // specifies which default set of type definitions to use ("DOM", "ES6", etc) | |
| "outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory., | |
| "removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space | |
| "target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Package gochannels example of how to close a channel written by several goroutines | |
| package gochannels | |
| import ( | |
| "math/big" | |
| "sync" | |
| ) | |
| // Publisher write sequences of big.Int into a channel | |
| type Publisher struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this worked very nice for a single page site | |
| ``` | |
| wget \ | |
| --recursive \ | |
| --page-requisites \ | |
| --convert-links \ | |
| [website] | |
| ``` | |
| wget options |
NewerOlder