This file contains 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
export const random = (min, max) => Math.floor(Math.random() * (max - min)) + min; | |
/* https://www.joshwcomeau.com/snippets/react-hooks/use-random-interval */ | |
export const useRandomInterval = (callback, minDelay, maxDelay) => { | |
const timeoutId = React.useRef(null); | |
const savedCallback = React.useRef(callback); | |
React.useEffect(() => { | |
savedCallback.current = callback; | |
}, [callback]); | |
React.useEffect(() => { |
This file contains 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
vim afile # Open a file | |
^w v # split it | |
gg # go to top | |
:set scrollbind # bind this one | |
^w l # go to the new split | |
L # go to bottom of this split | |
zt # make it the top line | |
:set scrollbind # bind with this one |
This file contains 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
sudo openvpn --config client.ovpn ~/Navent | |
[sudo] contraseña para flopez: | |
Tue Oct 5 09:48:07 2021 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 27 2021 | |
Tue Oct 5 09:48:07 2021 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10 | |
Enter Auth Username: flopez | |
Enter Auth Password: ************* | |
Tue Oct 5 09:48:17 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead. | |
Tue Oct 5 09:48:17 2021 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication | |
Tue Oct 5 09:48:17 2021 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication | |
Tue Oct 5 09:48:18 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]34.73.65.127:1194 |
This file contains 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
const unitsSummary = { | |
1: { | |
1: { | |
2: { | |
title: "Casas", | |
subtitle: "En venta 1 unidades", | |
unitsData: [ | |
{ | |
url: "/propiedades/modelo-caoba-2-habitaciones-62327046.html", | |
bathrooms: "2 Baños", |
This file contains 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
const graphData = { | |
nodes: [ | |
{id:1, name:'Facu'}, | |
{id:2, name:'Cari'}, | |
{id:3, name:'Fran'}, | |
{id:4, name:'Martina'} | |
], | |
links: [ | |
{source:1, target:2}, | |
{source:3, target:2}, |
This file contains 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
{ | |
"postingId": "48975430", | |
"postingCode": "DBU40780", | |
"title": "Alberti 1159", | |
"generatedTitle": "Desarrollo vertical", | |
"description": "EDIFICIO ALBERTI - Monseñor Alberti 1159, San Isidro.Edificio a estrenar con semipisos de 2 y 3 ambientes con COCHERA incluida, ubicada a dos cuadras de avenida Centenario, a pocas cuadras de la plaza Castiglia, rodeada de todo tipo de comercios, lineas de colectivo y cercano a la estación de tren de San Isidro.Los semipisos de 3 ambientes cuentan con un living comedor con salida a un balcón con parrilla, cocina independiente, sector de lavadero, un dormitorio en suite y un segundo dormitorio y un segundo baño.Los semipisos de 2 ambientes cuentan con un amplio living comedor en \"L\" con salida a un increíble balcón de 9 m2 con parrilla, cocina independiente, sector de lavadero, un dormitorio en suite y un segundo baño.Todas las unidades poseen interiores de placard colocados, calefaccion por caldera dual individual, preinstalacion para aire tipo split y p |
This file contains 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
master ./gradlew bootRun -x checkstyleMain -x checkstyleTest -x test realestate-portal-ficha | |
> Task :compileJava | |
Errors occurred while build effective model from /home/flopez/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.16/88efb1b8d3d993fe339e9e2b201c75eed57d4c65/log4j-1.2.16.pom: | |
'build.plugins.plugin[io.spring.gradle.dependencymanagement.org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.scope' for junit:junit:jar must be one of [compile, runtime, system] but is 'test'. in log4j:log4j:1.2.16 | |
warning: The following options were not recognized by any processor: '[mapstruct.defaultComponentModel]' | |
Note: Some input files use or override a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
Note: Some input files use unchecked or unsafe operations. | |
Note: Recompile with -Xlint:unchecked for details. |
This file contains 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
{ | |
"errors": [ | |
"./src/main/resources/js/app-index.js\nModule build failed (from ./node_modules/babel-loader/lib/index.js):\nRangeError: /home/flopez/Navent/projects/realestate-portal-ficha/src/main/resources/js/app-index.js: Maximum call stack size exceeded\n at /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/@ampproject/remapping/dist/remapping.umd.js:211:25\n at Array.map (<anonymous>)\n at build (/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/@ampproject/remapping/dist/remapping.umd.js:206:42)\n at /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/@ampproject/remapping/dist/remapping.umd.js:230:20\n at Array.map (<anonymous>)\n at build (/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/@ampproject/remapping/dist/remapping.umd.js:206:42)\n at /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/@ampproject/remapping/dist/remapping.umd.js:230:20\n at Array.map (<anonymous>)\n at build (/home/flo |
This file contains 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
master npm run buildFront realestate-portal-ficha | |
> realestate-portal-ficha@1.0.0 buildFront /home/flopez/Navent/projects/realestate-portal-ficha | |
> npm run rp-fc && webpack --mode development --config=webpack.local.js | |
npm WARN invalid config loglevel="notice" | |
> realestate-portal-ficha@1.0.0 rp-fc /home/flopez/Navent/projects/realestate-portal-ficha | |
> npm run dist --prefix node_modules/rp-frontend-components |
OlderNewer