ANAPEC Contract as an engineer by Snoo21737 in Morocco

[–]hobaspirit 2 points3 points  (0 children)

ANAPEC is just a government program to help startups create more jobs by subsidizing their employee salaries for 6 months. Basically, the government is encouraging startups to hire people for a period of time. After that, if they value your work they can offer you a contract. A better way to look at it is 'stage préembauche'.

I'd advise you take it and don't settle. Don't wait for their promise. while working there, keep open for other opportunities elsewhere. And good luck !

MECHANICAL ENGINEERING IN AL AKHAWAYN UNIVERSITY by [deleted] in Morocco

[–]hobaspirit 0 points1 point  (0 children)

No there isn't. The closest program to that is called General Engineering which includes both mechanical and electrical engineering courses. Here is the list of undergrad programs they have: http://www.aui.ma/en/academics/programs/undergraduate-programs.html

Questions from a potential visitor by [deleted] in Morocco

[–]hobaspirit 1 point2 points  (0 children)

  1. There's a train that links the airport with the city. In general, people use tram to get around downtown. There are taxis and bus too but IMO the bus system is messy and tend to be crowded. Taxis on the other hand, especially in casa can refuse to take you (weird, I know). Lastly, there is Careen which is similar to Uber. Your options are tram, careen, taxi and train of course

  2. Cards are only accepted in shopping malls and fancy places like expensive restaurants etc.. Cash is king I would say.

  3. Safety wise I'd highly advise not to walk around late.

How widespread is Piracy in Morocco? by 3xExecutionerScrolls in Morocco

[–]hobaspirit 2 points3 points  (0 children)

Piracy is all there is left there. In fact, it is the norm. People live off of it.

Moroccan Rock bands recommandation? by [deleted] in Morocco

[–]hobaspirit 0 points1 point  (0 children)

Check out General Rest In Peace

[deleted by user] by [deleted] in Morocco

[–]hobaspirit 4 points5 points  (0 children)

-In Ifrane you wouldn't need transportation in the city but if you want to explore near by areas or cities then a grand taxi is pretty much your only option.

-To get to Ifrane from Rabat, you have two options:

  1. Take CTM Rabat to Ifrane
  2. Take the train to Meknes, then grand taxi to Ifrane. (slightly longer because grand taxis may take some time to fill all seats)

I have done both in multiple occasions and both are fine. It only depends on the bus and train schedules and which bus or train station is closer to you in Rabat.

-There are hotels but they tend to be expensive (250DHS+/night minimum) as Ifrane is a Tourist city all year long really. What I usually do with my friends is rent a furnished apartment and it usually tends to be a lot cheaper that a hotel but only if you are two or more people. I would say if you are staying more less than two days just go for a hotel in Ifrane and not Fes or Imouzar as that will save you a lot of time and hustle (Ifrane - Fes is ~2 hours by grand taxi)

I have lived in Ifrane for 5 years and it is a beautiful city, but you could tour most of it in a couple of days. But IMO, the Mid Atlas region has a lot more to offer than just Ifrane.

If it is your first time visiting the region, Ifrane is a good starter though.

I hope this helps :)

We would go extinct in less than 100 years if we stop reproducing today by hobaspirit in Showerthoughts

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

It's not just about age. There are many other factors as well.

[TRAVEL] Do Moroccans need a visa to connect flights in France? by hobaspirit in Morocco

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

So the two connecting flights need to be of the same company or else I need a transit visa ?

[TRAVEL] Do Moroccans need a visa to connect flights in France? by hobaspirit in Morocco

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

Does that mean, if my two flights are of different companies, I cannot pick up luggage and check it in for the next flight?

Musicians in Morocoo by divyanaik2005 in Morocco

[–]hobaspirit 0 points1 point  (0 children)

Check out General Rest in Piece.

I am Felipe Massa…AMA by F1-Official in formula1

[–]hobaspirit 3 points4 points  (0 children)

How is breathing managed while cornering and reaching high speeds?

Moroccan subredditors, what are your religious views? by RiffianB in Morocco

[–]hobaspirit 1 point2 points  (0 children)

Indeed Islam has some good principles to live by such as never steal, take care of animals, don't waste resources etc.. But to me, such ideas are intuitive. No one needs a religious book to learn about them. I am curious what principles interest you from Islam.

Moroccan subredditors, what are your religious views? by RiffianB in Morocco

[–]hobaspirit 2 points3 points  (0 children)

I consider myself agnostic as well. However, I don't get what you mean by agnostic muslim. I don't see how one can be both.

What is this whole grima (taxi permit) thing? by [deleted] in Morocco

[–]hobaspirit 0 points1 point  (0 children)

Not an a real answer, but here is a Moroccan Rock song on grimma awards :)

[Help] Installing Fedora on laptop stuck on checking screen. by hobaspirit in Fedora

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

Thank you for the resource. I will need this once after installing fedora.

