Skip to content

Instantly share code, notes, and snippets.

View luismendes070's full-sized avatar
🔍

Luis Mendes luismendes070

🔍
View GitHub Profile
-vm
C:\Program Files\OpenJDK\openjdk-8u262-b10\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1200.v20200508-1552
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
@luismendes070
luismendes070 / MINIKUBE_ENABLE
Last active February 20, 2021 01:10
Docker desktop fail Minikube fail
luism@DESKTOP-UJOT6VH MINGW64 /e/Users/luism/poligonosdemos (main)
$ minikube addons enable ingress
* After the addon is enabled, please run "minikube tunnel" and your ingress resources would be available at "127.0.0.1"
! Executing "docker container inspect minikube --format={{.State.Status}}" took an unusually long time: 18.8219995s
* Restarting the docker service may improve performance.
* Verifying ingress addon...
X Exiting due to MK_ENABLE: run callbacks: running callbacks: [waiting for app.kubernetes.io/name=ingress-nginx pods: timed out waiting for the condition]
*
* If the above advice does not help, please let us know:
@luismendes070
luismendes070 / tsc 2322
Created April 6, 2021 19:34
render props
(JSX attribute) position: number[]
O tipo '{ position: number[]; mymap: number[][]; mapData: number[][]; }' não pode ser atribuído ao tipo 'IntrinsicAttributes & IntrinsicClassAttributes<Tab1> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'.
A propriedade 'position' não existe no tipo 'IntrinsicAttributes & IntrinsicClassAttributes<Tab1> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'.ts(2322)
@luismendes070
luismendes070 / nogit
Created April 28, 2021 08:55
no git push no git auth no git token no git log 2.25.1
> git push origin main
Missing or invalid credentials.
Error: socket hang up
at connResetException (internal/errors.js:610:14)
at Socket.socketOnEnd (_http_client.js:453:23)
at Socket.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'ECONNRESET'
}
Cloning into 'C:\Users\luism\poligonosdemos'...
remote: Enumerating objects: 25338, done.
remote: Counting objects: 100% (1385/1385), done.
remote: Compressing objects: 100% (879/879), done.
Receiving objects: 100% (25338/25338), 729.91 MiB | 239.00 KiB/s, done.
remote: Total 25338 (delta 487), reused 1231 (delta 431), pack-reused 23953
Resolving deltas: 100% (6173/6173), done.
error: invalid path 'packages/pwa_ionic_react_poligonosapp/src/"msw/node".d.ts'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
MINGW64 ~/poligonosdemos/packages/poligonos_gallery (main)
$ npx ionic serve
npx: installed 233 in 130.277s
> ng.cmd run app:serve --host=localhost --port=8100
[ng] - Generating browser application bundles...
[ng] √ Browser application bundle generation complete.
[ng] Initial Chunk Files | Names | Size
[ng] main.js | main | 0 bytes
[ng] polyfills.js | polyfills | 0 bytes
[ng] runtime.js | runtime | 0 bytes
npx ionic doctor treat
[WARN] For best results, please make sure you're logged in to Ionic.
Some issues can't be detected without authentication. Run:
ionic login
√ Detecting issues: 9 / 9 complete in 1.94s
[WARN] The Ionic CLI is installed locally.
@luismendes070
luismendes070 / heroku-git-fail
Created June 3, 2021 00:29
git psuh failing
git push heroku main
Uploading LFS objects: 0% (0/101), 0 B | 0 B/s, done.
batch response: Repository or object not found: https://git.heroku.com/poligonosapp.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
batch response: Repository or object not found: https://git.heroku.com/poligonosapp.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
batch response: Repository or object not found: https://git.heroku.com/poligonosapp.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
error: failed to push some refs to 'https://git.heroku.com/poligonosapp.git'
@luismendes070
luismendes070 / github-desktop-lernajs-ionic-karma-angula12
Created June 3, 2021 07:23
github-desktop-lernajs-ionic-karma-angular12
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: packages/poligonosapp_consumer (modified content, untracked content)
modified: packages/pwa-play-billing (modified content, untracked content)
@luismendes070
luismendes070 / apollo-angular
Created June 6, 2021 06:47
npm run start // ionic type angular
am Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" run start --scripts-prepend-node-path=auto
Debugger listening on ws://127.0.0.1:59936/27411b5e-fee3-4f27-a5f2-69b94bae2c39
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
(node:12160) [INSPECTOR_ASYNC_STACK_TRACES_NOT_AVAILABLE] Warning: Warning: Async stack traces in debugger are not avail
able on 32bit platforms. The feature is disabled.
(Use `node --trace-warnings ...` to show where the warning was created)
> @poligonosdemos/poligonosapp_consumer@1.8.7 start C:\Users\luism\poligonosdemos\packages\poligonosapp_consumer
> ng serve
Debugger listening on ws://127.0.0.1:63821/f02bd532-99ce-4a50-834e-2465779f154f