id,name,email
1,luis,luis@gmail.com
2,juan,juan@gmail.com
[
{ id: "1", name: "luis", email: "luis@gmail.com"},
{ id: "2", name: "juan", email: "juan@gmail.com"}
// 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,luis@gmail.com
2,juan,juan@gmail.com
[
{ id: "1", name: "luis", email: "luis@gmail.com"},
{ id: "2", name: "juan", email: "juan@gmail.com"}
Private Sub Worksheet_Change(ByVal Target As Range) | |
Dim KeyCells As Range | |
' The variable KeyCells contains the cells that will | |
' cause an alert when they are changed. | |
Set KeyCells = Range("A1:C10") | |
If Not Application.Intersect(KeyCells, Range(Target.Address)) _ | |
Is Nothing Then |
Nombre empresa: Webdox
Puesto Ofrecido: Desarrollador Full-Stack
Perfil Requerido:
Buscamos desarrolladores Web que cumplan con los sgtes requisitos:
1. add to gemfile: | |
gem 'hirb' | |
2. run bundle command | |
3. open the rails console | |
4. input: require 'hirb' | |
5. Enable the use of hirb on rails console: Hirb.enable |
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) | |
} |