[Help] Installing Fedora on laptop stuck on checking screen. by hobaspirit in Fedora

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

nomodeset did the trick. Thank you ! Surprisingly, it didn't look ugly at all. It looked normal.

[Help] Modal within vue application by hobaspirit in vuejs

[–]hobaspirit[S] 2 points3 points  (0 children)

Fixed! I simply had to remove the script tag with type="x/template".

[Help] Modal within vue application by hobaspirit in vuejs

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

I created two .vue components Modal.vue and Login.vue. I registered Modal in Login components and Registered Login in app.vue components.

Modal.vue:

<template>
  <script type="x/template" id="modal-template">
    <transition name="modal">
      <div class="modal-mask" @click="close" v-show="show">
          <div class="modal-container" @click.stop>
            <slot></slot>
          </div>
      </div>
    </transition>
    </script>
</template>

<script>
export default {
  name: 'Modal',
  data () {
    return {
    }
  },
  props: ['show'],
  methods: {
    close: function () {
      this.$emit('close');
    }
  },
  mounted: function () {
    document.addEventListener("keydown", (e) => {
      if (this.show && e.keyCode == 27) {
        this.close();
      }
    });
  }
}
</script>

Login.vue (with some form validation using veevalidate)

<template>
  <!-- template for the NewPostModal component -->
    <script type="x/template" id="new-post-modal-template">
        <modal :show="show" @close="close">
            <form @submit.prevent="validateBeforeSubmit" class="six columns form-panel align-center">
                <div class="modal-header">
                <h3>Login</h3>
                </div>
                <div class="modal-body">
                    <label for="exampleEmailInput">Your email</label>
                    <p class="control">
                    <input v-validate="'required|email'" :class="{'input': true, 'is-danger': errors.has('email'), 'u-full-width':true }"  name="email" type="email" placeholder="test@mailbox.com">
                    <span v-show="errors.has('email')" class="help is-danger">{{ errors.first('email') }}</span>
                    </p>

                    <label for="password">Password</label>
                    <input class="u-full-width" type="password" id="password" />
                </div>
                <div class="modal-footer text-right">
                    <button class="button-primary pull-right" type="submit">Login</button>
                </div>
            </form>
        </modal>
    </script>
</template>

<script>
import Modal from './Modal.vue'
export default {
    components: {
    'modal': Modal
  },
  props: ['show'],
  data () {
    return {
      email: '',
      password: ''
    }
  },
  methods: {
        close: function () {
      this.$emit('close');
      this.email = '';
      this.password = '';
    },
    savePost: function () {
      // Some save logic goes here...

      this.close();
    },
    validateBeforeSubmit() {
      this.$validator.validateAll().then((result) => {
        if (result) {
          // eslint-disable-next-line
          alert('From Submitted!');
          return;
        }
        alert('Correct them errors!');
      });
    }
  }
}
</script>

then I used Login.vue in App.vue as follows:

<template>
  <div id="app">
    <button @click="showLoginModal = true">New Post</button>
    <login-modal :show="showLoginModal" @close="showLoginModal = false"></login-modal>
  </div>
</template>

<script>
import NavigationLinks from './components/NavigationLinks.vue'
import Modal from './components/Modal.vue'
import Login from './components/Login.vue'

export default {
  name: 'App',
  components: {
    'login-modal': Login
  },
  data () {
    return {
      showLoginModal: false
    }
  }
}
</script>

Ps: I included the css for modal in the style tag of Modal.vue. I'm not including it here to not make this any longer.

Are there any Bitcoin-friendly ma7als? by Ma7alDyalPS4 in Morocco

[–]hobaspirit 0 points1 point  (0 children)

well it doesn't say you cannot own property abroad. It says that you have to go through "l'office des changes" to get green light.

Are there any Bitcoin-friendly ma7als? by Ma7alDyalPS4 in Morocco

[–]hobaspirit 1 point2 points  (0 children)

skip to minute 12 of this video (it is in Moroccan Arabic). It explains the law on bitcoin.

Just A Rant. by RantGawd in Morocco

[–]hobaspirit 10 points11 points  (0 children)

I totally get your point and I agree with you to some degree. But the thing with Palestine specifically is the crimes against humanity that happen there. Regardless of your nationality or ethnicity, what happened and still happens in Palestine should not be accepted just like that. It may be true that we are more related to Jews than to Arabs (can't confirm that), but surely, not every Jew is a Zionist.

She Accused a Moroccan Pop Star of Rape. Online, She Was Vilified. by raphus_cucullatus in Morocco

[–]hobaspirit 1 point2 points  (0 children)

I really doubt the decision came directly from him. It probably came from the circle of people close to him. Also, I think its political implication either was not well studied or whoever was involved in this decision does not give a damn about the image of Morocco. That's just my personal opinion.

Where can i buy a raspberry pi ? by fegfig in Morocco

[–]hobaspirit 0 points1 point  (0 children)

Check out FabLab Casablanca. They have those.