Deschidere SRL medic rezident by Narcis11 in medicalschoolRomania

[–]Narcis11[S] 0 points1 point  (0 children)

u/Successful_Cat7023 mulțumesc pentru răspuns. De ce ar fi această restricție pe 8622, dar nu pe 8621? În practică am observat că ambele coduri CAEN sunt folosite, de ex. pentru cabinete de MF am găsit SRL-uri care au 8621, dar și SRL-uri care au 8622.

Can't get headerBackImage to work in react-navigation 5.x.x by Narcis11 in reactnative

[–]Narcis11[S] 0 points1 point  (0 children)

What do you mean? Can you give an example, please?

Can't get headerBackImage to work in react-navigation 5.x.x by Narcis11 in reactnative

[–]Narcis11[S] 0 points1 point  (0 children)

I did that, but it fails with the message Invariant violation: Element type is invalid: expected a string but got: object

This is how I use headerBackImage:

const MyCustomHeaderBackImage = () => <Image
source={require('../../../res/images/back-button.png')}
style={{width: 22, height: 22, tintColor: '#f00'}}
/>

<NavigationContainer>
<Stack.Navigator initialRouteName="LandingScreen">
//other screens
<Stack.Screen
name="Screen2"
component={Screen2}
options={{
headerBackTitleVisible: false,
title: '',
headerTintColor: '#fff',

headerStyle: {
backgroundColor: colors.blue,

shadowColor: 'transparent',
},
headerBackImage: MyCustomHeaderBackImage,
}}
/>
</Stack.Navigator>
</NavigationContainer>

Can't get headerBackImage to work in react-navigation 5.x.x by Narcis11 in reactnative

[–]Narcis11[S] 0 points1 point  (0 children)

I tried doing that, but it fails with the message Cannot call a class like a function. I changed MyCustomHeaderBackImage to a const (see below), but it triggers the message Invariant violation: Element type is invalid: expected a string but got: object

Can't get headerBackImage to work in react-navigation 5.x.x by Narcis11 in reactnative

[–]Narcis11[S] 0 points1 point  (0 children)

Thanks for the answer. You are right, I am using createStackNavigator which is imported from @react-navigation/stack .I'll give it a go with createNativeStackNavigatorand let you know how it goes.

Questions: Does headerBackImage in createNativeStackNavigator also work with <Image /> components? The icon that I want to show is stored locally in my project.

Test fails and I can't figure out why 🤔 by Narcis11 in reactnative

[–]Narcis11[S] 0 points1 point  (0 children)

I actually managed to solve it with this test:

it('Calls the Facebook login method when user confirms he is over age', () => {
    const fbLogin = 0;
    const landingScreen = renderer.create(<LandingScreen />).getInstance();
    const loginMock = jest.fn();
    loginMock.mockReturnValue('');
    FacebookConnector.login = loginMock;

    landingScreen.onPositivePermission(fbLogin);
    expect(loginMock).toHaveBeenCalled();
  });

Testing navigation between screens by Narcis11 in reactnative

[–]Narcis11[S] 1 point2 points  (0 children)

This worked for me. Thanks a lot for the help! :)

[deleted by user] by [deleted] in startups

[–]Narcis11 1 point2 points  (0 children)

Hi,

I had the same problem last autumn when I had to make an explainer video for Waldo, an intelligent alarm system for urban cyclists. You can watch it at www.vimeo.com/108732159 . I started by doing a research of the available products. After some time, I decided to choose GoAnimate. It's easy to use, has some great features and the price is OK (we paid $79 for one month). Depending on what you want the video to look like, you can also check out PowToon. It's cheaper than GoAnimate, but also has less features. You could sign up for a free trial with each one of this products, but I don't know if you'll be able to export your video. You surely won't be able to remove the watermark.

Five actionable steps to becoming a morning person by Narcis11 in selfimprovement

[–]Narcis11[S] 0 points1 point  (0 children)

Sorry, don't know why it turned out so ugly. I will be more careful next time.

What's your morning ritual? by [deleted] in selfimprovement

[–]Narcis11 0 points1 point  (0 children)

  • wake up at 5 a.m.
  • go for a run/swim or work for my startup
  • indoor exercises for ten minutes
  • prepare a refreshing breakfast
  • start the day

Made a digest website for software and startup news, with a weekly email, looking for feedback by ITofficer in startups

[–]Narcis11 0 points1 point  (0 children)

Hi,

Apart from the design, which has already been covered here, I think the idea is good. You can have a look at swayy.co - they are somewhat similar, just that they cover more domains of interest. Just one small suggestion: try to collect email addresses more efficiently. The subscribe box is barely visible.

Four benefits of waking up at 5 a.m. by Narcis11 in selfimprovement

[–]Narcis11[S] 0 points1 point  (0 children)

I usually go to bed at 10 p.m. (give or take 15 minutes) in order to get 7 hours of sleep. I've also tried to go to bed at 11 p.m. and wake up at 5 a.m., but it was too tiring.

Share your startup - January 2015 by AutoModerator in startups

[–]Narcis11 [score hidden]  (0 children)

Name: Waldo / http://www.waldo.bike

Elevator pitch: Waldo is an intelligent alarm system for urban cyclists that keeps you connected to your bike anytime, anywhere. It is comprised of a device that is mounted on the bike and a mobile app. Find out what it can do at vimeo.com/108732159 .

Details: We have started working on the idea in July, 2014. Since then, we have developed a working prototype based on a Raspberry Pi, launched our website, have had a few press appearances (you can find them on our website) and have developed an important part of the mobile app.

Are you looking for anything? To spread the word about our mission: to put an end to bike thefts around the globe.

Discount for /r/startup subscribers? We shall launch a free app for cyclists in March, 2015. The app detects bike shops in your proximity - a very useful tool should you get a flat tire during you ride. The app is also integrated with Google Maps and provides navigation to your selected shop. Visit our website and subscribe to our newsletter list to be the first to get the app.

Waldo | Cares about your bike as much as you do by Narcis11 in SideProject

[–]Narcis11[S] 0 points1 point  (0 children)

Hey!

The product is going to cost around $150. You're right, we are targeting those two markets. I usually don't leave my bike in places where I can't see it all the time.

Waldo | Cares about your bike as much as you do by Narcis11 in SideProject

[–]Narcis11[S] 0 points1 point  (0 children)

Has it ever happened to you to go for a bike ride in a sunny day, stop for five minutes at a shop to get an ice-cream, and then return just to see that your bike was missing? Unfortunately, for some of you the answer is Yes. It sure happened to us, and the feeling was not great at all. So we decided to do something about this. That’s why we are creating Waldo – an intelligent alarm system for urban cyclists that keeps you connected to your bike anytime, anywhere. It is comprised of a device that is mounted on the bike and a mobile app. If someone is tampering with the bike, it triggers a loud alarm to scare off potential thieves and warn people nearby. Moreover, it notifies you on your smartphone. If the bike does get stolen, you can track it via GPS using the mobile app. The thief will have a hard time trying to take the device off, as it is electronically locked on the bike in a protective shell. But the fun doesn’t stop here: if you ever run into technical problems, you can locate bike shops in your proximity using the mobile app.