- Install it with Ruby Managers like asdf or rvm
- every time you run a command use jruby -S before
Memory Analysis
MRI Ruby (3 processes):
- Total: ~458MB (225.9 + 202.6 + 29.4)
- Multiple Ruby processes
| // npm install imagemagick | |
| const fs = require('fs'); | |
| const { exec } = require('child_process'); | |
| // Function to compress PNG using ImageMagick | |
| function compressPNG(inputFile, outputFile, quality = 80) { | |
| const command = `convert ${inputFile} -quality ${quality} ${outputFile}`; | |
| exec(command, (error, stdout, stderr) => { |
| import * as cdk from 'aws-cdk-lib'; | |
| import { CfnOutput } from 'aws-cdk-lib'; | |
| import { Bucket, CfnBucket } from 'aws-cdk-lib/aws-s3'; | |
| import { Construct } from 'constructs'; | |
| class L3Bucket extends Construct { | |
| constructor(scope: Construct, id: string, expiration: number){ | |
| super(scope, id); | |
| new Bucket(this, id, { |
| { | |
| "workbench.colorCustomizations": { | |
| "editorUnnecessaryCode.border": "red" | |
| } | |
| } |
id,name,email
1,luis,[email protected]
2,juan,[email protected]
[
{ id: "1", name: "luis", email: "[email protected]"},
{ id: "2", name: "juan", email: "[email protected]"}Nombre empresa: Webdox
Puesto Ofrecido: Desarrollador Full-Stack
Perfil Requerido:
Buscamos desarrolladores Web que cumplan con los sgtes requisitos:
Easy steps for CPU profiling a Rails app
| var chunkedUrl = 'https://jigsaw.w3.org/HTTP/ChunkedScript'; | |
| fetch(chunkedUrl) | |
| .then(processChunkedResponse) | |
| .then(onChunkedResponseComplete) | |
| .catch(onChunkedResponseError) | |
| ; | |
| function onChunkedResponseComplete(result) { | |
| console.log('all done!', result) | |
| } |
| <html> | |
| <body> | |
| <h2>Privacy Policy</h2> | |
| <p>ICI-Santiago built the Gedeon app as a open source app. This SERVICE is provided by ICI-Santiago at no cost and is intended | |
| for use as is.</p> | |
| <p>This page is used to inform website visitors regarding our policies with the collection, use, and | |
| disclosure of Personal Information if anyone decided to use our Service.</p> | |
| <p>If you choose to use our Service, then you agree to the collection and use of information in | |
| relation with this policy. The Personal Information that we collect are used for providing and | |
| improving the Service. We will not use or share your information with anyone except as described |