Skip to content

Instantly share code, notes, and snippets.

View CarlosDanielDev's full-sized avatar
:octocat:
debugging

Carlos Daniel CarlosDanielDev

:octocat:
debugging
View GitHub Profile
#import "AppDelegate.h"
#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
## SÓ CONSEGUI COPIAR A PARTIR DAQUI
er/Xcode/DerivedData/PrimepassApp-gqbavcsjwvqquugfcyfocrjltpde/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap -fmodule-map-file\=/Users/carlosdaniel/Daniel/work/primepass-app/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DDEBUG\=1 -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -include /Users/carlosdaniel/Daniel/work/primepass-app/ios/Pods/Target\ Support\ Files/FlipperKit/FlipperKit-prefix.pch -MMD -MT dependencies -MF /Users/carlosdaniel/Library/Developer/Xcode/DerivedData/PrimepassApp-gqbavcsjwvqquugfcyfocrjltpde/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit.build/Objects-normal/x86_64/FKPortForwardingServer.d --serialize-diagnostics /Users/carlosdaniel/Library/Developer/Xcode/DerivedData/PrimepassApp-gqbavcsjwvqquugfcyfocrjltpde/Bu
const TextInput: StyledComponent<typeof TextInput, DefaultTheme, TextInputProp, never>
No overload matches this call.
Overload 1 of 2, '(props: Pick<Pick<TextInputProps & RefAttributes<TextInput> & TextInputProp, "allowFontScaling" | "autoCapitalize" | ... 109 more ... | "key"> & Partial<...>, "allowFontScaling" | ... 110 more ... | "key"> & { ...; } & { ...; } & { ...; }): ReactElement<...>', gave the following error.
Type '{ allowFontScaling?: boolean | undefined; autoCapitalize?: "none" | "sentences" | "words" | "characters" | undefined; autoCorrect?: boolean | undefined; autoFocus?: boolean | undefined; ... 107 more ...; error: string | undefined; }' is not assignable to type 'Pick<Pick<TextInputProps & RefAttributes<TextInput> & TextInputProp, "allowFontScaling" | "autoCapitalize" | "autoCorrect" | ... 108 more ... | "key"> & Partial<...>, "allowFontScaling" | ... 110 more ... | "key">'.
Types of property 'placeholderTextColor' are incompatible.
Type 'string | unique symbol | undefine
yarn run v1.22.4
$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1106 file(s) to forward-jetify. Using 4 workers...
info JS server already running.
info Installing the app...
> Task :react-native-gesture-handler:compileDebugJavaWithJavac
> Task :react-native-community_async-storage:compileDebugJavaWithJavac
module.exports = {
env: {
es6: true,
node: true,
},
extends: [
'airbnb-base',
'prettier'
],
plugins: ['prettier'],
{
"error":{
"name":"MongoNetworkError",
"errorLabels":[
"TransientTransactionError"
]
},
"level":"error",
"message":"uncaughtException: failed to connect to server [127.0.0.1:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127
.0.0.1:27017]\nError: failed to connect to server [127.0.0.1:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]\n at Pool.<anonymous> (/opt/meteor/dist/bundle/programs/server/npm/node_modules/meteor/np
@CarlosDanielDev
CarlosDanielDev / _README.md
Created July 22, 2019 13:32 — forked from mojoaxel/_README.md
node.js script to install the latest version of zeit/hyper using the debian package

This skript downloads and installs the most recent version of Hyper using last DEP package for linux.

Setup

git clone https://gist.github.com/mojoaxel/4fa8947905472818a72a97c113b535ae update-hyper
cd update-hyper
npm install

Update Hyper

sudo react-native run-android
info Starting JS server...
info Installing the app...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/daniel/Daniel/app_beer/Beta/android/local.properties'.
import React from 'react'
export default class JsonToCsv extends React.Component{
// função que faz Download do Arquivo .csv
download(data){
const blob = new Blob([data], {type: 'text/csv'})
// console.log(blob)
const url = URL.createObjectURL(blob)
const a = document.createElement('a')
a.setAttribute('hidden', '')
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i', '--save', 'node-sass' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 1e7ad1293dfec754
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/node-sass 25ms (from cache)
8 silly pacote tag manifest for node-sass@latest fetched in 39ms
9 timing stage:loadCurrentTree Completed in 5013ms